@import "nib";

@font-face {
    font-family: 'Geometr415BlkBT';
    src: url('geometr415-blk-bt-black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next World';
    src: url('AvenirNext-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next WorldB';
    src: url('AvenirNext-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'Arabic';
  src: url('din-next-lt-arabic-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
    --nav-color: #1d91ff;  /* The default color of the main navmenu links */
    --nav-hover-color: #1d91ff; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #ef6603; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }


/* Video Block */
.video-block {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: black; 
}

.video-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
    z-index: 10;
}

.wave svg {
    width: 100%;
    height: 100%;
}

.wave .wave1 {
    animation: move-forever1 4s linear infinite;
    fill: #c2c2c2;
}

.wave .wave2 {
    animation: move-forever2 7s linear infinite;
    fill: #e2e2e2;
}

.wave .wave3 {
    animation: move-forever3 10s linear infinite;
    fill: #fafafa;
}

@keyframes move-forever1 {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

@keyframes move-forever2 {
    0% { transform: translate3d(-70px, 0, 0); }
    100% { transform: translate3d(75px, 0, 0); }
}

@keyframes move-forever3 {
    0% { transform: translate3d(-50px, 0, 0); }
    100% { transform: translate3d(65px, 0, 0); }
}

/* Hide all videos by default */
/* Default styling - hide all videos initially */
#initial-video-desktop, #looping-video-desktop,
#initial-video-mobile, #looping-video-mobile {
    display: none;
}


html {
  scroll-behavior: smooth;
}

/* About Us Section */

.about-us,
.about-us-header,
.about-us-content,
.about-us-feature,
.feature-container,
.feature-image,
.side-image,
.center-image,
.text-section,
.feature {
    display: none;
}

/* Services Section (Window Cleaning) */
.services-section {
  text-align: center;
  padding: 120px 20px 60px;
  background-color: #f7f7f7;
  position: relative;
  z-index: 2;
  margin-top: 40px;
  margin-bottom: 0; /* Remove bottom margin */
}

.services-grid {
  display: grid;          /* keeps your three-column layout */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;            /* space between cards, adjust to taste */
  margin-bottom: 50px;    /* Add bottom margin for spacing */
}

.service-card {
    display: flex;
    flex-direction: column; /* picture on top, text below */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px; /* Add consistent bottom margin */
}

/* Text column */
.service-card .service-content{
    flex: 1;                /* takes up available space */
    display: flex;
    flex-direction: column;
    padding: 20px 20px 25px 20px; /* Increased bottom padding */
    box-sizing: border-box;
    min-height: 0 !important; /* defeats the old min-height coming from styles.css */
    position: relative !important; /* ensure position is relative, not absolute */
    height: auto; /* allow content to determine height */
}

/* Service card heading */
.service-card .service-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #0d233f;
    font-family: 'Avenir Next WorldB', Arial, sans-serif;
}

/* Service card paragraph */
.service-card .service-content p {
    margin: 0 0 20px 0;     /* increased bottom margin for spacing before link */
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    font-family: 'Avenir Next World', Arial, sans-serif;
}

/* Link */
.service-card .service-content .learn-more{
    margin-top: auto;       /* pushes it to the bottom of the text column */
    margin-bottom: 0;       /* removes any bottom margin */
    padding-bottom: 0;      /* removes any bottom padding */
    color: #1d91ff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    position: relative !important; /* override absolute positioning */
    bottom: auto !important;       /* override bottom positioning */
    left: auto !important;         /* override left positioning */
    display: inline-block;         /* proper display for link */
}

/* Service card image styling */
.service-card picture,
.service-card .service-image {
  width: 100%;
  display: block;
}

.service-card .service-image {
  height: 250px;
  object-fit: cover;
}

/* Add arrow spacing */
.service-card .learn-more span {
  display: inline-block;
  margin-left: 5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 5%; /* Add horizontal padding of 5% on each side */
    }
    
    .service-card {
        width: 90%; /* Reduce width to 90% */
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card .service-content {
        padding: 15px;
    }
    
    .service-card .service-content h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .service-card .service-content p {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .service-card .service-content .learn-more {
        font-size: 16px;
    }
    
    /* Navbar adjustments */
    .custom-nav-link {
        font-size: 1.05rem !important; /* Slightly larger font size */
        padding: 0.4rem 0.6rem !important; /* Added horizontal padding */
        font-weight: 600 !important;
        letter-spacing: 0.02em !important;
    }
    
    .custom-nav-links {
        gap: 0.6rem !important; /* Slightly reduced gap between nav items */
        padding-right: 0.5rem !important; /* Add a bit of right padding */
    }
    
    .custom-navbar {
        padding: 0.6rem 1rem !important; /* Adjusted navbar padding */
    }
    
    .mobile-brand {
        gap: 8px !important; /* Reduce gap between logo and text */
    }
    
    .brand-name {
        font-size: 1.4rem !important; /* Slightly adjusted brand name size */
    }
    
    /* Service card image styling for mobile */
    .service-card .service-image {
        width: 100%;
        height: 200px; /* Slightly reduced height for mobile */
        object-fit: cover;
    }
    
    /* Ensure images don't overflow */
    .service-card picture {
        width: 100%;
        display: block;
        overflow: hidden;
    }
}

/* FAQ Section */
.faq-section {
  background-color: #ffffff;
  padding: 40px 20px 60px; /* Adjust top padding */
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.accordion__wrapper {
  background-color: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: 2.5rem;
  width: 100%;
  max-width: 60rem;
  padding: 5rem;
  margin: 0 auto;
  position: relative;
}

.accordion__title {
    font-family: 'Avenir Next World', Arial, sans-serif;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-title);
    text-align: center;
  margin-bottom: 4rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .services-section {
    padding: 30px 0; /* Remove horizontal padding */
    margin-top: -30px;
  }
  
  .faq-section {
    padding: 30px 15px 50px;
    margin-top: 0;
  }
  
  .services-heading {
    font-size: 36px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .services-description {
    font-size: 18px;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .accordion__wrapper {
    padding: 3rem;
    border-radius: 1.5rem;
  }

  .accordion__title {
    font-size: calc(var(--fs-lg) * 0.8);
    margin-bottom: 2rem;
  }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-section {
    padding: 110px 20px 50px;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .faq-section {
    padding: 35px 20px 60px;
    margin-top: 0;
  }

  .services-heading {
    padding-top: 35px;
    font-size: 42px;
  }

  .accordion__wrapper {
    padding: 4rem;
  }
}

.services-heading {
  font-size: 48px;
  color: #0d233f;
  margin-bottom: 30px;
  padding-top: 40px;
  font-family: 'Avenir Next World', Arial, sans-serif;
  position: relative;
  z-index: 3;
}

.services-description {
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 20px;
  color: #444;
  font-family: 'Avenir Next World', Arial, sans-serif;
  line-height: 1.6;
  padding: 0 20px;
}

.service-card img {
  max-width: 100%;
  border-radius: 8px;
  height: 60%;
  width: 100%;
}

.service-card h3 {
  font-size: 24px;
  margin: 15px 0 10px;
  color: #0d233f;
  
}

.service-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.learn-more {
  opacity: 1 !important;
  animation: none !important;
  display: inline-block !important;
  color: #0d233f;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s;
  position: relative;
  z-index: 5;
  visibility: visible !important;
}

.learn-more:hover {
  color: #39b54a;
}

.container-custom {
  position: relative;
  background: #FAFAFA;
}

.wave-custom {
  position: absolute;
  height: 70px;
  width: 100%;
  background: #FAFAFA;
  bottom: 0;
}

.wave-custom::before, .wave-custom::after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 100% 50%;
}

.wave-custom::before {
  width: 55%;
  height: 109%;
  background-color: #f6c453;
  right: -1.5%;
  top: 60%;
}
.wave-custom::after {
  width: 55%;
  height: 100%;
  background-color: #FAFAFA;
  left: -1.5%;
  top: 40%;
}

.mission-statement-section {
  font-family: 'arabic', sans-serif; 
  background-color: #f6c453;
  padding: 60px 20px; /* Increased padding for more spacing */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left; 
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); /* Subtle box shadow */
}

.mission-statement-heading {
  font-family: 'arabic', sans-serif; 
  font-size: 42px; /* Slightly increased font size */
  font-weight: bold; /* Added boldness */
  margin-bottom: 30px; /* Increased margin for better spacing */
  text-align: center; 
  color: #333; /* Changed to a slightly darker color for better contrast */
}

.mission-statement-list {
  font-family: 'arabic', sans-serif; 
  list-style-type: none; 
  padding: 0;
  max-width: 800px; 
  margin-bottom: 30px; /* Added bottom margin for spacing between text and logos */
}

.mission-statement-list li {
  font-family: 'arabic', sans-serif; 
  font-size: 20px; 
  margin-bottom: 20px; /* Increased margin for better spacing */
  position: relative;
  padding-left: 25px; /* Increased padding for the bullet */
  text-align: left; 
  line-height: 1.6; /* Improved readability */
}

.mission-statement-list li::before {
  content: "–"; 
  position: absolute;
  left: 0;
  top: 0;
  font-size: 26px; 
  color: #333; 
}


* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Fira Sans', sans-serif;
}

.why-us-header {
  font-family: 'Satoshi', sans-serif;
  font-size: 3rem;
  color: #333;
  text-align: center;
  margin-top: -25px;
  margin-bottom: 20px;
}

.section-contact {
  background-image: linear-gradient(175deg, #EEE 50%, #2c98ff 50%, #9B75D7);
  min-height: 100vh;
  padding-top: 40px;
  position: relative;
}

.section-contact .container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-contact .container h1 {
  color: #333;
  font-size: 32px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.section-contact .container p {
  color: #555;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 40px;
  text-align: center;
  max-width: 700px;
  position: relative;
  z-index: 5;
}

.section-contact .container form {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  background-color: #FFF;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .section-contact .container form {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px;
  }
  
  .section-contact .container h1 {
    font-size: 36px;
    margin-top: 40px;
  }
  
  .section-contact .container p {
    font-size: 20px;
    margin-bottom: 50px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .section-contact .container {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 30px;
  }

  .section-contact .container h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
  }

  .section-contact .container p {
    margin-top: 0;
    margin-bottom: 30px;
    width: 100%;
    font-size: 16px;
  }

  .section-contact .container form {
    width: 100%;
    margin: 0 auto;
    padding: 25px;
  }
}

/* Fix specific device heights */
@media (min-height: 800px) and (max-height: 900px) {
  .section-contact .container h1 {
    margin-top: 20px;
  }
  
  .section-contact .container p {
    margin-top: 0;
    margin-bottom: 30px;
  }
  
  .section-contact .container form {
    margin-top: 0;
  }
}

@media (min-height: 900px) and (max-height: 1050px) {
  .section-contact .container h1 {
    margin-top: 30px;
  }
  
  .section-contact .container p {
    margin-top: 0;
    margin-bottom: 40px;
  }
  
  .section-contact .container form {
    margin-top: 0;
  }
}

/*# sourceMappingURL=main.css.map */


body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-image: url("AdobeStock_780832361.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  body::-webkit-scrollbar {
    display: none;
  }
  
  .custom-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly more opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 2rem; /* More horizontal padding */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 70px; /* Slightly taller navbar */
    transition: opacity 0.5s ease;
    z-index: 1000;
  }
  
  .custom-nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    justify-content: flex-end; /* Align items to the right */
    gap: 40px; /* Add consistent spacing between nav items */
  }
  
  .custom-nav-left,
  .custom-nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .custom-nav-left {
    justify-content: flex-end;
  }
  
  .custom-nav-right {
    justify-content: flex-start;
  }
  
  .custom-nav-item {
    margin: 0;
    padding: 0;
  }
  
  .custom-nav-link {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1.4rem;
    white-space: nowrap;
    position: relative;
    padding: 8px 0;
  }
  
  /* Add underline effect on hover */
  .custom-nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1d91ff;
    transition: width 0.3s ease;
  }
  
  .custom-nav-link:hover::after,
  .custom-nav-link.active::after {
    width: 100%;
  }
  
  .custom-nav-link:hover,
  .custom-nav-link.active {
    color: #1d91ff;
  }

  /* Mobile styles */
  @media screen and (max-width: 768px) {
    .custom-navbar {
        padding: 0.8rem 1.4rem; /* Slightly increased padding */
        min-height: 15px; /* Slightly taller navbar for better touch targets */
    }
    
    .mobile-brand {
        display: flex;
    }
    
    .custom-nav-links {
        gap: 30px; /* Increased gap between links */
    }
    
    .custom-nav-link {
        font-size: 3rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        padding: 6px 0; /* Increased padding for better touch targets */
    }

    /* Ensure brand name stays proportional */
    .brand-name {
        font-size: 1.6rem; /* Slightly larger to match new nav size */
    }

    .custom-nav-item {
        margin: 0;
        padding: 4px 0; /* Add some vertical padding */
    }
  }
  
  .custom-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    }
  
    .custom-logo img {
      width: 100%;
    }
  
  /* Fix for custom section - remove invalid CSS */
  .custom-section {
    padding-top: 120px;
  }

  /* Additional rule for screens below 575px */
  @media (max-width: 575px) {
    .features .nav-link {
      padding: 15px;
    }
  
    .features .nav-link i {
      font-size: 24px;
    }
  }
  
  
  @media (max-width: 480px) {
    .custom-navbar {
      padding: 0.25rem;
    }
    .custom-nav-links {
      flex-wrap: wrap;
    }
    .custom-nav-link {
      font-size: 0.9rem;
    }
    .custom-logo {
      width: 50px;
    }
    .custom-section h1,
    .custom-section h2 {
      font-size: 1.8em;
    }
    .custom-section p {
      font-size: 0.9em;
    }
  }
  
  @media (max-width: 360px) {
    .custom-nav-item {
      margin: 0.15rem 0.25rem;
    }
    .custom-nav-link {
      font-size: 0.8rem;
    }
    .custom-section h1,
    .custom-section h2 {
      font-size: 1.6em;
    }
    .custom-section p {
      font-size: 0.8em;
    }
  }
  
  /* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.services-grid .service-card {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.services-grid .service-card:nth-child(odd) {
  animation: slideInFromLeft 1s ease-out forwards;
}

.services-grid .service-card:nth-child(even) {
  animation: slideInFromRight 1s ease-out forwards;
}



.service-card h3, .service-card p {
  opacity: 1 !important;
  animation: none !important;
}

.service-card h3 {
  animation-delay: 0.3s;
}

.service-card p {
  animation-delay: 0.6s;
}

/* Animation on hover */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Delay animations */
.services-grid .service-card:nth-child(1) {
  animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(2) {
  animation-delay: 0.6s;
}

.services-grid .service-card:nth-child(3) {
  animation-delay: 0.9s;
}

.services-grid .service-card:nth-child(4) {
  animation-delay: 1.2s;
}

.learn-more {
  opacity: 1 !important;
  animation: none !important;
  display: inline-block !important;
  color: #0d233f;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s;
  position: relative;
  z-index: 5;
  visibility: visible !important;
}

.learn-more:hover {
  color: #39b54a;
}

.service-card.modern-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: visible !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  height: auto;
  padding: 0;
}

.service-card.modern-card .service-content {
  position: relative;
  padding: 20px 20px 50px 20px;
  min-height: 200px;
  box-sizing: border-box;
}

.service-card.modern-card h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  color: #0d233f;
  font-family: 'Avenir Next WorldB', Arial, sans-serif;
}

