.services-grid > * {
  min-width: 0;
}

.service-card {
  min-width: 0;
}
/* Shield Hood Services Navbar Styles */
:root {
  --primary-color: #7eb7df;
  --secondary-color: #cce6fa;
  --accent-color: #5a9bd4;
  --light-gray: #f8f9fa;
  --dark-gray: #2c3e50;
  --white: #ffffff;
  --black: #000000;
  --text-color: #2c3e50;
  --light-text: #6c757d;
  --border-color: #dee2e6;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
  --transition-standard: all 0.3s ease;
}

body {
  margin: 0;
  font-family: Arial, system-ui, sans-serif;
  background: var(--light-gray);
}

/* Prevent body scrolling when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--secondary-color);
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  height: 120px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: var(--transition-standard);
}

.navbar-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.logo-section {
  justify-content: center;
}

.menu-section {
  flex: 2;
}

.cta-section {
  justify-content: center;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.phone-number {
  color: var(--dark-gray);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: var(--transition-standard);
}

.phone-number:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.navbar-logo img {
  height: 120px;
  margin: 0;
  transition: var(--transition-standard);
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

.navbar-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  justify-content: center;
  flex: 1;
}

.navbar-menu > li {
  position: relative;
}

.navbar-menu > li > a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
  padding: 1rem 2rem;
  border: none;
  background: none;
}

.navbar-menu > li > a:hover,
.navbar-menu > li > a:focus {
  background: rgba(90, 155, 212, 0.12);
  color: var(--accent-color);
  box-shadow: 0 2px 8px rgba(90, 155, 212, 0.12);
  transform: translateY(-2px);
}

.dropdown .dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--white);
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 1;
  top: 100%;
  left: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0.5rem 0;
  border: 1px solid var(--border-color);
  list-style: none;
  transform-origin: top center;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.2s ease;
  pointer-events: none;
}

.dropdown-content li a {
  color: var(--dark-gray);
  padding: 0.75rem 2rem;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: none;
  background: none;
}

.dropdown-content li a:hover,
.dropdown-content li a:focus {
  background: rgba(126, 183, 223, 0.15);
  color: var(--accent-color);
  box-shadow: 0 2px 8px rgba(126, 183, 223, 0.12);
  transform: translateX(5px);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.call-now-btn {
  margin: 0;
  padding: 1rem 2rem;
  background: var(--accent-color);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(90, 155, 212, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.call-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.call-now-btn:hover::before, 
.call-now-btn:focus::before {
  width: 100%;
}

.call-now-btn:hover, 
.call-now-btn:focus {
  color: var(--white);
  box-shadow: 0 4px 12px rgba(90, 155, 212, 0.25);
  transform: translateY(-3px);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
  position: relative;
  margin-right: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--black); /* Changed to black for better visibility */
  transition: var(--transition-standard);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Fallback for browsers that don't support CSS variables */
  height: calc(var(--vh, 1vh) * 100); /* Custom viewport height calculation */
  background: url('../assets/images/hero-image-2.jpg') center/cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - 70px); /* Adjust for fixed navbar on mobile */
    height: calc((var(--vh, 1vh) * 100) - 70px);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, rgba(7, 27, 51, 0.85) 0%, rgba(7, 27, 51, 0.7) 40%, rgba(7, 27, 51, 0.4) 100%);
  z-index: 1;
}

.hero-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  height: 100%;
  justify-content: center;
}

.hero-content {
  color: var(--white);
  padding: 0;
  position: relative;
  margin-top: 1.5rem;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  position: relative;
}

.hero-content h1::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2rem;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.4rem;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-standard);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.hero-button:hover::before, 
.hero-button:focus::before {
  width: 100%;
}

.hero-button:hover, 
.hero-button:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-phone {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  transition: var(--transition-standard);
}

.hero-phone:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  width: 75%;
  max-width: 280px;
  height: auto;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.5s ease, border-color 0.3s ease;
  margin-bottom: 1rem;
}

