/* GLOBAL STYLES */
:root {
    --primary-color: #0056b3; /* Professional Blue (used for accents) */
    --accent-color: #0056b3;  
    --light-bg: #f4f4f4;
    --text-color: #333;
    
    /* NEW FOOTER COLORS (Based on uploaded image) */
    --footer-dark-bg: #212529; /* Dark Navy/Gray background */
    --footer-text-color: #bbbbbb; /* Light gray text */
    --footer-heading-color: #f4f4f4; /* White/Light color for headings */
    --footer-bottom-bg: #1a1e21; /* Even darker background for bottom bar */
    --footer-developer-accent: #6aa84f; /* Greenish accent color for developer name (from sample image design) */
    --secondary-text: #666; /* Added for consistency with other sections */

    /* UPDATED: marquee gap (smaller & responsive by default) */
    --offer-gap: 2.2rem; /* reduced from 3cm for better mobile behaviour */
}

/* reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

/* --------------------------------------------------------------------- */
/* NAVBAR */
/* --------------------------------------------------------------------- */

/* Dark blue border under the header/navbar */
.navbar {
    border-bottom: 5px solid var(--primary-color);
}

/* main navbar layout */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #e6f1fe;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* logo area (supports <img> + <span>) */
.logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px; 
}
.logo img { height: 65px; width: auto; display: block; }
.logo span { font-weight: 700; color: var(--primary-color); font-size: 1.05rem; }

/* Desktop link list */
.nav-main { display: flex; align-items: center; gap: 20px; }
.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 10px;
    border-radius: 6px;
    transition: color .15s ease, background .12s ease, transform .12s;
    display: inline-block;
}
.nav-links a:hover,
.nav-links a:focus {
    color: var(--primary-color);
    background: rgba(0,86,179,0.04);
    outline: none;
    transform: translateY(-1px);
}
.nav-links a:focus {
    box-shadow: 0 0 0 3px rgba(0,86,179,0.12);
}

/* WhatsApp Icon in Header (if you use it) */
.btn-whatsapp-header { margin-left: 15px; height: 35px; width: 35px; display: block; }
.btn-whatsapp-header img { width: 100%; height: 100%; }

/* Language Dropdown Styles */
.language-selector {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
}
.language-selector select {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all 0.2s ease;
}
.language-selector select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* make language "pill" look (overrides above for pill style) */
.language-selector select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(6,30,60,0.06);
}
.language-selector select::-ms-expand { display: none; }

/* give the select an id-friendly width so #language-switcher looks right */
#language-switcher { min-width: 64px; text-align: center; }

/* Mobile hamburger button (three lines) */
.mobile-menu-toggle {
  display: none;               /* hidden on desktop, shown on mobile by media query */
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
  align-items: center;
}
.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 22px;
  margin: 4px 0;
  border-radius: 3px;
  background: var(--primary-color);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* Mobile panel that appears when hamburger clicked
   Support both id="#mobile-nav" and class=".mobile-nav-panel" so your HTML works */
.mobile-nav-panel,
#mobile-nav {
  display: none;
  position: fixed;
  top: 74px; /* below navbar (adjust if navbar height changes) */
  right: 50%;
  left: auto;
  z-index: 1290;
  background: #fbfbfb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(6,30,60,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transform-origin: top center;
  transform: translateX(-50%) translateY(-6px) scaleY(0.98);
  transition: transform 0.22s cubic-bezier(.2,.9,.2,1), opacity 0.2s;
  opacity: 0;
  transform: scaleY(0.95);
}

/* when open apply visible state */
.mobile-nav-panel.open,
#mobile-nav.open {
  display: block;
  opacity: 1;
  transform: scaleY(1);
}

/* mobile nav list */
.mobile-nav-panel ul,
#mobile-nav ul {
  list-style: none;
  padding: 12px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-panel ul li a,
#mobile-nav ul li a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: background .12s, color .12s;
}
.mobile-nav-panel ul li a:hover,
#mobile-nav ul li a:hover {
  background: rgba(0,86,179,0.06);
  color: var(--primary-color);
}

/* --------------------------------------------------------------------- */
/* HERO SECTION */
/* --------------------------------------------------------------------- */

.hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('family.jpg'); 
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero h1 { font-size: 3rem; margin-bottom: 10px; }
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* --------------------------------------------------------------------- */
/* ---------- OFFER MARQUEE + CARD (integrated) ---------- */
/* --------------------------------------------------------------------- */