.service-card.modern-card p {
  margin: 0;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  font-family: 'Avenir Next World', Arial, sans-serif;
}

.service-card.modern-card .learn-more {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-block !important;
  font-size: 18px;
  padding: 0;
  font-weight: bold;
  color: #1d91ff;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .service-card.modern-card {
    margin-bottom: 25px;
    padding: 0;
  }
  
  .service-card.modern-card .service-content {
    padding: 15px 15px 45px 15px;
    min-height: 180px;
  }
  
  .service-card.modern-card h3 {
    font-size: 20px;
    margin: 0 0 12px 0;
  }
  
  .service-card.modern-card p {
    font-size: 15px;
    margin: 0;
  }
  
  .service-card.modern-card .learn-more {
    bottom: 15px;
    left: 15px;
    font-size: 16px;
  }
}

.service-card.modern-card .service-content .learn-more-container {
  margin-top: 15px !important;
  padding: 0 !important;
}

/* Mobile adjustments with even higher specificity */
@media (max-width: 768px) {
  .service-card.modern-card {
    min-height: 550px !important; /* Increase minimum height on mobile */
    margin-bottom: 60px !important; /* More bottom margin on mobile */
    padding-bottom: 70px !important; /* More bottom padding on mobile */
  }
  
  .service-card.modern-card .service-content {
    padding-bottom: 70px !important; /* More bottom padding on mobile */
  }
  
  .service-card.modern-card .service-content .learn-more-container {
    margin-top: 15px !important;
  }
}

