
  
      /* ================= MOBILE RESPONSIVE FIX ================= */

/* General */
@media (max-width: 768px) {

  .section {
    padding: 32px 14px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  /* Header */
  /*.brand h1 {*/
  /*  font-size: 1.1rem;*/
  /*}*/

  .brand p {
    font-size: 0.7rem;
  }


  /* SERVICES */
  .service-card {
    width: 48%;   /* 2 per row */
  }

  /* GUIDES */
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* IMAGE GALLERY */
  .img-card {
    width: 45%;
  }

  /* CONTACT */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-frame iframe {
    height: 220px;
  }

  /* STATS */
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* TESTIMONIAL */
  .testimonial-card {
    min-width: 260px;
  }

}

/* SMALL MOBILE */
@media (max-width: 480px) {

  .service-card {
    width: 100%;   /* 1 per row */
  }

  .img-card {
    width: 100%;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }


  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

}

/* ================= FIX OVERFLOW ISSUES ================= */
body {
  overflow-x: hidden;
}

/* Prevent horizontal scroll */
.container {
  width: 100%;
}

/* TESTIMONIAL smooth */
.testimonial-wrapper {
  padding-left: 10px;
}

/* Floating buttons adjust */
@media (max-width: 480px) {
  .floating-wa,
  .floating-chat {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .call-now {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

    /* ---------- RESET & GLOBAL ---------- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: #f9fafc;
      color: #1e293b;
      line-height: 1.5;
      scroll-behavior: smooth;
    }

:root {
  --primary: #0B1F3A;      /* deep navy */
  --secondary: #2563EB;    /* modern blue */
  --accent: #06B6D4;       /* cyan highlight */
  --highlight: #F59E0B;    /* premium yellow */
  --bg-light: #F8FAFC;
  --text: #0f172a;
}

    a {
      text-decoration: none;
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .container {
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ---------- HEADER / NAV ---------- */
    .site-header {
      background: var(--card-white);
      border-bottom: 1px solid var(--border-light);
      padding: 12px 20px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(4px);
      background: rgba(255,255,255,0.96);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand i {
      font-size: 2rem;
      color: var(--primary);
    }

    .brand h1 {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: -0.3px;
    }

    .brand p {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 2px;
    }

    .admin-btn {
      background: transparent;
      border: 1.5px solid var(--primary);
      padding: 8px 14px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.85rem;
      cursor: pointer;
      color: var(--primary);
      transition: all 0.2s ease;
    }

    .admin-btn:hover {
      background: var(--primary);
      color: white;
    }

    /* navigation */
    .nav-links {
      background: var(--primary);
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      padding: 8px 16px;
    }

    .nav-links a {
      color: white;
      padding: 8px 16px;
      border-radius: 40px;
      font-weight: 500;
      font-size: 0.9rem;
      transition: background 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-links a:hover {
      background: rgba(255,255,255,0.2);
    }


    .cta-btn {
      background: var(--secondary);
      color: #1e293b;
      font-weight: 700;
      padding: 12px 32px;
      border-radius: 40px;
      display: inline-block;
      transition: 0.2s;
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .cta-btn:hover {
      background: #fbbf24;
      transform: translateY(-2px);
    }

    /* section headings */
    .section {
      padding: 48px 20px;
    }

    .section-title {
      text-align: center;
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 32px;
      color: var(--primary);
    }

    /* service cards */
    .services-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

       .services-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }
    
    .service-card {
      background: #fff;
      border-radius: 16px;
      padding: 18px 14px;
      width: 170px;
      text-align: center;
      border: 1px solid #eee;
      transition: all 0.25s ease;
      cursor: pointer;
    }
    
    /* Hover effect */
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 18px rgba(0,0,0,0.08);
    }
    
    /* Icon */
    .service-card i {
      font-size: 26px;
      color: #0f3b5e; /* nice blue */
      margin-bottom: 12px;
      display: block;
    }
    
    /* Title */
    .service-card strong {
      display: block;
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 6px;
      color: #333;
    }
    
    /* Price */
    .service-card .price {
      font-size: 14px;
      color: #6b7280;
      font-weight: 500;
    }

    .price {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 6px;
    }

    /* exam marquee */
    .exam-highlight {
      background: linear-gradient(135deg, #fff7e6, #fff3db);
      border-radius: 28px;
      padding: 20px 24px;
      max-width: 1000px;
      margin: 0 auto;
      border: 2px dashed #f59e0b;
    }

    .exam-marquee {
      height: 130px;
      overflow: hidden;
      background: #fffae9;
      border-radius: 20px;
      padding: 12px 16px;
      margin-top: 12px;
    }

    #examContent {
      display: flex;
      flex-direction: column;
      gap: 8px;
      animation: scrollUp 12s linear infinite;
    }

    @keyframes scrollUp {
      0% { transform: translateY(0); }
      100% { transform: translateY(-50%); }
    }

    /* quick links */
    .quick-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 14px;
      margin: 24px auto;
    }

    .quick-link {
      background: var(--primary);
      color: white;
      padding: 12px 22px;
      border-radius: 40px;
      font-weight: 600;
      transition: 0.2s;
    }

    .quick-link:hover {
      background: var(--primary-dark);
      transform: scale(0.97);
    }

    /* guides */
    .guides-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 24px;
      margin: 24px 0;
    }

    .guide-card {
      background: var(--card-white);
      border-radius: 24px;
      padding: 20px;
      text-align: center;
      border: 1px solid var(--border-light);
      transition: 0.2s;
    }

    .guide-card img {
      width: 70px;
      margin: 0 auto 12px;
    }

    .downloads {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      justify-content: center;
      margin-top: 28px;
    }

    .download-btn {
      background: #eef2ff;
      padding: 10px 20px;
      border-radius: 60px;
      font-weight: 600;
      color: var(--primary);
      border: 1px solid #cbd5e1;
    }

    /* extra images row */
    .image-gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }
    
    .img-card {
      width: 150px;
      background: #fff;
      border-radius: 14px;
      padding: 14px 10px;
      border: 1px solid #eee;
      transition: 0.25s;
    
      display: flex;
      flex-direction: column;
      align-items: center;   /* center horizontally */
      justify-content: center; /* center vertically */
      text-align: center;
    }

.img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

/* ICON FIX */
.img-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

/* TEXT */
.img-card p {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin: 0;
}
    /* contact + map */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 6-6 layout */
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

/* LEFT SIDE */
.contact-details {
  background: #fff;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid #eee;
}

.contact-details p {
  margin: 12px 0;
  font-size: 15px;
  color: #374151;
}

.contact-details i {
  color: #1d4ed8;
  margin-right: 8px;
}

.contact-details p a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 500;
}

/* BUTTON */
.map-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 16px;
  background: #1d4ed8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.map-btn:hover {
  background: #1e40af;
}

/* RIGHT SIDE MAP */
.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #eee;
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
}

