/* ===== Design Tokens: Light Mode Locked, Brand-Aligned ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-light: #f9f9f9;
  --color-border: #eee;
  --color-border-dark: #ddd;
  --color-border-footer: #222;
  --color-text: #333333;
  --color-text-muted: #555555;
  --color-text-light: #bbbbbb;
  --color-primary: #2200ff;
  --color-primary-hover: #e05d00;
  --color-accent: #38a93e;
  --color-footer-bg: #0F0C29;
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
.top-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        background-color: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        min-height: 60px;
      }

      .logo img {
        max-width: 300px;
        height: auto;
      }

      .contact-sections {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        height: 100%;
      }

      .calls, .emails, .socials {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1rem;
        color: var(--color-text);
      }

      .call, .email, .social-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .call i, .email i, .social-link i {
        font-size: 1.25rem;
        min-width: 1.5rem;
        text-align: center;
        color: var(--color-primary); /* Blue icons */
      }

      /* Vertical Separator */
      .separator {
        width: 2px;
        height: 60px;
        background-color: var(--color-primary); /* Orange like Windand */
        margin: 0 1rem;
      }

      /* Social Icons in Circles */
      .socials {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
      }

      .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid var(--color-border-dark);
        background-color: var(--color-bg);
        color: var(--color-primary);
        transition: all 0.2s ease;
      }

      .social-link:hover {
        background-color: var(--color-bg-light);
        transform: scale(1.1);
      }
.bottom-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 2rem;
        background-color: var(--color-bg);
        border-top: 1px solid var(--color-border);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      }

      .front-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 2rem;
        align-items: center;
      }

      .front-nav li {
        position: relative;
        margin: 0;
      }

      .front-nav a {
        text-decoration: none;
        color: var(--color-text);
        font-weight: 600;
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        transition: color 0.2s ease;
        display: flex;
        align-items: center;
        gap: 0.25rem;
      }

      .front-nav a:hover,
      .front-nav .active > a {
        color: var(--color-primary);
      }

      .front-nav .active > a {
        position: relative;
      }

      .front-nav .active > a::before {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-primary);
      }

      /* Dropdown Menu */
      .front-nav ul ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-bg);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        min-width: 220px;
        z-index: 1000;
        border: 1px solid var(--color-border);
        border-top: none;
        padding: 0.5rem 0;
      }

      .front-nav li:hover > ul,
      .front-nav li.active > ul {
        display: block;
      }

      .front-nav ul ul li {
        width: 100%;
      }

      .front-nav ul ul a {
        display: block;
        padding: 0.5rem 1.5rem;
        color: var(--color-text-muted);
        font-weight: normal;
        font-size: 0.9rem;
      }

      .front-nav ul ul a:hover {
        background-color: var(--color-bg-light);
        color: var(--color-primary);
      }

      .front-nav .dropdown-toggle::after {
        content: '▼';
        font-size: 0.6rem;
        margin-left: 0.25rem;
        transition: transform 0.2s ease;
      }

      .front-nav .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
      }

      /* GET QUOTE BUTTON */
      .geta_quote a {
        display: inline-block;
        background-color: var(--color-primary);
        color: white;
        font-weight: bold;
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.1s ease;
        letter-spacing: 0.5px;
      }

      .geta_quote a:hover {
        background-color: var(--color-primary-hover);
        transform: translateY(-1px);
      }

      .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 1000;
  border-radius: 4px;
  margin-top: 8px;
  padding: 0.5rem 0;
  border: 1px solid var(--color-border);
}

.dropdown-menu li {
  list-style: none;
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 1.75rem;
}

/* Services dropdown with chevron */
.dropdown-toggle .bi-chevron-down {
  transition: transform 0.2s ease;
  font-size: 0.75em;
}

[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

/* Active nav item */
.mainmenu .active > a {
  color: var(--color-primary) !important;
  position: relative;
}

.mainmenu .active > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background-color: var(--color-primary);
}