:root{

  /* Colors */
  --color-primary: #FF4B4B;
  --color-text: #545d7a;
  --color-white: #fff;
  --color-title: #242e4c;
  --color-background: #f7f8fb;
  --color-border: #dae1f5;
  
  /* Fonts */
  font-family: 'arabic', sans-serif; 
  --fs-sm: 1.4rem;
  --fs-md: 1.6rem;
  --fs-lg: 2.2rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  
  /* Transition & Box Shadow */
  --transition: 0.4s ease-in-out; 
  --shadow: 0px 60px 56px -12px rgba(9, 40, 163, 0.05); 
  
  }
  
  html {
      font-size: 62.5%;
  }
  
  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      /* box-sizing: content-box; */
  }

  
  .container{ 
    font-family: 'arabic', sans-serif; 
      width: 100%;
      margin: auto;
      min-height: 100vh;
      padding: 2rem;
      display: grid;
      place-items: center;
  }
  
  .accordion__wrapper {
    background-image: url('path/to/your/background-image.jpg');
    font-family: 'arabic', sans-serif; 
      background-color: var(--color-white);
      box-shadow: var(--shadow);
      border-radius: 2.5rem;
      width: 100%;
      max-width: 60rem;
      padding: 5rem;
  }
  
  .accordion__title{
    font-family: 'Avenir Next World', Arial, sans-serif;
      font-size: var(--fs-lg);
      font-weight: var(--fw-bold);
      color: var(--color-title);
      text-align: center;
      margin-bottom: 4rem;
  }
  
  
  .accordion {
    font-family: 'Avenir Next World', Arial, sans-serif;
      border-bottom: 0.1rem solid var(--color-border);
      padding-bottom: 2rem;
      margin-bottom: 3rem;
  }
  
  .accordion__header {
    font-family: 'Avenir Next World', Arial, sans-serif;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      cursor: pointer;
  } 
  
  .accordion__icon {
      background-color: #1d91ff;
      width: 2.2rem;
      height: 2.2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      color: var(--color-white);
      flex-shrink: 0;
  }
  
  .accordion__question{
    font-family: 'Avenir Next World', Arial, sans-serif;
      font-size: var(--fs-md);
      font-weight: var(--fw-medium);
      color: var(--color-title);
  }
  
  .accordion__answer{
    font-family: 'Avenir Next World', Arial, sans-serif;
      padding: 2rem 0;
      font-size: 1.35rem;
  }
  
  .accordion__content{
      overflow: hidden;
      height: 0;
      transition: var(--transition);
  }
  
  @media screen and (min-width: 580px) {
      .accordion__wrapper {
          padding: 5rem 8rem;
      }
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  :root {
    --primary: #f5f5f5;
    --text: #3b3b3b;
  }

  .wrapper {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1rem;
    
  }
  .testimonial__card {
    position: relative;
    background: var(--primary);
    padding: 64px 0;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 48px;
    margin-top: 78px;
    margin-bottom: 78px; /* Add margin-bottom to increase space */
    width: 100%;
}


.customer__quotes {
    font-size: 48px;
    line-height: 56px;
    font-weight: 500;
    max-width: 820px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto; /* Center within its parent */
}

.customer__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  position: absolute;
  top: -48px;
  left: 50%; /* Position the avatar at the horizontal center */
  transform: translateX(-50%); /* Adjust for the width of the avatar */
  object-fit: cover; /* Ensures the image covers the container without stretching */
  background-color: #ffffff; /* Sets the background color in case the image has transparent areas */
}

  .customer__name {
    font-size: 28px;
    line-height: 36px;
    margin-top: 40px;
  }
  .customer__role {
    font-size: 18px;
    opacity: 0.8;
  }
  .btn__group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
  }

  .btn__prev:hover svg path,