.hero-logo img:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
  .hero-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
  }

  .hero-content {
    flex: 1.2;
    margin-right: 3rem;
    margin-bottom: 0;
    max-width: 550px;
  }

  .hero-cta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.2rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .hero-logo {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
  }

  .hero-logo img {
    max-width: 320px;
  }
}

@media (min-width: 992px) {
  .hero {
    height: 100vh;
  }

  .hero-container {
    padding: 0 3rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content h1::after {
    width: 100px;
    height: 5px;
  }

  .hero-content p {
    font-size: 1.4rem;
    max-width: 650px;
  }

  .hero-logo img {
    max-width: 350px;
  }
}

@media (min-width: 1200px) {
  .hero-container {
    padding: 0 4rem;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .hero-logo img {
    max-width: 380px;
  }
}

/* Additional breakpoints and responsive adjustments */
@media (max-width: 1199px) {
  .navbar-menu > li > a {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
  }
  
  .call-now-btn {
    font-size: 1.2rem;
    padding: 0.9rem 1.8rem;
  }
}

@media (max-width: 991px) {
  .navbar {
    height: 100px;
  }
  
  .navbar-logo img {
    height: 90px;
  }
  
  .navbar-menu > li > a {
    padding: 0.7rem 1.2rem;
    font-size: 1.1rem;
  }
  
  .call-now-btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px; /* Add padding to account for fixed navbar */
  }
  
  main {
    padding-top: 1rem; /* Additional spacing for main content */
  }
  
  /* Dropdown styling for mobile */
  .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: none;
    background-color: #f8f8f8;
    border-top: 1px solid #eaeaea;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.3s ease;
    opacity: 0;
    padding: 0;
    display: block;
    transform: none;
    pointer-events: none;
  }
  
  .dropdown.open .dropdown-content {
    max-height: 300px;
    opacity: 1;
    padding: 0.5rem 0;
    pointer-events: auto;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-section.menu-section {
    position: fixed;
    top: 70px; /* Height of the navbar */
    left: 0;
    right: 0;
    height: 0;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    z-index: 999;
    visibility: hidden;
  }
  
  .navbar.mobile-open .navbar-section.menu-section {
    height: calc(100vh - 70px);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    opacity: 1;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    visibility: visible;
    display: block;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--secondary-color);
    padding-bottom: 0;
  }
  
  /* Ensure the dropdown menu isn't cut off */
  .dropdown-content {
    max-height: 50vh;
    overflow-y: auto;
  }
  
  .navbar.mobile-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .navbar.mobile-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar.mobile-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .navbar-section {
    width: auto;
    margin-bottom: 0;
  }
  
  .logo-section {
    justify-content: flex-start;
    width: auto;
  }
  
  .cta-section {
    display: none; /* Hide call-to-action on mobile */
  }
  
  .navbar-logo img {
    margin-left: 0;
    height: 50px; /* Smaller logo for mobile header */
  }
  
  .navbar-logo img:hover {
    transform: scale(1.02);
  }
  
  .navbar-menu {
    flex-direction: column;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    padding: 1rem 0;
    min-height: calc(100vh - 70px - 2rem); /* Full height minus navbar and padding */
  }
  
  .navbar-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-menu > li > a {
    width: 100%;
    padding: 1.2rem 1rem; /* Increased for better touch targets */
    font-size: 1.1rem;
    display: block;
    text-align: left;
    color: var(--dark-gray);
  }
  
  .navbar-menu > li > a:hover,
  .navbar-menu > li > a:focus {
    transform: translateY(0);
    background: rgba(90, 155, 212, 0.08);
  }
  
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    transform: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    display: block;
    background-color: var(--secondary-color);
  }
  
  .dropdown.open .dropdown-content {
    opacity: 1;
    max-height: 500px; /* Large enough to fit all content */
  }
  
  .dropdown-content li a {
    padding: 1rem 2rem; /* Increased for better touch targets */
    color: var(--dark-gray);
  }
  
  .dropdown-content li a:hover,
  .dropdown-content li a:focus {
    transform: translateX(3px);
    background: rgba(126, 183, 223, 0.15);
  }
  
  .call-now-btn {
    margin: 1rem 0 0 0;
    width: 100%;
    text-align: center;
    padding: 1.2rem; /* Increased for better touch targets */
    font-size: 1.1rem;
    border-radius: 4px;
  }
  
  .call-now-btn:hover, 
  .call-now-btn:focus {
    transform: translateY(-1px);
  }
  
  .phone-number {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.8rem;
  }
  
  .hero-phone {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .dropdown-content li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .dropdown-content li:last-child {
    border-bottom: none;
  }
  
  .dropdown-content li a {
    padding: 1rem 2rem 1rem 3rem; /* Add left padding for better hierarchy */
    font-size: 1rem;
    color: var(--black);
    background-color: var(--secondary-color);
    position: relative;
  }
  
  .dropdown-content li a::before {
    content: "•";
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
  }

  /* Style for dropbtn to indicate it can be expanded */
  .navbar-menu > li.dropdown > a.dropbtn {
    position: relative;
    padding-right: 2.5rem;
  }

  .navbar-menu > li.dropdown > a.dropbtn::after {
    content: "▼";
    font-size: 0.7rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
  }

  .navbar-menu > li.dropdown.open > a.dropbtn::after {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .navbar {
    padding: 0.3rem 1rem;
  }
  
  .navbar-logo img {
    height: 40px; /* Even smaller logo for very small screens */
  }
  
  .navbar-menu > li > a {
    padding: 1rem 0.8rem;
    font-size: 1rem;
  }
}

/* About Section Styles */
.about-section {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.about-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  width: 100%;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.about-content {
  flex: 1;
  width: 100%;
}

.about-content h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  position: relative;
}

.about-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.about-button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  transition: var(--transition-standard);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.about-button:hover::before, 
.about-button:focus::before {
  width: 100%;
}

.about-button:hover, 
.about-button:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* About section tablet and desktop styles */
@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .about-image, 
  .about-content {
    flex: 1;
  }
  
  .about-content h2 {
    font-size: 2.5rem;
  }
  
  .about-content p {
    font-size: 1.2rem;
  }
}

