/* --- Variable Definitions --- */
:root {
    --primary-color: #1e3a8a; /* Dark Blue */
    --secondary-color: #3a5889; /* Bright Blue */
    --accent-color: #f59e0b; /* Amber */
    --dark-color: #1f2937; /* Dark Gray */
    --light-color: #f8fafc; /* Very Light Gray */
    --gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-light: linear-gradient(135deg, rgba(79, 118, 209, 0.08) 0%, rgba(96, 167, 241, 0.08) 100%);

}

/* --- Global Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* --- Animations & Transitions --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible, .slide-in-left.visible, .slide-in-right.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}
@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(1.1); opacity: 0.1; }
}

/* --- Section Styling --- */
.section {
    padding: 40px 0;
    position: relative;
}
.bg-light {
    background-color: var(--light-color) !important;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary-color);
}
.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Navigation Bar --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--primary-color) !important;
}
.brand-text {
    line-height: 1.2;
}
.tagline {
    font-size: 0.7rem;
    font-weight: 400;
    display: block;
    color: var(--secondary-color);
}
.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    position: relative;
    margin: 0 10px;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}
.hero-bg-scroll {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--gradient);
    transition: transform 0.1s ease-out;
}
.hero-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}
.hero-section::after {
    content: '';
    position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}
.hero-content-wrapper {
    position: relative; z-index: 2;
    transition: transform 0.1s ease-out;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}