.btn__next:hover svg path {
    stroke: #1d91ff; /* Change the stroke color to blue when hovered */
}

.btn__prev svg path,
.btn__next svg path {
    transition: stroke 0.3s ease; /* Smooth transition for hover effect */
}

@media (max-width: 768px) {
  /* Reduce font size for the quotes */
  .customer__quotes {
      font-size: 32px;
      line-height: 40px;
      padding: 0 20px;
  }

  .customer__role {
    font-size: 15px;
  }

  .btn__prev:active svg path,
    .btn__next:active svg path {
        stroke: blue; /* Change the stroke color to blue upon tap */
    }

    /* Optional: Also apply hover behavior for touch devices */
    .btn__prev:hover svg path,
    .btn__next:hover svg path {
        stroke: blue; /* Change stroke color to blue when hovered/tapped */
    }

    .btn__prev,
    .btn__next {
        transition: stroke 0.3s ease; /* Smooth transition for the color change */
    }

    .hide-mobile {
      display: none; /* Hide this element on mobile */
  }
}

@media (max-width: 1176px) {
  .services-grid {
      display: flex;
      flex-direction: column;
      gap: 20px; /* Adjust gap between cards */
      align-items: center; /* Center align cards */
  }
  
  .services-heading {
    font-size: 36px;
    margin-bottom: 7.5% !important;
    margin-top: -10% !important;

  }

  /* Subheader (P) Styles for Small Screens */
  .services-description {
    font-size: 18px;
    margin: 0 auto 20px;
    line-height: 1.4;
    padding: 0 15px;
    margin-bottom: 10% !important;
  }
}