@media (min-width: 992px) {
  .about-section {
    padding: 6rem 0;
  }
  
  .about-container {
    gap: 5rem;
  }
  
  .about-content h2 {
    font-size: 2.8rem;
  }
  
  .about-content h2::after {
    width: 100px;
  }
}

@media (min-width: 1200px) {
  .about-section {
    padding: 7rem 0;
  }
  
  .about-container {
    gap: 6rem;
  }
}

/* Services Section Styles */
.services-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.services-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--light-text);
  max-width: 600px;
  margin: 1rem auto 0;
}
/* Responsive grid for service cards */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem;
  justify-items: stretch;
  align-items: stretch;
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  margin: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.8rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.service-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: var(--transition-standard);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  z-index: -1;
}

.service-button:hover::before, 
.service-button:focus::before {
  width: 100%;
}

.service-button:hover, 
.service-button:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Services section responsive styles */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .service-card:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .section-header p {
    font-size: 1.3rem;
  }
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
  position: relative;
}

.why-choose-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.6rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Why Choose Us responsive styles */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Video Showcase Section */
.video-showcase-section {
  padding: 6rem 0;
  background-color: var(--light-gray);
}

.video-showcase-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.video-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition-standard);
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition-standard);
  pointer-events: none;
  border-radius: 12px;
}

.video-wrapper:hover .video-overlay {
  opacity: 0.8;
}

.video-wrapper video[data-playing="true"] + .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-instruction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: white;
  text-align: center;
  padding: 1rem;
}

.play-instruction svg {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 1rem;
  transition: var(--transition-standard);
}