.btn-hero {
    background: var(--accent-color);
    color: white; border: none; padding: 15px 40px;
    font-size: 1.1rem; font-weight: 600; border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-hero:hover {
    background: #e59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}
.hero-image {
    width: 100%;
    max-width: 450px;
    opacity: 0.25; /* Transparent effect */
}
.floating {
    animation: floating 6s ease-in-out infinite;
}

/* --- Stats Section --- */
.stats-section {
    background: var(--gradient);
    color: white;
    padding: 60px 0;
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* --- Cards (Service, Team, Blog) --- */
.service-card, .team-card, .blog-card {
    background: white; border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    padding: 2rem;
}
.service-card:hover, .team-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
    border-color: var(--secondary-color);
}
.service-icon {
    width: 70px; height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    color: white; font-size: 1.5rem;
}
.team-img {
    width: 200px; height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.team-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
  .team-heading{
    color: #1e3a8a;
    font-weight: bold;
  }
 .team-card .btn {
      align-self: center;
      border-radius: 25px;
      padding: 0.5rem 1.25rem;
      font-weight: 600;
    }

.blog-card {
    padding: 0;
    overflow: hidden;
}
.blog-card .p-4 { text-align: left; }
.blog-card img { border-radius: 20px 20px 0 0; }

/* --- Contact Section --- */
.contact-form {
    background: white; padding: 2.5rem; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.form-control, .form-select {
    border: 1px solid #e5e7eb; border-radius: 10px;
    padding: 12px 15px; transition: all 0.3s ease;
    background-color: var(--light-color);
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: white;
}
.btn-submit {
    background: var(--gradient);
    border: none; padding: 12px 30px; border-radius: 10px;
    font-weight: 600; transition: all 0.4s ease;
}
.btn-submit:hover {
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}
.contact-info-item {
    display: flex; align-items: center;
    background: white;
        padding: 1.5rem;
        border-radius: 15px;
        margin-bottom: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transition: all 0.4s ease;
        transform: translateX(-30px);
        opacity: 0;
        border: 2px solid transparent;
}
.contact-info-item:hover{
    transform: translateX(0);
        box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
        border-color: var(--secondary-color);
}
.contact-info-item i {
    width: 50px; height: 50px; padding: 20px; font-size: 1.2rem;
    background: var(--gradient); color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-right: 1rem;
}
.contact-info-item h6 { margin-bottom: 0.25rem; }
.contact-info-item p { margin-bottom: 0; color: #6b7280; }

/* --- Footer --- */
.footer {
    background: var(--dark-color);
    color: #d1d5db;
    padding: 4rem 0 2rem;
    position: relative;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--gradient);
}
.footer h5 { color: white; margin-bottom: 1.5rem; }
.footer a { color: #d1d5db; text-decoration: none; transition: all 0.3s ease; }
.footer a:hover { color: var(--accent-color); }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: var(--secondary-color); color: white !important;
    border-radius: 50%; margin-right: 10px;
    transition: all 0.4s ease;
}
.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}
.affiliations-section{
    background: #F8F8F8; 
}
.affiliations {
  background: #F8F8F8; /* semi-transparent dark background */
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}


/* Container for Logos */
.logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 10px 70px;
}

/* Logo Links */
.logos-container a {
  display: inline-block;
  background: #F8F8F8;
  border-radius: 10px;
  padding: 0.75rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.logos-container a:hover {
  transform: scale(1.05);
  background:#F8F8F8;
}

/* Logo Images */
.logos-container img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(95%) contrast(105%);
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .hero-title { font-size: 2.8rem; }
    .hero-section { text-align: center; }
    .hero-image { margin-top: 2rem; }
}
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero-section { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .logos-container img { height: 30px; }
}
/* Services Section Background */
    .services-section {
      background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
      position: relative;
      padding: 4rem 2rem;
      overflow: hidden;
    }
    .services-section::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('https://www.transparenttextures.com/patterns/cubes.png');
      opacity: 0.05;
      z-index: 0;
    }

    /* Card Layout */
    .service-card {
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
      border: 1px solid #e5e7eb;
      height: 100%;
      transition: all 0.4s ease;
      text-align: center;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      z-index: 1;
    }
    .service-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 50px rgba(30, 58, 138, 0.15);
      border-color: var(--secondary-color);
    }

    /* Image Styling */
    .service-image img {
      border-radius: 15px;
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    /* Title */
    .service-title {
      font-weight: 700;
      font-size: 1.25rem;
      /* color: var(--dark-color); */
      color: #1e3a8a;
      margin-bottom: 1rem;
      min-height: 60px;
    }

    /* List */
    .service-card ul {
      list-style: none;
      padding: 0;
      margin: 1rem 0;
      text-align: left;
    }
    .service-card ul li {
      position: relative;
      padding-left: 1.75rem;
      margin-bottom: 0.75rem;
      color: #334155;
    }
    .service-card ul li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: #2563eb;
      font-weight: bold;
    }

    /* Read More Button */
    .service-card .btn {
      align-self: center;
      border-radius: 25px;
      padding: 0.5rem 1.25rem;
      font-weight: 600;
    }

    /* Fade-in Animation */
    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.8s ease forwards;
    }
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    /* --- Section Title & Subtitle Styling --- */
    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
        color: #1e3a8a;
        margin-bottom: 1rem;
        z-index: 1;
        position: relative;
    }
    .section-subtitle {
        font-size: 1.125rem;
        text-align: center;
        color: #475569;
        max-width: 900px;
        margin: 0 auto 3rem auto;
        line-height: 1.7;
        z-index: 1;
        position: relative;
    }

    

    /* --- Team Card Hover Background --- */
    .team-card:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    }

   /* --- Navigation Bar (unified, transparent on hero, white on scroll) --- */
  .custom-navbar, .navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 0.6rem 0;
    transition: all 0.35s ease;
    background: transparent; /* default: transparent over hero */
    backdrop-filter: none;
    box-shadow: none;
  }

  /* Brand (logo) — will be white/inverted on hero, normal on scroll */
  .custom-navbar .navbar-brand,
  .navbar .navbar-brand {
    display: flex;
    align-items: center;
  }

  /* Logo sizing and filters */
  .brand-logo {
    height: 65px;
    width: auto;
    transition: filter 0.25s ease, transform 0.25s ease;
    /* default: show white-friendly logo on dark hero by inverting */
    filter: brightness(0) invert(1);
  }

  /* Nav links - default floating state (over hero) */
  .custom-navbar .nav-link,
  .navbar .nav-link {
    color: rgba(255, 255, 255, 0.98) !important; /* white text while on hero */
    font-weight: 500;
    font-size: 1.3rem;
    margin: 0 10px;
    transition: color 0.25s ease;
  }

  /* Link underline animation preserved */
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  .nav-link:hover::after {
    width: 100%;
  }

  /* Hover color on hero */
  .custom-navbar .nav-link:hover,
  .navbar .nav-link:hover {
    color: var(--accent-color) !important;
  }