@media (min-width: 1176px) and (max-width: 1746px) {
  .services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 90%;
    margin: 0 auto;
  }

  .service-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-sizing: border-box;
  }
}

/* Mobile Phone Banner */
.mobile-phone-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #1d91ff;
    padding: 7.5px;
    text-align: center;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.phone-link i {
    font-size: 1.3rem;
}

/* Show phone banner only on mobile */
@media (max-width: 768px) {
    .mobile-phone-banner {
        display: block;
        top: 65px;
    }
    
    /* Adjust video block margin */
    .video-block {
        margin-top: 95px;
    }
}

/* Mobile Brand Styles */
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 15px;
}

.brand-name {
    font-family: 'Avenir Next WorldB', Arial, sans-serif;
    font-size: 1.5rem;
    color: #1d91ff;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.hide-on-mobile {
    display: block;
}

/* Mobile Navigation Styles */
@media screen and (max-width: 768px) {
    .custom-navbar {
        padding: 0.75rem 1rem;
        height: 65px;
    }

    .mobile-phone-banner {
        display: block;
        top: 65px;
    }

    .video-block {
        margin-top: 95px;
    }

    .mobile-brand {
        display: flex;
    }

    .hide-on-mobile {
        display: none;
    }

    .custom-nav-links {
        justify-content: flex-end;
        padding-right: 15px;
    }

    .custom-nav-left, 
    .custom-nav-right {
        gap: 20px;
        justify-content: flex-end;
    }

    .custom-nav-item {
        margin: 0;
    }

    .custom-nav-link {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 30px 0; /* Remove horizontal padding */
        margin-top: -30px;
    }

    .services-heading {
        font-size: 36px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .services-description {
        font-size: 18px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .services-grid {
        padding: 0;
        width: 100%;
    }

    .service-card {
        width: auto;
        max-width: none;
        margin-bottom: 40px; /* Increased from 30px */
        border-radius: 8px;
        overflow: visible !important; /* Ensure content isn't cut off */
        padding-bottom: 20px; /* Added padding for mobile */
    }
    
    /* Fix service cards on mobile */
    .service-card.modern-card {
        width: auto; /* Full width instead of 125% */
        margin-left: 0; /* Remove negative margin */
        border-radius: 8px; /* Restore border radius */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: visible !important; /* Ensure content isn't cut off */
        padding-bottom: 30px; /* Increased from 15px */
        margin-bottom: 25px; /* Added more bottom margin */
    }
    
    /* Adjust hover effect */
    .service-card.modern-card:hover {
        transform: translateY(-5px); /* Just add vertical lift on hover */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* Adjust image to match card */
    .service-card.modern-card .service-image {
        width: 100%;
        height: 180px; /* Slightly taller image on mobile */
        object-fit: cover;
        object-position: center;
    }
    
    /* Adjust content padding to ensure buttons are visible */
    .service-card.modern-card .service-content {
        padding: 20px;
        position: relative;
        overflow: visible !important; /* Ensure content isn't cut off */
        padding-bottom: 30px; /* Added more padding */
    }
    
    /* Adjust text elements for better readability */
    .service-card.modern-card h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .service-card.modern-card p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px; /* Increased from 15px */
    }
    
    .service-card.modern-card .learn-more {
        font-size: 16px;
        padding: 5px 0;
        display: inline-block !important; /* Force display */
        margin-top: 5px;
        width: auto; /* Ensure links are sized by content */
        opacity: 1 !important; /* Force visibility */
        animation: none !important; /* Disable animation that might be hiding it */
        position: relative;
        z-index: 5; /* Ensure it's above other elements */
        visibility: visible !important; /* Force visibility */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        gap: 20px;
    }

    .service-card {
        width: calc(50% - 10px);
    }
}

/* Add a clearfix to ensure proper section separation */
.services-section::after {
  content: '';
  display: block;
  clear: both;
  height: 0; /* Remove the height */
}

/* Trusted By Section */
.trusted-by-section {
  background-color: rgba(249, 249, 249, 0.97);
  padding: 40px 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 120px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* Add top wave transition */
.trusted-by-section::before {
  content: '';
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  z-index: 5;
}

/* Add bottom wave transition */
.trusted-by-section::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 5;
}

.trusted-by-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  z-index: 10; /* Ensure content is above waves */
}

.trusted-by-title {
  text-align: center;
  font-family: 'Avenir Next World', Arial, sans-serif;
  font-size: 16px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  position: relative;
}

.trusted-by-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #1d91ff;
  border-radius: 2px;
}