/* container spacing */
.offer-container {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

/* the strip background */
.offer-strip {
  overflow: hidden;
  background: linear-gradient(90deg, #e6f1fe 22%, #0056b3 100%);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem; /* gap between strip and card */
}

/* ---------- MARQUEE (updated for smoother repeats & mobile) ---------- */

/* viewport */
.marquee {
  width: 100%;
  overflow: hidden;
  outline: none;
}

/* animated wrapper (JS sets --marquee-duration) */
/* NOTE: animation now moves -100% (full width) */
.marquee-inner {
  display: flex;
  align-items: center;
  will-change: transform;
  animation: marquee-anim var(--marquee-duration, 12s) linear infinite;
}

/* track(s) that contain the repeated items */
.marquee-track {
  display: flex;          /* use flex for predictable sizing */
  align-items: center;
  gap: var(--offer-gap);
  white-space: nowrap;
}

/* text item */
.marquee-item {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  color: #111;
  padding-right: 8px;
}

/* pause on hover / focus for accessibility */
.marquee:hover .marquee-inner,
.marquee:focus .marquee-inner {
  animation-play-state: paused;
}

/* new animation moves left by the full duplicated content width */
@keyframes marquee-anim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* full width scroll */
}

/* Offer card below the strip */
.offer-block { display: flex; justify-content: center; }

.offer-card {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
  border: 1px solid rgba(0,86,179,0.06);
  box-shadow: 0 6px 18px rgba(6,30,60,0.06);
  color: var(--text-color);
}

.offer-main { margin: 0; font-size: 1.05rem; line-height: 1.3; font-weight: 600; }
.offer-actions { display: flex; gap: 10px; }
.offer-card .btn-primary { padding: 10px 18px; font-weight: 700; border-radius: 8px; }

/* --------------------------------------------------------------------- */
/* ABOUT SECTION */
/* --------------------------------------------------------------------- */

.about-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 2rem; text-align: left; }

.about-card {
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 4px 10px #45596d;
    background: #e6f1fe;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color); 
    padding-bottom: 5px;
}

.preference-list, .mission-list, .choice-list { list-style: none; padding-left: 0; margin-bottom: 15px; }

.preference-list li, .mission-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}
.preference-list li::before, .mission-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.choice-list { display: grid; grid-template-columns: 1fr; gap: 5px; }
.choice-list li { padding-left: 0; margin-bottom: 5px; font-weight: 600; color: var(--primary-color); }

/* --------------------------------------------------------------------- */
/* PACKAGES & ACCORDION */
/* --------------------------------------------------------------------- */

.container { padding: 4rem 5%; }
.bg-light { background: var(--light-bg); }
h2 { text-align: center; margin-bottom: 2rem; color: var(--primary-color); }

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.package-card {
    background: #e6f1fe;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px #45596d;
    border-top: 5px solid var(--primary-color);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price { font-size: 1.5rem; color: var(--accent-color); font-weight: bold; }

.channel-list {
    display: none;
    background: #f9f9f9;
    padding: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}
.channel-list.active { display: block; }

.toggle-btn {
    background: none;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    width: 100%;
}

/* --------------------------------------------------------------------- */
/* FLOATING ICONS (TELEPHONE ONLY) */
/* --------------------------------------------------------------------- */

.telephone-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;
}
.telephone-float img { width: 100%; height: 100%; }

/* ---------- Contact page layout & cards ---------- */

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 520px; /* left column fluid, right column fixed for map */
  gap: 28px;
  align-items: start;
}

/* stack on smaller screens */
@media (max-width: 992px) {
  .contact-page-grid { grid-template-columns: 1fr; padding-bottom: 2rem; }
}

/* simple card common style used on contact page */
.card {
  background: #e6f1fe;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px #45596d;
  border-top: 5px solid var(--primary-color);
}

/* left column containers */
.contact-left .contact-card { padding-bottom: 12px; }
.contact-row { display:flex; gap: 14px; align-items:flex-start; margin-bottom:6px; }
.contact-icon-wrap { font-size: 1.35rem; width: 34px; text-align:center; color:var(--primary-color); }

 /* hours layout */
