/* --------------------------------------------------
   PREMIUM DESIGN SYSTEM & CSS RESET
-------------------------------------------------- */

:root {
    /* Color Palette */
    --color-primary: #134380;
    --color-primary-light: #1e4b82;
    --color-accent: #00b9eb;
    --color-accent-hover: #009ecd;
    --color-text-dark: #2a3543;
    --color-text-light: #5a6676;
    --color-bg-cream: #fdfaf3;
    --color-bg-cream-dark: #faf5e9;
    --color-bg-white: #ffffff;
    --color-border: #e8e3d7;
    
    /* Gradients */
    --gradient-primary: radial-gradient(circle, #009ecc 0%, #134380 100%);
    --gradient-blue-overlay: linear-gradient(180deg, rgba(19, 67, 128, 0.85) 0%, rgba(0, 185, 235, 0.4) 100%);
    --gradient-text: linear-gradient(135deg, #134380 0%, #00b9eb 100%);
    
    /* Typography */
    --font-heading: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(19, 67, 128, 0.05);
    --shadow-md: 0 10px 20px rgba(19, 67, 128, 0.08);
    --shadow-lg: 0 15px 35px rgba(19, 67, 128, 0.12);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Presets */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.25;
}

/* --------------------------------------------------
   NAVIGATION HEADER (MOVED TO TOP & RESPONSIVE)
-------------------------------------------------- */

.top-header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(19, 67, 128, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Placeholder styling */
.logo-placeholder {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-accent {
    color: var(--color-primary);
}

.logo-text-sub {
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
}

.logo-link {
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-link:hover {
    opacity: 0.9;
}

/* Navigation Links */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Toggle Hamburger button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    left: 0;
    transition: var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* --------------------------------------------------
   ANNOUNCEMENT BAR
-------------------------------------------------- */

.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.announcement-bar .highlight-text {
    font-weight: 700;
    font-style: italic;
    color: var(--color-accent);
}

/* --------------------------------------------------
   HERO SECTION WITH VIDEO BACKGROUND
-------------------------------------------------- */

.hero-section {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem 1.5rem;
}

/* Video Background */
.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--color-primary);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Overlay removed */
    z-index: 2;
}

/* Hero Content Layout */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Logo has more room, pushing card smaller */
    gap: 3rem;
    align-items: center;
}

/* Hero Left Side: Brand Logo/Graphic */
.hero-brand {
    text-align: center;
}

.hero-logo-box {
    display: inline-block;
    padding: 1rem;
    max-width: 500px; /* Slightly larger logo wrapper */
}

.main-logo-img {
    width: 100%;
    height: auto;
    /* Stronger white glow drop-shadow filters */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.95)) 
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.85)) 
            drop-shadow(0 0 45px rgba(255, 255, 255, 0.6));
    transition: transform 0.5s ease;
}

.main-logo-img:hover {
    transform: scale(1.02);
}