.trusted-by-logos {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
  padding: 10px 0;
}

/* Left and right fade effect */
.trusted-by-logos-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.trusted-by-logos-container::before,
.trusted-by-logos-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 15;
  pointer-events: none;
}

.trusted-by-logos-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(249, 249, 249, 0.97) 0%, rgba(249, 249, 249, 0) 100%);
}

.trusted-by-logos-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(249, 249, 249, 0.97) 0%, rgba(249, 249, 249, 0) 100%);
}

.trusted-by-logo {
  flex: 0 0 auto;
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  background-color: rgba(249, 249, 249, 0.97); /* Match container background */
  padding: 5px 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.trusted-by-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.97); /* Slightly lighter on hover */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .trusted-by-section {
    padding: 30px 0;
    min-height: 100px;
  }

  .trusted-by-section::before,
  .trusted-by-section::after {
    height: 25px;
  }

  .trusted-by-container {
    padding: 0 30px;
  }

  .trusted-by-logos {
    gap: 40px;
  }

  .trusted-by-logo {
    height: 40px;
    max-width: 140px;
  }
}

.section-contact .container form .form-group.full {
  grid-column: 1 / -1;
}

.section-contact .container form .form-group label {
  display: block;
  color: #555;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 500;
}

.section-contact .container form .form-group .form-element {
  appearance: none;
  outline: none;
  border: 1px solid #e0e0e0;
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 12px 15px;
  background-color: #F8F8F8;
  transition: all 0.3s ease;
  font-size: 16px;
}

.section-contact .container form .form-group .form-element:focus {
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
  background-color: #FFF;
  border-color: #2c98ff;
}

.section-contact .container form .form-group textarea {
  resize: none;
  min-height: 120px;
}

.section-contact .container form .submit-group {
  grid-column: 1 / -1;
  text-align: right;
  margin-top: 10px;
}