.hours-card .hours-row, .hours-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--secondary-text); font-weight:600; }
.hours-time { font-weight:700; color: #222; }
.hours-time.closed { color: #d9534f; font-weight:700; }

 /* right column map wrapper */
.map-wrap { padding: 12px; }
.map-wrap iframe { border-radius: 8px; display:block; }

 /* small utility for action buttons beneath map */
.map-wrap .btn-primary { display:inline-block; text-decoration:none; color:white; background:var(--primary-color); padding:8px 14px; border-radius:8px; font-weight:700; }

 /* Reduce vertical gap on Contact page */
.contact-section {
    padding-top: 0rem !important;
    padding-bottom: 2rem !important;
}

/* --------------------------------------------------------------------- */
/* FOOTER STYLES (4-COLUMN GRID LAYOUT) */
/* --------------------------------------------------------------------- */

footer {
    --footer-dark-bg: #212529;
    --footer-text-color: #bbbbbb;
    --footer-heading-color: #f4f4f4;
    --footer-bottom-bg: #1a1e21;
    --footer-developer-accent: #6aa84f;
    background: var(--footer-dark-bg);
    color: var(--footer-text-color);
    font-size: 0.95rem;
}
 /* ---------- FOOTER (fixed icons -> keep original colors) ---------- */
.footer-top {
  border-bottom: 1px solid #3a3f45;
  padding: 3rem 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
  text-align: left;
}

.footer-col h3 {
  color: var(--footer-heading-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Branding / logo */
.footer-branding-col .logo {
  color: var(--footer-heading-color);
  margin-bottom: 10px;
}
/* keep logo image colors as-is (remove inversion) */
.footer-branding-col .logo img {
  filter: none;
  height: 35px;
  display: inline-block;
  vertical-align: middle;
}

/* Footer description */
.footer-about-text {
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Social icons row */
.footer-social {
  display: flex;
  align-items: center;
}

/* spacing between links */
.footer-social a {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-social .footer-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none !important;        /* IMPORTANT: prevent accidental inversion */
  mix-blend-mode: normal !important;
  opacity: 0.95;
  display: inline-block;
}
/* Links & support columns */
.footer-links-col ul,
.footer-support-col ul {
  list-style: none;
  padding: 0;
}

.footer-links-col a,
.footer-support-col a {
  color: var(--footer-text-color);
  text-decoration: none;
  line-height: 2.2;
  transition: color 0.2s;
  display: block;
}

.footer-links-col a:hover,
.footer-support-col a:hover {
  color: var(--primary-color);
}

.footer-contact-details-col p {
  margin-bottom: 10px;
  line-height: 1.4;
}

.footer-contact-details-col a {
  color: var(--footer-text-color);
  text-decoration: none;
}

.footer-contact-details-col a:hover {
  color: var(--primary-color);
}

/* --------------------------------------------------------------------- */
/* BOTTOM BAR (Developer and Copyright) */
/* --------------------------------------------------------------------- */
/* Footer Bottom Alignment Fix */
.footer-bottom {
    background: var(--footer-bottom-bg);
    padding: 15px 0;
}

.footer-bottom-content {
    text-align: center;           /* CENTER ALIGN EVERYTHING */
    display: flex;
    flex-direction: column;       /* STACK TEXT PROPERLY */
    align-items: center;
    justify-content: center;
    gap: 6px;                      /* SPACE BETWEEN LINES */
}

.footer-developed-by,
.footer-bottom-content p {
    margin: 0;
    padding: 0;
    text-align: center;           /* ENSURE TEXT IS CENTERED */
    width: 100%;
}
.footer-developed-by span {
    color: #6ba8f2;  /* Sahil Karande colour (you can change this) */
    font-weight: 600;              /* optional: makes it look sharper */
}

/* --------------------------------------------------------------------- */
/* MOBILE RESPONSIVE QUERIES */
/* --------------------------------------------------------------------- */

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 800px) {
    .navbar { padding: 0.8rem 1rem; }
    .logo img { height: 40px; }
    .logo { font-size: 0.9rem; gap: 5px; }
    .language-selector select { padding: 5px 8px; font-size: 0.8rem; }
    .btn-whatsapp-header { height: 30px; width: 30px; margin-left: 10px; }
    /* SHOW the hamburger menu button */
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-links { display: none; } 

    .hero {
        background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('family2.jpg');
        background-size: cover;
        background-position: center top;
        height: 80vh;
    }
    .hero h1 { font-size: 1.8rem; }

    /* marquee smaller on mobile */
    .marquee-item { font-size: 1rem; }
    :root { --offer-gap: 1.2rem; } /* mobile: reduce gap so many items fit */

    .offer-card {
        font-size: 1rem;
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .about-content { grid-template-columns: 1fr; gap: 20px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 15px; text-align: left; }
    .footer-branding-col { grid-column: 1 / -1; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-contact-details-col { grid-column: 1 / -1; text-align: center; margin-top: 10px; }

    .footer-bottom-content { flex-direction: column; text-align: center; gap: 8px; }
}

/* --- existing CSS above remains unchanged --- */

/* Support Page Cards — Styled Exactly Like Package Cards */
.support-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* Match the package-card styling */
.support-card {
    background: #e6f1fe;                    /* same background */
    padding: 20px;
    border-radius: 10px;                    /* same rounded corners */
    box-shadow: 0 4px 10px #45596d;         /* same shadow */
    border-top: 5px solid var(--primary-color); /* same top border */
    /* ensure cards use full available width and are accessible on small screens */
    width: 100%;
    box-sizing: border-box;
}

/* Headings inside support card */
.support-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

/* Accordions inside card */
.support-card details {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.support-card summary {
    font-weight: 600;
    cursor: pointer;
    color: #333;
}

.support-card p {
    margin-top: 8px;
    color: #444;
    font-size: 0.95rem;
}

/* ---------------------------
   RESPONSIVE: STACK SUPPORT CARDS
   --------------------------- */

/* Make the support cards stack vertically on small screens (mobile) */
@media (max-width: 800px) {
  .support-cards {
    grid-template-columns: 1fr;  /* stack: Quick Fixes above FAQs */
    gap: 14px;
    padding: 0 8px;
  }

  .support-card {
    padding: 14px;
    border-radius: 10px;
  }

  .support-card details {
    padding: 10px;
  }
}

/* ---- keep existing mobile queries below unchanged ---- */

/* ---------------------------
   TERMS PAGE: remove white gap
   --------------------------- */

/* target only the Terms page so other pages are unchanged */
.terms-page .container.bg-light {
  /* keep header look but reduce bottom gap */
  padding-top: 3.5rem;      /* same as before */
  padding-bottom: 0.8rem;   /* reduce bottom padding so grey band ends closer to card */
  margin-bottom: 0;         /* remove any extra margin */
  background: #ffffff; /* ensure same grey */
}

/* make the block that holds the card continue the same grey background */
.terms-page .terms-content {
  background: #ffffff; /* extends the grey behind the card */
  padding-top: 0.6rem;         /* small spacing between header and card */
  padding-bottom: 2.5rem;
  margin-top: 0;               /* ensure no extra gap */
}

/* keep card visual intact but avoid an extra top margin that creates visual gap */
.terms-page .terms-content .card {
  margin-top: 0;
  background: #e6f1fe; /* same pale-blue card background */
  box-shadow: 0 6px 18px rgba(6,30,60,0.06);
  border-top: 5px solid var(--primary-color);
}

/* small screen tweaks */
@media (max-width: 768px) {
  .terms-page .container.bg-light { padding-bottom: 0.6rem; }
  .terms-page .terms-content { padding-top: 0.4rem; padding-bottom: 1.6rem; }
  .terms-page .terms-content .card { padding: 18px; }
}

/* ========================================================================== */
/* === MOBILE MENU ENHANCEMENTS (Hamburger Animation + Backdrop) — ADDED === */
/* ========================================================================== */

/* slightly increase button size and set consistent alignment */
.mobile-menu-toggle {
  width: 40px;
  height: 30px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1300;
}

/* transformed X state */
.mobile-menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Backdrop behind mobile menu */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.mobile-nav-backdrop.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Disable scrolling when menu open */
body.nav-open {
  overflow: hidden;
}

/* Slightly larger touch targets */
.mobile-nav-panel ul li a {
  padding: 14px 16px;
  font-size: 1.04rem;
}

/* keep panel slightly elevated and readable on very small screens */
@media (max-width: 420px) {
  .mobile-nav-panel { left: 6px; right: 6px; border-radius: 10px; padding: 8px; }
  .mobile-nav-panel ul { padding: 8px; gap: 6px; }
  .mobile-nav-panel ul li a { padding: 12px 14px; }
}
.channel-list { max-height: 320px; overflow-y: auto; padding: 8px; }
.channel-list ul { columns: 2; column-gap: 18px; list-style: none; }
@media (max-width: 600px) {
  .channel-list ul { columns: 1; }
}

/* END OF FILE */