/* ===== scrolled state =====
   When .scrolled is applied we use white background and dark links
   (keeps your original brand colors). */
    .custom-navbar.scrolled,
    .navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 6px 30px rgba(16, 24, 40, 0.08);
    backdrop-filter: blur(6px);
    }

    /* In scrolled state use brand colors */
    .custom-navbar.scrolled .nav-link,
    .navbar.scrolled .nav-link {
    color: var(--primary-color) !important; /* #1e3a8a */
    }

    /* Hover in scrolled state */
    .custom-navbar.scrolled .nav-link:hover,
    .navbar.scrolled .nav-link:hover {
    color: var(--accent-color) !important; /* #f59e0b */
    }

    /* Logo in scrolled state — remove invert so colored logo can show */
    .custom-navbar.scrolled .brand-logo,
    .navbar.scrolled .brand-logo {
    filter: none;
    height: 52px;
    transform: translateY(0);
    }
/* ====== Hero Section with Background ====== */
.hero-banner {
  position: relative;
  height: 100vh;
  /* background: url('img/savemoney_6.JPG') center/cover no-repeat; */
  /* background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat; */
  background: url('img/ava-synergy-hero.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-banner .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  color: #dbeafe;
  margin-top: 0.5rem;
  min-height: 30px;
}

.btn-hero {
  background: var(--accent-color);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background: #e59e0b;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}
.hero-banner .overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
}
.bord{
  border-left: 3px solid var(--accent-color);
  height: 100%;
}
.brand-tagline{
  
  font-size: 1rem;
  color: var(--accent-color);
  text-transform: uppercase;
}

/* Team Section Styling */
.team-section {
  background: var(--gradient-light);
  color: var(--primary-color);
}

.team-section .section-title {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 600;
}

.team-section .section-subtitle {
  color: var(--secondary-color);
}

.team-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #e0e7ff;
  transition: transform 0.3s ease;
}

.team-img:hover {
  transform: scale(1.05);
}

.team-section h4 {
  color: var(--primary-color); /* amber accent */
}

.team-section p {
  color: var(--primary-color);;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.team-section ul li {
  color: var(--secondary-color);;
  font-size: 0.95rem;
}

.team-section .bi-dot {
  color: #fbbf24;
  font-size: 1.4rem;
  vertical-align: middle;
}

.whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #25D366 0%, #1DA851 100%);
  color: #fff;
  font-size: 26px;
  box-shadow: 0 8px 18px rgba(29,168,81,0.25);
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

/* hover / focus */
.whatsapp-btn:hover,
.whatsapp-btn:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(29,168,81,0.30);
}

/* small pulse circle (behind icon) */
.whatsapp-btn .pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37,211,102,0.18);
  animation: waPulse 2s infinite;
  z-index: 0;
}

/* ensure icon is above pulse */
.whatsapp-btn i {
  position: relative;
  z-index: 1;
}
.text-justify{
  text-align: justify;
}
.text-primary{
  color: var(--primary-color);
}
.text-recblogs{
  color: var(--primary-color);
  text-decoration: none;
}
.text-recblogs:hover{
  color: var(--accent-color);
  text-decoration: none;
}
.a-rec{
  text-decoration: none;
}
.mt-90{
  margin-top: 95px;
}

/* --- Responsive Styles --- */