.page-section {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-section[style*="display: block"] {
  opacity: 1;
  transform: translateY(0);
}


.site-footer {
  background-color: var(--color-footer-bg); /* Deep Indigo Night - matches your brand */
  color: #FFFFFF;
  padding: 4rem 2rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--color-accent); /* Your brand blue */
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-accent); /* Orange accent */
}

.footer-column p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Newsletter Form */
.newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-text);
  border-radius: 4px;
  background-color: var(--color-footer-bg);
  color: white;
  font-size: 0.95rem;
}

.newsletter input[type="email"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(34, 0, 255, 0.2);
}

.newsletter button {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

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

/* Service List */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-accent);
  padding-left: 0.25rem;
}

.footer-column i.bi-chevron-right {
  margin-right: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Office List */
.office-list .office-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.office-list img {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.office-list span {
  color: var(--color-text-light);
}

/* Contact Info */
.contact-info p {
  margin-bottom: 0.75rem;
}

.contact-info strong {
  color: var(--color-accent);
}

.contact-info a {
  color: var(--color-text-light);
  text-decoration: underline;
}

.contact-info a:hover {
  color: var(--color-primary);
}

/* Social Links */
.social-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  background-color: var(--color-accent);
  color: var(--color-text-light);
  transition: all 0.2s ease;
}

.social-icon:hover {
  background-color: var(--color-accent);
  color: white;
  transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-footer);
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin: 0.25rem 0;
}


/* quote */
#quote-section {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: var(--color-bg);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#quote-section h1 {
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

#quote-section p {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Form styling */
#quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Input and select styling */
#quote-form input,
#quote-form select,
#quote-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--color-border-dark);
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

#quote-form input:focus,
#quote-form select:focus,
#quote-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.1);
}

/* Textarea specific styling */
#quote-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Button styling */
#quote-form .btn {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  font-weight: 600;
}

#quote-form .btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* === MOBILE MENU STYLES === */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  padding-top: 1rem;
}

.mobile-menu-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.close-btn {
  font-size: 2rem;
  background: none;
  border: none;
  float: right;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--color-primary);
}

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

.mobile-menu-list li {
  margin-bottom: 1rem;
}

.mobile-menu-list a,
.mobile-services-toggle {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  display: block;
  padding: 0.75rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu-list a:hover,
.mobile-services-toggle:hover {
  color: var(--color-primary);
}

.mobile-services-toggle {
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-services-dropdown {
  display: none;
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-border);
}

.mobile-services-dropdown li {
  margin-bottom: 0.75rem;
}

.mobile-services-dropdown a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border: none;
}

.mobile-services-dropdown a:hover {
  background: var(--color-bg-light);
  padding-left: 0.5rem;
}