.section-contact .container form .submit-group input[type="submit"] {
  appearance: none;
  border: none;
  outline: none;
  background: none;
  padding: 12px 25px;
  background-color: #2c98ff;
  border-radius: 8px;
  color: #FFF;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-contact .container form .submit-group input[type="submit"]:hover {
  background-color: #1d7fd8;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile Footer Section */
.mobile-footer {
  background: linear-gradient(to bottom, #0f3457 0%, #0d2c47 100%) !important;
  color: #ffffff !important;
  padding: 35px 20px 20px !important;
  font-family: 'Avenir Next', Arial, sans-serif !important;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  width: 100% !important;
  z-index: 10 !important;
}

.footer-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 30px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.footer-main-content {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
}

.footer-contact, 
.footer-services {
  flex: 1 !important;
  min-width: 200px !important;
}

.footer-logo {
  text-align: center !important;
}

.footer-logo img {
  max-width: 150px !important;
  height: auto !important;
  margin-bottom: 10px !important;
  filter: brightness(1.2) contrast(0.9) !important; /* Make the logo more visible against dark background */
  background-color: rgba(255, 255, 255, 0.1) !important; /* Add slight background for logo visibility */
  padding: 8px !important;
  border-radius: 8px !important;
}

.footer-contact h3,
.footer-services h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  position: relative !important;
  padding-bottom: 8px !important;
  color: #ffffff !important;
}

.footer-contact h3::after,
.footer-services h3::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 40px !important;
  height: 2px !important;
  background-color: #1d91ff !important;
}

.footer-link {
  display: flex !important;
  align-items: center !important;
  color: #e0e0e0 !important;
  text-decoration: none !important;
  margin-bottom: 10px !important;
  transition: color 0.3s ease !important;
}

.footer-link i {
  margin-right: 8px !important;
  font-size: 16px !important;
}

.footer-link:hover {
  color: #1d91ff !important;
}

.footer-address {
  display: flex !important;
  align-items: flex-start !important;
  margin-bottom: 10px !important;
  color: #e0e0e0 !important;
  line-height: 1.4 !important;
}

.footer-address i {
  margin-right: 8px !important;
  font-size: 16px !important;
  margin-top: 3px !important;
}

.footer-services ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-bottom {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #ffffff !important;
}

.footer-links {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
  margin-top: 10px !important;
}

.footer-links .footer-link {
  margin-bottom: 0 !important;
  font-size: 14px !important;
}

/* Override any conflicting background styles */
.mobile-footer * {
  background-color: transparent !important;
}

/* Tablet and Desktop Responsive Footer */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }
  
  .footer-logo {
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  
  .footer-main-content {
    flex: 1 !important;
  }
}

@media (min-width: 992px) {
  .footer-logo {
    width: auto !important;
    flex: 1 !important;
    text-align: left !important;
    margin-bottom: 0 !important;
  }
  
  .footer-main-content {
    flex: 2 !important;
  }
}

/* Mobile optimizations for footer */
@media (max-width: 767px) {
  .mobile-footer {
    padding: 20px 15px 15px !important;
    background: linear-gradient(to bottom, #0f3457 0%, #0d2c47 100%) !important;
  }
  
  .footer-container {
    gap: 15px !important;
  }
  
  .footer-main-content {
    gap: 10px !important;
  }
  
  .footer-logo {
    margin-bottom: 0 !important;
  }
  
  .footer-logo img {
    max-width: 110px !important;
    margin-bottom: 0 !important;
    padding: 6px !important;
    border-radius: 6px !important;
  }
  
  .footer-contact h3,
  .footer-services h3 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
    color: #ffffff !important;
  }
  
  .footer-link, .footer-address {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    color: #e0e0e0 !important;
  }
  
  .footer-link i, .footer-address i {
    font-size: 14px !important;
    margin-right: 6px !important;
  }
  
  .footer-contact, 
  .footer-services {
    min-width: 0 !important;
    flex-basis: calc(50% - 5px) !important;
  }
  
  .footer-bottom {
    margin-top: 12px !important;
    padding-top: 10px !important;
    font-size: 11px !important;
    color: #ffffff !important;
  }
  
  .footer-links {
    gap: 10px !important;
    margin-top: 5px !important;
  }
  
  .footer-links .footer-link {
    font-size: 11px !important;
    color: #e0e0e0 !important;
  }
}

/* Add styles for testimonial footer and get-quote-link to prevent them being cut off */
.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-bottom: 10px; /* Add padding to prevent cut-off */
    width: 100%;
}

.get-quote-link {
    color: #1d91ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    padding-bottom: 5px; /* Add padding to prevent cut-off */
    margin-bottom: 5px; /* Add margin to prevent cut-off */
}

.get-quote-link:hover {
    color: #0d6efd;
    transform: translateX(3px);
}

.get-quote-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.get-quote-link:hover span {
    transform: translateX(3px);
}

/* Fix for "Request a FREE quote now" section to prevent cut-off */
.section-contact {
    padding-bottom: 50px; /* Ensure enough padding at the bottom */
}