/* Large Tablets and below (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-section {
    padding: 100px 0;
  }
  .services-section {
    padding: 5rem 6rem;
  }
  .service-title {
    font-size: 1.5rem;
  }
  .service-image img {
    height: 230px;
  }
}

/* Tablets (up to 992px) */
@media (max-width: 992px) {
    .custom-navbar .nav-link,
    .navbar .nav-link {
        color: rgba(255,255,255,0.98) !important;
    }
  /* Hero section */
  .hero-section {
    text-align: center;
    padding: 100px 0 60px;
  }
  .hero-image {
    margin-top: 2rem;
    max-width: 350px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }

  /* Section titles */
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

 .services-section {
    padding: 3rem 2rem;
  }
  .service-card {
    padding: 1.5rem;
  }
  .service-title {
    font-size: 1.15rem;
    min-height: 50px;
  }
  .service-image img {
    height: 180px;
  }

  /* Team section */
  .team-card {
    padding: 1.5rem;
  }
  .team-img {
    width: 130px;
    height: 130px;
  }
.team-section h4 {
  color: var(--primary-color); /* amber accent */
  padding: 5px 10px;
}

.team-section p {
  padding: 0px 10px;
}
  /* Blog cards */
  .blog-card img {
    height: 200px;
    object-fit: cover;
  }

  /* Footer */
  .affiliations {
    padding: 3rem 1.5rem;
  }

  .logos-container img {
    height: 50px;
  }
}

/* Small Tablets and Large Mobiles (up to 768px) */
@media (max-width: 768px) {

    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-logo { width: 90px; }
    .custom-navbar .nav-link { color: #1e3a8a !important; }
    .custom-navbar.scrolled .nav-link { color: #1e3a8a !important; }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
  }
  .hero-section {
    min-height: auto;
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }

  .services-section {
    padding: 2.5rem 1.5rem;
  }
  .service-card {
    margin-bottom: 1.5rem;
  }
  .service-title {
    font-size: 1.1rem;
  }
  .service-image img {
    height: 160px;
  }
  .service-card ul li {
    font-size: 0.95rem;
  }

  .team-img {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }
.team-section h4 {
  color: var(--primary-color); /* amber accent */
  padding: 50px 10px;
}

.team-section p {
  padding: 0px 10px;
}
.team-section li {
  padding: 0px 10px;
}

  .blog-card img {
    height: 180px;
  }

  .footer {
    padding: 3rem 1rem;
  }
  .logos-container img {
    height: 40px;
  }
  .stat-number {
        font-size: 2.2rem;
    }

    .stats-section {
        padding: 50px 15px;
    }
}

/* Small Mobiles (up to 575px) */
@media (max-width: 575px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

   .services-section {
    padding: 2rem 1rem;
  }
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  .service-title {
    font-size: 1rem;
    min-height: auto;
  }
  .service-image img {
    height: 140px;
  }
  .service-card ul li {
    font-size: 0.9rem;
  }
  .service-card .btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  .team-card {
    padding: 1.25rem;
  }
  .team-img {
    width: 120px;
    height: 120px;
  }
  .team-section h4 {
 /* amber accent */
  padding: 10px;
}

.team-section p {
  padding: 0px 10px;
}
.team-section li {
  padding: 0px 10px;
}
  .blog-card img {
    height: 160px;
  }

  .contact-form {
    padding: 1.75rem;
  }
  .contact-info-item {
    flex-direction: column;
    text-align: center;
  }
  .contact-info-item i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .footer {
    text-align: center;
  }
  .social-links a {
    margin-right: 6px;
  }
  .affiliations {
    padding: 2rem 1rem;
  }

  .affiliations h5 {
    font-size: 1.4rem;
  }

  .logos-container {
    gap: 1rem;
  }

  .logos-container img {
    height: 45px;
  }
  .stat-number {
        font-size: 1.8rem;
    }

    .stats-section {
        padding: 40px 10px;
    }

    .stat-item {
        margin-bottom: 20px;
    }
    .mob-hide{
      display:none;
  }
}

/* Extra Small Devices (under 400px) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 0.85rem;
  }
  .accordion-button {
    font-size: 0.85rem;
  }
  .accordion-body {
    font-size: 0.85rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .mob-hide{
      display:none;
  }
}
.navbar.scrolled .navbar-toggler-icon {
  filter: none;
}

.custom-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-modal {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  position: relative;
  text-align: center;
}

.custom-modal .close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
}

.custom-modal .close-btn:hover {
  color: #000;
}

/* small responsive tweaks */
@media (max-width: 420px) {
  .whatsapp-btn { right: 14px; bottom: 20px; width: 56px; height: 56px; font-size: 24px; }
  .wa-badge { right: 80px; bottom: 26px; font-size: 13px; padding: 5px 9px; }
  .mob-hide{
      display:none;
  }
}