.mobile-menu-toggle {
    display: none;

  }


  .home-service{


            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #5c5ce6;
            color: white;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
  
  .home-content {
      text-align: center;
      position: relative;
  }

  /* Puzzle piece background pattern */
  .home-content::before {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
     opacity: 0.2;
      pointer-events: none;
  }

  .subtitle {
      font-size: 16px;
      letter-spacing: 2px;
      margin-bottom: 10px;
      font-weight: 500;
      text-transform: uppercase;
  }



  .title::after {
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.5rem;
  }

  .description {
      font-size: 1.1rem;
      line-height: 1.6;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
  }

  .platform-heading {
      font-size: 1.2rem;
      margin-top: 30px;
      font-weight: 500;
  }


.container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    section {
      padding: 5rem 0;
    }


    .btn {
      display: inline-block;
      padding: 0.875rem 1.75rem;
      border-radius: var(--radius);
      font-weight: 600;
      text-decoration: none;
      text-align: center;
      transition: var(--transition);
      cursor: pointer;
    }

    .btn-primary {
      background-color: var(--primary);
      color: white;
      border: 2px solid var(--primary);
    }
    .btn-primary:hover {
      background-color: var(--dark);
      transform: translateY(-2px);
      box-shadow: var(--shadow);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
      margin-left: 1rem;
    }
    .btn-outline:hover {
      background-color: var(--primary-light);
      color: white;
    }

    .text-center {
      text-align: center;
    }

    /* =============== HOME SECTION =============== */
    #home-section {
      background: linear-gradient(135deg, #f5f9f5 0%, #e8f5e9 100%);
      text-align: center;
    }

    .home-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .title {
      font-size: 3rem;
      margin: 1rem 0;
      line-height: 1.2;
    }

    .description {
      font-size: 1.25rem;
      color: var(--gray-700);
    }

    .hero-cta {
      margin-top: 2rem;
      
    }

    .hero-cta .star{
        text-decoration: none;
        color: var(--color-primary);

      
    }
    .hero-cta .star:hover{
        color: var(--color-text);
        transform: scale(1.1);
    }
    .hero-cta .line{
        text-decoration: none;
        color: var(--color-text);

      
    }
    .hero-cta .line:hover{
        color: var(--color-primary);
        transform: scale(1.1);
      
    }


    /* =============== WHO WE ARE =============== */

#who-we-are{
  background-image: url(sherrickweb-img/nairobi-bg.jpg);
  background-repeat: repeat;
  background-position: bottom center;   /* 👈 critical */
  background-size: auto 100%;           /* or `auto 100%` if you only care about height */
  background-color: var(--color-bg-light);
}

  #who-we-are .section-title {
      font-size: 2.25rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1.5rem;
      color: var(--gray-900);
    }

  #who-we-are .section-subtitle {
      font-size: 1.125rem;
      color: var(--gray-700);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 3rem;
      line-height: 1.6;
    }

    .differentiators {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .diff-card {
      flex: 1 1 300px;
      background: var(--gray-100);
      border-radius: var(--radius);
      text-align: center;
      max-width: 350px;
      color: white;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
.diff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}


    .diff-card svg {
      width: 48px;
      height: 48px;
      fill: var(--primary);
    }

    .diff-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      color: var(--gray-900);
      line-height: 1.3;
    }


    .diff-card p {
      color: var(--gray-700);
      font-size: 0.95rem;
      line-height: 1.5;
      padding: 0 1rem 1.5rem;
    }
    /* =============== SERVICES =============== */
        #services {
      background-color: var(--gray-100);
    }
    #services .section-title{
      text-align: center;
      position: relative;}
    #services .section-subtitle{
      text-align: center;
      position: relative;}


    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
      align-items: center;
    }

    .service-card {
      padding-bottom: 70px;
      background: var(--color-bg);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      transition: var(--transition);
      align-items: center;

    }

    .service-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    .service-card a {
      text-decoration: none;
      color: var(--color-text);
    }

    .card-img {
      height: 180px;
      background-color: var(--gray-200);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.875rem;
      color: var(--gray-700);

    }

    .card-content h3 {
      font-size: 1.375rem;
      margin-bottom: 0.75rem;
      color: var(--gray-900);
    }

    .card-content p {
      margin-bottom: 1rem;
      color: var(--gray-700);
    }

    .card-link {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
    }
    #services {
      padding-bottom: 0%;

    }
    /* =============== ADVANTAGE =============== */

   #advantage {

  background-image: url(sherrickweb-img/jigsaw-bg.png);

  background-repeat: repeat;
  background-position: bottom center;   /* 👈 critical */
  background-size: auto 100%;           /* or `auto 100%` if you only care about height */
  padding: 0%;
  margin: 0%;

    
      padding-top:3%;
      padding-bottom:3%;
      margin: 0%;
    }


    .advantage-list {

      align-items: center;
      text-align: center;
    }

    .advantage-text h4 {
      font-size: 1.125rem;
      margin-bottom: 0.25rem;
    }
#advantage .section-title {
      color: var(--color-text);
      font-size: 2.45rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 1.5rem;
    }


      #advantage .section-subtitle {
      font-size: 1.125rem;
      color: var(--color-primary);
      text-align: center;
      margin: 0 auto 3rem;
      line-height: 1.6;
    }
      #advantage .text-center {
      font-size: 1.125rem;
      text-align: center;
      margin: 0 auto 3rem;
      line-height: 1.6;
  font-family: 'Open Sans', sans-serif;