.fallback-hero-logo h2 {
    color: var(--color-bg-white);
    font-size: 2.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 3px #134380; /* Dark blue drop shadow */
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.fallback-hero-logo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px #134380; /* Dark blue drop shadow */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inner Page Hero Header Text Shadows */
.inner-hero-section h1 {
    text-shadow: 2px 2px 3px #134380; /* Dark blue drop shadow */
}

.inner-hero-section p {
    text-shadow: 1px 1px 2px #134380; /* Dark blue drop shadow */
}

/* Hero CTA Blue Gradient Frame Design */
.hero-cta {
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-gradient-frame {
    background: var(--gradient-primary);
    padding: 6px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(19, 67, 128, 0.3);
    width: 100%;
    max-width: 740px; /* Wider card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-gradient-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(19, 67, 128, 0.4);
}

.cta-inner-card {
    background: var(--color-bg-cream);
    border-radius: 18px;
    padding: 1.5rem; /* Reduced padding from 2rem to 1.5rem */
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem; /* Reduced gap from 2rem to 1.5rem */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* CTA Profile Area */
.profile-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex: 0 0 170px;
}

.profile-img-wrapper {
    position: relative;
    width: 145px;
    height: 145px;
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.profile-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.profile-title {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* CTA Booking Area */
.booking-area {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    flex: 1;
}

.booking-headline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.25;
}

.action-pill-wrapper {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.phone-action-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    width: 100%;
    text-decoration: none;
    color: var(--color-primary);
    white-space: nowrap; /* Prevents phone number breaking lines */
    transition: var(--transition-fast);
}

.phone-action-pill:hover {
    background-color: #e5e5e5;
    border-color: #ccc;
    transform: scale(1.02);
}

.pill-icon {
    font-size: 1.1rem;
}

.pill-number {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.booking-action-pill {
    display: block;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-bg-white);
    padding: 0.95rem 1.5rem;
    width: 100%;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(19, 67, 128, 0.25);
    transition: var(--transition-fast);
}

.booking-action-pill:hover {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    box-shadow: 0 6px 20px rgba(19, 67, 128, 0.35);
    transform: scale(1.02);
}

.pill-caption {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.25rem;
}

.social-icon {
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.social-icon:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* --------------------------------------------------
   MAIN CONTENT AREA
-------------------------------------------------- */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem 1.5rem; /* Reduced top padding from 5rem to 2.5rem */
}

/* Welcome & Intro Section */
.intro-section {
    margin-bottom: 3.5rem; /* Reduced from 6rem */
}

.section-headline {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.intro-lead-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lead-question {
    font-size: 1.35rem;
    color: var(--color-primary);
    line-height: 1.4;
}

.lead-question.font-semibold {
    font-weight: 600;
}

.lead-cta {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    font-weight: 600;
    line-height: 1.4;
    border-left: 4px solid var(--color-accent);
    padding-left: 1rem;
}

.intro-body-text {
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    font-size: 1.05rem;
}

/* Quote Card Styling */
.intro-quote-card {
    background-color: var(--color-bg-cream);
    border-radius: 18px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.intro-quote-card::before {
    content: "“";
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    font-size: 6rem;
    color: rgba(0, 185, 235, 0.15);
    font-family: serif;
    line-height: 1;
}

.quote-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intro-quote-card blockquote p:last-child {
    font-size: 1.15rem;
    color: var(--color-text-dark);
    font-style: italic;
    line-height: 1.6;
}

/* Final Action Section */
.intro-final-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.intro-final-cta p {
    font-size: 1.15rem;
    color: var(--color-text-light);
}

.btn-primary {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-bg-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(19, 67, 128, 0.2);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 67, 128, 0.3);
}

/* --------------------------------------------------
   PROGRAM HIGHLIGHTS SECTION
-------------------------------------------------- */

.programs-section {
    padding-top: 0.5rem; /* Reduced from 2rem */
}

.programs-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    font-weight: 700;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--color-bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(19, 67, 128, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 185, 235, 0.2);
}

.card-img-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Square Aspect Ratio */
    background-color: var(--color-bg-cream-dark);
}

.card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.program-card:hover .card-img {
    transform: scale(1.05);
}

.card-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-bg-cream-dark) 0%, var(--color-border) 100%);
    border-bottom: 1px solid var(--color-border);
}

.card-img-placeholder span {
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    opacity: 0.7;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
    justify-content: space-between;
    text-align: center;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

.card-btn {
    display: block;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.card-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------
   FOOTER AREA
-------------------------------------------------- */

.main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.footer-cta-bar {
    background-color: var(--color-primary);
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer-cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-cta-text {
    color: var(--color-bg-white);
    font-size: 1.15rem;
    font-weight: 300;
}

.footer-cta-link {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-cta-link:hover {
    color: var(--color-bg-white);
    text-decoration: underline;
}

.footer-bottom-bar {
    background-color: #0b264b;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-text {
    font-weight: 300;
}

.credit-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.credit-text a:hover {
    color: var(--color-accent);
}

.footer-social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.footer-social-icon {
    color: var(--color-bg-white);
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icon:hover {
    color: var(--color-accent);
    opacity: 1;
    transform: translateY(-2px);
}

/* --------------------------------------------------
   MEDIA QUERIES (MOBILE RESPONSIVENESS)
-------------------------------------------------- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-brand {
        display: flex;
        justify-content: center;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-white);
        box-shadow: var(--shadow-md);
        border-bottom: 2px solid var(--color-primary);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Toggle active animation for hamburger button */
    .menu-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* CTA Card Mobile Stacking */
    .cta-inner-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    /* Sections spacing */
    .section-headline {
        font-size: 2.2rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-headline {
        font-size: 1.8rem;
    }
    
    .cta-inner-card {
        padding: 1.5rem;
    }
    
    .profile-area {
        flex-direction: column;
        text-align: center;
    }
    
    .pill-number {
        font-size: 1.1rem;
    }
    
    .booking-action-pill {
        padding: 0.9rem 1.5rem;
        font-size: 0.85rem;
    }
}