.play-instruction:hover svg {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.play-instruction span {
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.video-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-description h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.video-description p {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.video-cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition-standard);
  align-self: flex-start;
}

.video-cta-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Desktop layout for video section */
@media (min-width: 992px) {
  .video-content {
    flex-direction: row;
    align-items: center;
  }
  
  .video-wrapper {
    flex: 3;
  }
  
  .video-description {
    flex: 2;
    padding-left: 3rem;
  }
}

/* CTA Banner Section */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  background: url('../assets/images/hero-image-2.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.cta-banner-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-banner p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.cta-banner-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-standard);
  min-width: 240px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-banner-button svg {
  margin-right: 10px;
}

.phone-button {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Phone button hover styles consolidated in contact section */

.schedule-button {
  background-color: var(--white);
  color: var(--dark-gray);
}

.schedule-button:hover {
  background-color: var(--light-gray);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-card {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}

.contact-card-header svg {
  margin-right: 1rem;
}

.contact-card-header h3 {
  font-size: 1.6rem;
  color: var(--dark-gray);
  margin: 0;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
}

.hours-list li span {
  font-weight: 600;
}

.emergency-hours {
  margin-top: 1rem;
  padding-top: 1rem !important;
  text-align: center;
  font-weight: 600;
  color: var(--accent-color);
  border-bottom: none !important;
}

.map-container {
  margin-top: 1.5rem;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 1.25rem; /* Added spacing between icon and text */
  padding: 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-standard);
  background-color: var(--light-gray);
  box-shadow: var(--shadow);
  color: var(--dark-gray);
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.contact-button:hover svg {
  color: white;
}

.contact-button:hover .phone-number,
.contact-button:hover .email-address {
  color: white;
  opacity: 0.9;
}

.button-content {
  display: flex;
  flex-direction: column;
}

.phone-button:hover {
  background-color: var(--primary-color);
}

.email-button:hover {
  background-color: var(--accent-color);
}

.phone-number, .email-address {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.quick-contact-form {
  background-color: var(--light-gray);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.quick-contact-form h3 {
  font-size: 1.6rem;
  color: var(--dark-gray);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(90, 155, 212, 0.2);
}

.submit-button {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-standard);
}

.submit-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(90, 155, 212, 0.25);
}

/* Responsive styles for CTA Banner and Contact Section */
@media (min-width: 768px) {
  .cta-banner-buttons {
    flex-direction: row;
  }
  
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-buttons {
    flex-direction: row;
  }
  
  .contact-button {
    flex: 1;
  }
}

@media (min-width: 992px) {
  .cta-banner h2 {
    font-size: 3rem;
  }
  
  .cta-banner p {
    font-size: 1.5rem;
  }
  
  .contact-content {
    grid-template-columns: 0.8fr 1.2fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 250px;
  }
}

/* Footer Styles */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-tagline {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition-standard);
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: var(--transition-standard);
  position: relative;
  padding-left: 1rem;
}

.footer-links a:before {
  content: '›';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--primary-color);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 1.3rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  color: var(--light-gray);
}

.footer-contact svg {
  margin-right: 0.8rem;
  min-width: 18px;
  color: var(--primary-color);
}

.footer-contact span {
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-certifications {
  margin-bottom: 1.5rem;
}

.footer-certifications span {
  display: block;
  font-size: 0.9rem;
  color: var(--light-gray);
  margin-bottom: 0.8rem;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cert-badge {
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer responsive styles */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cert-badges {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .footer-certifications {
    margin-bottom: 0;
  }
  
  .footer-certifications span {
    display: inline;
    margin-right: 1rem;
    margin-bottom: 0;
  }
  
  .cert-badges {
    display: inline-flex;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .navbar-menu > li > a.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--white);
  }
  
  .dropdown-content li a.active {
    background-color: rgba(90, 155, 212, 0.3);
    border-left: 4px solid var(--white);
    padding-left: calc(2rem - 4px);
  }
  
  /* Enhanced active states for mobile navigation */
  .navbar {
    background-color: var(--secondary-color); /* Light blue background to match desktop */
  }
  
  .navbar-section.menu-section {
    background-color: var(--secondary-color); /* Light blue background to match desktop */
  }
  
  .navbar-menu > li > a {
    color: var(--black); /* Ensure text is black for readability */
  }
  
  .dropdown-content {
    background-color: var(--secondary-color); /* Lighter blue for dropdown */
  }
  
  .dropdown-content li a {
    color: var(--black); /* Ensure dropdown text is black for readability */
  }
}
