/* ----------------------------------------------------
   GLOBAL STYLES
---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #fafbff;
    color: #222;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADINGS */
h1, h2, h3, h4 {
    font-weight: 700;
    color: #004a99;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.3rem; }

/* ----------------------------------------------------
   TOP BAR
---------------------------------------------------- */
.top-bar {
    background: #f4f8ff;
    padding: 10px 0;
    border-bottom: 1px solid #dbe5f3;
}

/* ----------------------------------------------------
   NAVBAR
---------------------------------------------------- */
.navbar {
    background: #fff;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #004a99;
    text-decoration: none;
}

/* NAV MENU */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

.nav-link:hover {
    color: #004a99;
}

/* BOOK APPOINTMENT BUTTON */
.nav-link-button {
    background: #004a99;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

/* ----------------------------------------------------
   HAMBURGER BUTTON — MENU BAR STYLE
---------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 40px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100001;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #004a99;
    border-radius: 2px;
}

/* ----------------------------------------------------
   MOBILE MENU SLIDING
---------------------------------------------------- */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* start hidden */
    width: 75%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 120px 30px;
    gap: 1.8rem;
    transition: right 0.35s ease;
    z-index: 99999;
    box-shadow: -4px 0 14px rgba(0,0,0,0.15);
}

.nav-menu.active {
    right: 0;
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero {
    height: 75vh;
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    background: rgba(0, 40, 90, 0.55);
    inset: 0;
    position: absolute;
}

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px; /* spacing between title, subtitle, description, and button */
    text-align: center;
}

.hero-content h1 {
    text-align: center;
}

.hero-description {
    max-width: 680px;
    margin: 0 auto;
}

.cta-button {
    background: #fff;
    color: #004a99;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px; /* spacing from hero description */
}

/* ----------------------------------------------------
   SECTION CARD BACKGROUNDS
---------------------------------------------------- */
.stats-grid, .service-grid, .media-grid, .testimonial-grid {
    display: grid;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(145deg, #e6f0ff, #ffffff);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-card {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.media-card, .testimonial-card {
    background: linear-gradient(145deg, #f9faff, #ffffff);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* ----------------------------------------------------
   CTA BANNER
---------------------------------------------------- */
.cta-banner {
    background: #004a99;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.cta-banner h2 { color: white; }
.cta-banner p { color: #e6f0ff; font-size: 1.1rem; margin-bottom: 25px; }

.cta-button-light {
    background: white;
    color: #004a99;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
    background: #002d5c;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 40px;
}

.footer-col h3 { color: white; margin-bottom: 18px; }
.footer-col ul li a {
    color: #cfe3ff;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    font-size: 1.05rem;
}
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #0055aa;
}

footer p, footer a { font-size: 1.05rem; }

/* ----------------------------------------------------
   ABOUT SECTION
---------------------------------------------------- */
.about-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.about-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center; /* vertically center description with image */
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ----------------------------------------------------
   ABOUT IMAGE FIX WITH HOVER ANIMATION
---------------------------------------------------- */
.about-image {
    background: linear-gradient(135deg, #f0f7ff, #ffffff);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.about-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.about-description {
    flex: 1;
    font-size: 1.05rem;
    color: #444;
}

/* ----------------------------------------------------
   SERVICE GRID (3 per row desktop)
---------------------------------------------------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.service-img {
    width: 100%;
    max-width: 120px;
    margin-bottom: 15px;
    border-radius: 8px;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #004a99;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 1rem;
    color: #444;
}

/* ----------------------------------------------------
   MODAL
---------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    z-index: 100000;
}
.modal-box {
    background: white;
    width: 90%;
    max-width: 420px;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}
.modal-close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 32px;
    cursor: pointer;
}
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    color: white;
    margin-top: 10px;
    font-weight: 600;
    cursor: pointer;
}
.email-btn { background: #004a99; }
.whatsapp-btn { background: #25D366; }

/* ----------------------------------------------------
   MOBILE STYLES
---------------------------------------------------- */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-menu {
        width: 75%;
        padding: 120px 20px;
    }

    .hero {
        height: auto;
        padding-top: 130px;
        padding-bottom: 80px;
    }

    .hero-content h1 { font-size: 2rem; }
    .hero-description { font-size: 1rem; }

    .cta-banner p { font-size: 1.1rem; line-height: 1.6; padding: 0 20px; }
    footer p, footer a { font-size: 1.15rem; }

    .about-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        max-width: 260px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-img {
        max-width: 100px;
    }
}