font-weight: 400;
color: var(--color-primary); /* Light gray/white — softer than pure white for long text */
line-height: 1.6;
    }
.advantage-text h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;          /* Bold — strong emphasis */
  color: var(--color-text);/* Light gray/white — softer than pure white for long text */             /* Crisp white — pops against gradient */
  margin-bottom: 6px;
  line-height: 1.3;

  align-items: center;
  gap: 8px;
}

.advantage-text p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-primary);/* Soft light gray — clearly secondary */
  line-height: 1.6;
  margin: 0;
}
    /* =============== TESTIMONIALS =============== */
    #testimonials {
      background-color: var(--gray-100);
    }

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
      margin-top: 2rem;
    }

    .testimonial-card {
      background: var(--color-bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      position: relative;
    }

    .testimonial-card::before {
      content: '"';
      position: absolute;
      top: 1rem;
      left: 1.5rem;
      font-size: 4rem;
      color: var(--primary-light);
      opacity: 0.2;
      font-family: serif;
    }

    .testimonial-text {
      font-style: italic;
      margin-bottom: 1.5rem;
      position: relative;
      z-index: 1;
    }

    .testimonial-author {
      font-weight: 600;
      color: var(--gray-900);
    }

    .testimonial-role {
      font-size: 0.9rem;
      color: var(--gray-700);
    }

    /* =============== CTA SECTION =============== */
    #cta {
      background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
      color: white;
      text-align: center;
    }

    #cta .section-title,
    #cta .section-subtitle {
      color: white;
    }

    /* =============== FOOTER =============== */
    footer {
      background-color: var(--gray-900);
      color: white;
      padding: 4rem 0 2rem;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-bottom: 3rem;
    }

    .footer-col h3 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
      position: relative;
    }

    .footer-col h3::after {
      content: '';
      display: block;
      width: 40px;
      height: 3px;
      background: var(--primary);
      margin-top: 0.5rem;
    }

    .footer-links {
      list-style: none;
    }

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

    .footer-links a {
      color: var(--color-text-light);
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-links a:hover {
      color: white;
      padding-left: 4px;
    }

    .contact-info p {
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
    }

    .contact-info svg {
      margin-right: 0.75rem;
      width: 18px;
      height: 18px;
      fill: var(--primary-light);
    }

    .newsletter {
      display: flex;
      margin-top: 1rem;
    }

    .newsletter input {
      flex: 1;
      padding: 0.75rem 1rem;
      border: none;
      border-radius: 4px 0 0 4px;
    }

    .newsletter button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 0 1.25rem;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
    }
    /* =============== RESPONSIVE =============== */

.point-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Critical: keeps overlay inside */
  border-radius: 2%; /* matches front-poster */
  height: 240px; /* explicit — prevents layout shift */
}
.point-card:hover .overlay-poster {
  opacity: 1;
  transform: scale(1) rotate(0);
  /* Optional: add a soft pulse for extra polish */
  animation: pulseBadge 2s ease-in-out 0.3s infinite;
}
.point-card:hover .overlay-poster-alt {
  opacity: 1;
  transform: scale(1) rotate(0);
  /* Optional: add a soft pulse for extra polish */
  animation: pulseBadge 2s ease-in-out 0.3s infinite;
}

.point-card:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}

/* Bonus: subtle pulse animation (optional but pro) */
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.9); }
  50% { box-shadow: 0 6px 16px rgba(0, 102, 204, 0.5), 0 0 0 6px rgba(255, 255, 255, 1); }
}
.image-stack {
  position: relative;
  width: 308px;
  height: 240px;
}

.front-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 2%;
  display: block;

}


.overlay-poster {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 80px;
  height: 80px;
  border-radius: 5%;
  object-fit: cover;
  /* Start hidden & scaled down */
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
  transition: 
    opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 
    0 4px 12px rgba(0, 102, 204, 0.3),
    0 0 0 4px rgba(255, 255, 255, 0.9);
}
.overlay-poster-alt {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 80px;
  height: 80px;
  border-radius: 5%;
  object-fit: cover;
  /* Start hidden & scaled down */
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
  transition: 
    opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  box-shadow: 
    0 4px 12px rgba(0, 102, 204, 0.3),
    0 0 0 4px rgba(255, 255, 255, 0.9);
}