.section-contact .container h1 {
    margin-bottom: 20px; /* Ensure proper spacing below heading */
    padding-bottom: 5px; /* Add padding to prevent cut-off */
}

@media (max-width: 768px) {
    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 15px; /* More padding on mobile */
    }
    
    .get-quote-link {
        margin-bottom: 10px; /* More margin on mobile */
    }
    
    .section-contact {
        padding-bottom: 60px; /* More padding on mobile */
    }
}

/* Final fix for service cards - these rules will override all previous ones */
.services-section .services-grid .service-card.modern-card {
  height: auto !important;
  min-height: 500px !important; /* Force minimum height */
  margin-bottom: 50px !important; /* Substantial bottom margin */
  padding-bottom: 60px !important; /* Extra padding at bottom */
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.services-section .services-grid .service-card.modern-card .service-content {
  padding: 20px !important;
  padding-bottom: 60px !important; /* Extra generous padding */
  position: relative !important;
  overflow: visible !important;
  flex: 1 !important; /* Take up remaining space */
  display: flex !important;
  flex-direction: column !important;
}

.services-section .services-grid .service-card.modern-card .service-content p {
  margin-bottom: 30px !important; /* Ensure space for link */
}

.services-section .services-grid .service-card.modern-card .service-content .learn-more-container {
  margin-top: 15px !important;
  padding: 0 !important;
}

/* Mobile adjustments with even higher specificity */
@media (max-width: 768px) {
  .services-section .services-grid .service-card.modern-card {
    min-height: 550px !important; /* Increase minimum height on mobile */
    margin-bottom: 60px !important; /* More bottom margin on mobile */
    padding-bottom: 70px !important; /* More bottom padding on mobile */
  }
  
  .services-section .services-grid .service-card.modern-card .service-content {
    padding-bottom: 70px !important; /* More bottom padding on mobile */
  }
  
  .services-section .services-grid .service-card.modern-card .service-content .learn-more-container {
    margin-top: 15px !important;
  }
}

/* Mobile adjustments for service cards */
@media (max-width: 768px) {
  .service-card.modern-card {
    width: 100%;
    min-height: auto;
    margin-bottom: 30px;
    padding-bottom: 0;
  }
  
  .service-card.modern-card .service-content {
    padding: 15px;
    min-height: auto;
  }
  
  .service-card.modern-card .service-content .learn-more-container {
    margin-top: 15px;
  }
}

/* More aggressive mobile styles with higher specificity */
@media only screen and (max-width: 768px) {
    /* Service cards on mobile */
    .services-section .services-grid {
        padding: 0 5% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .services-section .service-card {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 90% !important;
        box-sizing: border-box !important;
    }
    
    /* Force images to correct size */
    .services-section .service-card picture,
    .services-section .service-card .service-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* Specific navbar adjustments */
    html body .fixed-header .custom-navbar .custom-nav-links {
        gap: 0.6rem !important;
        padding-right: 0.5rem !important;
    }
    
    html body .fixed-header .custom-navbar .custom-nav-links .custom-nav-item .custom-nav-link {
        font-size: 1.05rem !important;
        padding: 0.4rem 0.6rem !important;
        font-weight: 600 !important;
    }
    
    html body .fixed-header .custom-navbar {
        padding: 0.6rem 1rem !important;
    }
    
    html body .fixed-header .custom-navbar .mobile-brand {
        gap: 8px !important;
    }
    
    html body .fixed-header .custom-navbar .mobile-brand .brand-name {
        font-size: 1.4rem !important;
    }
}

/* Desktop-only fixes - won't affect mobile */
@media only screen and (min-width: 769px) {
    /* Fix navbar overlaying blue banner */
    .fixed-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1002 !important; /* Even higher z-index */
        background: white !important; /* Ensure solid background */
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }
    
    .custom-navbar {
        box-shadow: none !important; /* Remove navbar shadow to prevent visual conflicts */
        z-index: inherit !important;
    }
    
    .blue-banner {
        position: fixed !important;
        top: 65px !important; /* Position exactly below navbar */
        left: 0 !important;
        width: 100% !important;
        z-index: 990 !important; /* Even lower z-index than navbar */
        height: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #1d91ff !important;
        color: white !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    
    /* Ensure body has proper padding to account for fixed elements */
    body {
        padding-top: 95px !important; /* 65px navbar + 30px banner */
    }
    
    /* Center service cards on desktop */
    .services-section {
        padding: 60px 0 !important;
    }
    
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(300px, 1fr)) !important;
        gap: 2.5rem !important;
        width: 90% !important;
        max-width: 1200px !important;
        margin: 0 auto 50px auto !important; /* Center the grid with bottom margin */
        justify-content: center !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Service card specific styling for desktop */
    .service-card {
        width: 100% !important; /* Take full width of grid cell */
        max-width: 100% !important;
        margin: 0 !important; /* Remove any existing margins */
        height: auto !important;
    }
}