/* 📱 MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* stack */
  }
}
    /* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 30px;
  text-align: center;
  padding: 20px 0;   /* remove heavy background */
}

/* each stat item */
.stats div {
  padding: 10px;
}

/* ICON */
.stats i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

/* NUMBER (Monospace 🔥) */
.stats h3 {
  font-size: 22px;
  font-weight: 700;
  font-family: monospace;
  margin: 6px 0;
}

/* TEXT */
.stats p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
    /* floating buttons */
    .floating-wa, .floating-chat {
      position: fixed;
      right: 20px;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: #25d366;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.8rem;
      box-shadow: 0 6px 18px rgba(0,0,0,0.2);
      z-index: 99;
      transition: 0.2s;
    }

    .floating-chat {
      background: var(--accent);
      bottom: 100px;
    }

    .floating-wa {
      background: #02973a;
      bottom: 28px;
    }

    .call-now {
      position: fixed;
      left: 20px;
      bottom: 28px;
      background: #0f3b5e;
      padding: 12px 18px;
      border-radius: 60px;
      color: white;
      font-weight: 600;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      z-index: 99;
    }

    /* admin panel modal */
    .modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .modal-card {
      background: white;
      max-width: 550px;
      width: 90%;
      border-radius: 32px;
      padding: 24px;
      position: relative;
    }

    .modal-card .close {
      position: absolute;
      right: 20px;
      top: 16px;
      font-size: 1.5rem;
      cursor: pointer;
    }

    /* exam editor panel */
    .exam-editor {
      display: none;
      position: fixed;
      top: 12%;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 650px;
      background: white;
      border-radius: 32px;
      padding: 24px;
      z-index: 1100;
      box-shadow: 0 20px 40px rgba(0,0,0,0.3);
      border: 1px solid #ddd;
    }

    footer {
      background: var(--primary-dark);
      color: white;
      text-align: center;
      padding: 24px;
      margin-top: 20px;
    }

    @media (max-width: 640px) {
      .hero h2 { font-size: 1.6rem; }
      .service-card { width: 45%; }
      .stats { gap: 20px; }
    }
    
    /* TESTIMONIALS */
   .testimonial-wrapper {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  animation: scroll 20s linear infinite;
}

.testimonial-card {
  min-width: 300px;
  background: #fff;
  padding: 18px 16px;
  border-radius: 16px;
  border-left: 4px solid #2563eb;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  flex-shrink: 0;
}

/* Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
    
    
    /* ================= MOBILE FIX GLOBAL ================= */

/* Container padding fix */
@media (max-width:768px){
  .container {
    padding: 0 9px;
  }
}

/* TEXT SCALE */
/*@media (max-width:768px){*/
/*  h1 { font-size: 1.6rem !important; }*/
/*  h2 { font-size: 20px !important; }*/
/*  h3 { font-size: 1.2rem !important; }*/
/*}*/

/* GRID FIX */
@media (max-width:768px){
  .services-grid,
  .docs-grid,
  .guides-grid,
  .food-grid,
  .process,
  .stats {
    grid-template-columns: 1fr !important;
  }
}

/* CONTACT FIX */
@media (max-width:768px){
  .contact-main,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
}

/* NAV FIX */
@media (max-width:768px){
  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-links a {
    font-size: 13px;
    padding: 6px 12px;
    white-space: nowrap;
  }
}

/* HERO FIX */
@media (max-width:768px){
  .hero,
  .services-hero,
  .food-hero,
  .contact-hero,
  .exam-hero,
  .guides-hero {
    padding: 50px 15px !important;
    text-align: center;
  }
}

/* CARD FIX */
@media (max-width:768px){
  .service-card,
  .food-card,
  .guide-card,
  .doc-card {
    width: 100% !important;
  }
}

/* BUTTON FIX */
@media (max-width:768px){
  .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* MAP FIX */
.map-frame iframe {
  height: 250px !important;
}

/* TESTIMONIAL FIX */
@media (max-width:768px){
  .testimonial-card {
    min-width: 260px;
  }
}





