/* === RESPONSIVE === */
@media (max-width: 799px) {
  /* Prevent overall page overflow */
  body {
    overflow-x: hidden;
  }
  
  /* Fix container widths */
  .container {
    padding: 0 1rem;
    overflow-x: hidden;
  }
  
  /* Fix footer columns */
  .footer-content {
    padding: 0 1rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-column {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .footer-column h3::after {
    width: 30px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Fix newsletter */
  .newsletter form {
    flex-direction: column;
    width: 100%;
  }
  
  .newsletter input[type="email"] {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .newsletter button {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Fix any long text/links that might overflow */
  .footer-column a,
  .footer-column p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Fix social icons container */
  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  /* Fix the "Our Services" heading and content if they're too wide */
  .site-footer h3 {
    word-wrap: break-word;
  }

  .bottom-head {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
  }

  .front-nav {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0;
    padding: 0;
  }

  .front-nav.collapsed {
    display: none;
  }

  .mainmenu {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
  }

  .mainmenu > li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .mainmenu > li:last-child {
    border-bottom: none;
  }

  .mainmenu a {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Hide desktop dropdown arrow on mobile */
  .mainmenu .dropdown-toggle::after {
    display: none;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 1.5rem;
    margin-top: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    position: static;
  }

  .dropdown-menu li {
    width: 100%;
    border: none;
  }

  .dropdown-menu a {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
  }

  .dropdown-menu a:hover {
    color: var(--color-primary);
    background: transparent;
    padding-left: 0;
  }

  /* Keep GET QUOTE button on the right */
  .last-nav {
    margin-left: auto;
  }

  .top-head {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .contact-sections {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    height: auto;
  }
  
  .separator {
    width: 100%;
    height: 1px;
    margin: 0.5rem 0;
    background-color: #3b3b3e;
  }

  .logo img {
    max-width: 250px;
  }

  .front-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .front-nav ul ul {
    position: static;
    box-shadow: none;
    border: none;
    width: 100%;
    margin-top: 0.5rem;
  }

  .front-nav ul ul li {
    width: 100%;
  }

   #who-we-are {
    padding: 3rem 0;
    background-position: 74;
  }

  #who-we-are .section-title {
    font-size: 1.875rem;
  }

  .differentiators {
    gap: 1.5rem;
  }

  .diff-card {
    max-width: 100%;
    padding: 1.75rem;
  }

  .overlay-poster {
    /* Override hover-hidden state */
    opacity: 1 !important;
    transform: scale(1) rotate(0) !important;
    /* Smooth initial appearance (optional) */
    transition: opacity 0.3s ease, transform 0.3s ease;
    
    /* Slightly smaller & tighter spacing for mobile */
    width: 70px;
    height: 70px;
    top: 12px;
    right: 12px;
    
    /* Softer shadow for mobile readability */
    box-shadow: 
      0 3px 8px rgba(0, 102, 204, 0.25),
      0 0 0 3px rgba(255, 255, 255, 0.95);
    
    /* Stop pulse animation on mobile (optional) */
    animation: none;
  }
  .overlay-poster-alt {
    /* Override hover-hidden state */
    opacity: 1 !important;
    transform: scale(1) rotate(0) !important;
    /* Smooth initial appearance (optional) */
    transition: opacity 0.3s ease, transform 0.3s ease;
    
    /* Slightly smaller & tighter spacing for mobile */
    width: 70px;
    height: 70px;
    bottom: 12px;
    left: 12px;
    
    /* Softer shadow for mobile readability */
    box-shadow: 
      0 3px 8px rgba(0, 102, 204, 0.25),
      0 0 0 3px rgba(255, 255, 255, 0.95);
    
    /* Stop pulse animation on mobile (optional) */
    animation: none;
  }

  /* Ensure point-card stays stable on mobile */
  .point-card:hover {
    transform: none; /* disable lift on mobile (no hover UX) */
  }

}