:root {
    --royal: #1a1a1a;
    /* primary dark */
    --royal-2: #2d2d2d;
    --color-primary: #1a1a1a;
    --gold: #b8956a;
    --gold-red: #d4af77;
    --neutral-cream: #f5f3f0;
    --muted: #666666;
    --color-white: #ffffff;
    --glass: rgba(255, 255, 255, 0.06);
    --max-width: 1200px;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --transition-speed: 0.5s;
    --box-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-elevated: 0 15px 45px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, var(--neutral-cream), #ffffff 40%);
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.4;
}

/*  helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-muted {
    color: var(--muted) !important;
}

.text-primary {
    color: var(--royal) !important;
}

.text-secondary {
    color: var(--gold) !important;
}

.text-light {
    color: white !important;
}

.border-left-primary {
    border-left: 3px solid var(--royal) !important;
}

.border-right-primary {
    border-right: 3px solid var(--royal) !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

strong {
    color: var(--royal) !important;
}

.btn-outline-primary {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
}

.btn-outline-primary:hover {
    background: var(--gold) !important;
    color: var(--color-primary) !important;
}


.section-padding {
    padding: 120px 0;
}

.section-title {

    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    /* Space for the underline */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--gold);
    transition: width 0.3s ease-in;
}

.section-title:hover::after {
    width: 100%;
}

.text-primary-disruptor {
    color: var(--gold) !important;
}

blockquote {
    padding: 1em 2.5em 0 3.5em;
    position: relative;
    border-left: 5px solid var(--royal);
    font-size: 1.4rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-style: italic;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16)0 10px 16px 0px;
}

blockquote::before {
    content: '\201C';
    color: rgba(0, 124, 124, 0.5);
    font-size: 2.1rem;
    left: 1rem;
    top: 0.4rem;

}

blockquote::after {
    content: '\201D';
    color: rgba(0, 124, 124, 0.5);
    font-size: 2.1rem;
    left: 1rem;
    top: 0.4rem;

}

/* TOP BAR WITH ANIMATIONS */
.top-bar {
    width: 100%;
    background: linear-gradient(135deg, var(--royal-2), #0b2b5a);
    padding: 20px 24px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 31;
    overflow: hidden;
}

.top-bar-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
}

.top-bar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), #e5b84a);
    color: var(--royal);
    font-weight: 700;
    font-family: Merriweather;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(197, 157, 38, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.top-bar-text {
    color: white;
}

.top-bar-name {
    font-family: Merriweather;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.top-bar-tagline {
    font-size: 12px;
    opacity: 0.9;
}

/* Star Animation */
.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.star:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.star:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    top: 40%;
    left: 30%;
    animation-delay: 0.3s;
}


/* NAV */
.nav {
    width: 100%;
    position: fixed;
    top: 88px;
    left: 0;
    z-index: 30;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(42, 63, 63, 0.425), rgba(35, 59, 57, 0.521));
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgb(255, 255, 255) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--royal-2);
}

.logo .mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--royal-2), #153a7a);
    color: white;
    font-weight: 700;
    font-family: Merriweather;

    box-shadow: 0 6px 18px rgba(11, 43, 90, 0.18);
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px
}

.menu a,
.logo .tag-line,
.logo .app_name {
    color: rgba(255, 255, 255, 0.952);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.menu a:hover {
    color: rgb(255, 255, 255);
}

.scrolled .menu a,
.scrolled .app_name,
.scrolled .tag-line {
    color: var(--color-primary) !important;

}

.mobile-menu {
    display: none;
    position: fixed;
    top: 88px;
    right: 0;
    width: 280px;
    height: calc(100vh - 88px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 20;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    color: var(--royal);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(11, 43, 90, 0.1);
}

/* Mobile menu hover effects */


.menu .cta-invite {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    background: linear-gradient(90deg, var(--gold), #e5b84a);
    color: #08203a;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(197, 157, 38, 0.12);
    transition: transform 0.2s;
}

.menu .cta-invite:hover,
.mobile-menu .cta-invite:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(197, 157, 38, 0.18);
}

.mobile-menu .cta-invite {
    width: 100%;
    margin-top: 10px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--royal);
    border-radius: 2px;
    transition: all 0.3s;
}

.scrolled .mobile-toggle span {
    background: var(--royal);
}


/* Mobile Toggle Active State */
.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-right: 26px;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .top-bar {
        padding: 16px 16px;
    }

    .top-bar-mark {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .top-bar-name {
        font-size: 16px;
    }

    .top-bar-tagline {
        font-size: 10px;
    }

    .nav {
        top: 72px;
    }

    .nav-inner {
        padding: 10px 16px;
    }

    .menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
        top: 88px;
        height: calc(100vh - 88px);
    }

    .hero {
        padding-top: 130px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 70px;
    }
}

body.menu-open {
    overflow: hidden;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(69deg, #2a3636d2 0%, #303e3ed7 100%), url('../images/hero-banner.PNG');
    background-position: center;
    background-attachment: inherit;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 150px;
}

.split {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 40px;
    align-items: center;
    width: 100%;
}

@media (max-width:1024px) {
    .mobile-toggle {
        display: flex;
    }
}

@media (max-width:992px) {
    .split {
        grid-template-columns: 1fr;
    }

    .container {
        padding-bottom: 30px
    }

    .nav-inner {
        padding: 10px 16px
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile scrolled state */
    .scrolled .mobile-toggle span {
        background: white;
    }
}

/* Left content */
.headline {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
    color: goldenrod;
}

.headline strong {
    color: var(--color-secondary);
}

.subtitle {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 40px;
    height: 30px;
    /* Keep height constant during typing */
}

.left {
    padding: 28px 20px
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--glass);
    border: 1px solid rgba(11, 43, 90, 0.05);
    font-weight: 600;
    font-size: 13px;
    color: var(--royal-2);
    margin-bottom: 18px
}

h1 {
    margin: 0 0 14px 0;
    font-family: Merriweather, serif;
    font-size: 48px;
    line-height: 1.02;
    color: var(--royal-2);
    letter-spacing: -0.6px
}

@media (max-width:600px) {
    h1 {
        font-size: 34px
    }
}

.subtitle {
    font-size: 16px;
    color: rgba(3, 17, 34, 0.78);
    max-width: 58ch;
    margin-bottom: 22px
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px
}

.pill {
    background: #c59d2638;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid #e5b94a85;
}

.buttons {
    display: flex;
    gap: 14px;
    align-items: center
}

.btn-primary {
    background: linear-gradient(90deg, var(--gold), #e6b94b);
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 36px rgba(197, 157, 38, 0.16)
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(3, 17, 34, 0.06);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

/* Right image card */
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 20px 60px rgba(3, 10, 20, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible
}

.portrait {
    width: 420px;
    height: 520px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--royal-2), #274b87);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: Merriweather;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    overflow: hidden
}

.portrait .placeholder {
    opacity: 0.12;
    font-size: 18px
}

@media (max-width:1100px) {
    .portrait {
        width: 360px;
        height: 460px
    }
}

@media (max-width:900px) {
    .card {
        order: 2
    }

    .portrait {
        width: 100%;
        height: 420px
    }
}

.portrait-image {
    width: 150%;
    right: 90px;
    position: relative;
    top: 120px;
}

/* background abstract shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.16;
    transform: translate3d(0, 0, 0);
}

.shape.one {
    width: 420px;
    height: 420px;
    right: -120px;
    top: -60px;
    background: linear-gradient(135deg, var(--gold), #f0d08a)
}

.shape.two {
    width: 520px;
    height: 520px;
    left: -160px;
    bottom: -120px;
    background: linear-gradient(45deg, var(--royal-2), #143a7a);
    opacity: 0.12
}

/* scroll indicator */
.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px
}

.mouse {
    width: 28px;
    height: 42px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.63);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px
}

.wheel {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: rgba(250, 209, 28, 0.897);
    animation: wheel 1.6s infinite
}

@keyframes wheel {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(8px);
        opacity: 0.6
    }

    100% {
        transform: translateY(0)
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* subtle entrance animations */
.reveal-text,
.typing-animation,
.reveal-left,
.reveal-right,
.reveal-fade,
.reveal-bottom,
.stat-number {
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal-text {
    transform: translateY(20px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-bottom {
    transform: translateY(50px);
}

/* Activated State */
.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered transition for service cards */
.reveal-bottom[data-delay="0"].revealed {
    transition-delay: 0s;
}

.reveal-bottom[data-delay="200"].revealed {
    transition-delay: 0.2s;
}

.reveal-bottom[data-delay="400"].revealed {
    transition-delay: 0.4s;
}

.reveal-bottom[data-delay="600"].revealed {
    transition-delay: 0.6s;
}

.reveal-bottom[data-delay="150"].revealed {
    transition-delay: 0.15s;
}

.reveal-bottom[data-delay="300"].revealed {
    transition-delay: 0.3s;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
    opacity: 1;
    transform: translateY(0)
}

.glow {
    box-shadow: 0 12px 40px rgba(197, 157, 38, 0.12);
    transition: box-shadow .4s ease
}

/* accent underline */
.title-underline {
    display: block;
    height: 8px;
    width: 70px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--gold), #e6b94b);
    margin-top: 12px;
    margin-bottom: 6px;
    transition: width 0.2s ease;
}

.title-underline:hover {
    width: 100px;
}

/* footer note phrase */
.highlight-phrase {
    margin-top: 18px;
    font-style: italic;
    color: rgba(3, 17, 34, 0.55);
    font-weight: 600
}

/* small screens tweaks */
@media (max-width:520px) {
    .eyebrow {
        display: none
    }

    .highlights {
        gap: 8px
    }

    .portrait {
        height: 360px
    }
}

/* About sections */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.about-text p strong {
    font-weight: 700;
    color: var(--color-primary);
}

.about-card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.photo-card {
    background-color: var(--color-white);
    padding: 15px;
    border-radius: 20px;
    box-shadow: var(--box-shadow-elevated);
    transform: rotate(2deg);
    /* Subtle tilt */
    transition: transform var(--transition-speed) ease-in-out;
}

.photo-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.profile-photo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* Animated Stats Widget */
.stats-widget {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 400px;
    background: var(--royal) !important;
    color: var(--muted) !important;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-elevated);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-red);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
}


.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-soft);
    text-align: center;
    transition: all 0.4s ease-in-out;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--box-shadow-elevated);
    border-color: #2a3636;
}

.icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #2a3636;
    color: goldenrod;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.4);
    transition: background-color 0.3s ease;
}

.service-card:hover .icon-circle {
    background-color: goldenrod;
    color: #2a3636;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.read-more {
    color: #303e3e;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2a3636;
}

/* --- 7. EVENTS WIDGET --- */
.countdown-widget {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-soft);
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.countdown-widget p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.countdown-timer {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-dark);
    letter-spacing: 2px;
}

.countdown-timer span {
    color: var(--color-secondary);
}

.events-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    /* Space for scrollbar */
}

.event-card {
    flex: 0 0 350px;
    /* Fixed width for slider effect */
    background: var(--color-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-soft);
    position: relative;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-card h4 {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.event-card p {
    color: #555;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.event-card i {
    color: var(--color-secondary);
    margin-right: 8px;
}

.event-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 0 10px 0 10px;
    text-transform: uppercase;
}

/* --- 8. TESTIMONIALS SLIDER --- */
.testimonial-slider-container {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-elevated);
    text-align: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
}

.rating {
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 30px;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(255, 184, 31, 0.3);
}

.client-name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.client-title {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.slider-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* --- 9. PROGRAMS SECTION --- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.program-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.program-header i {
    font-size: 1.8rem;
    color: var(--color-secondary);
}

.program-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.program-teaser {
    font-style: italic;
    color: #777;
    margin-bottom: 20px;
    min-height: 40px;
}

.program-details {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.6s ease-in-out, opacity 0.4s ease-in-out;
    margin-bottom: 0;
    overflow: hidden;
}

/* Show details on hover/focus */
.program-card:hover .program-details {
    max-height: 200px;
    opacity: 1;
    margin-bottom: 20px;
}

.program-details ul {
    list-style: none;
    padding-left: 0;
}

.program-details ul li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #444;
}

.program-details ul li i {
    color: var(--color-secondary);
    margin-right: 8px;
}

.btn-enroll {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-enroll:hover {
    background-color: var(--gold);
    transform: scale(1.05);
}

/* --- 10. BLOG SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    gap: 30px;
}

/* Masonry effect is primarily done by JS for true masonry, but this provides a card-based layout */
.blog-card {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--box-shadow-soft);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* Hover Zoom Effect */
.blog-card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 25px;
}

.card-content h4 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.read-more-blog {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
}

/* --- 11. CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    /* Glassmorphism/soft dark touch */
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: var(--color-white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* Floating Label Logic */
.contact-form label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
    pointer-events: none;
}

.contact-form input:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:focus+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    padding: 0 5px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* Placeholder fix for initial state in some browsers */
.contact-form input:not([type="submit"]):not(:focus):placeholder-shown {
    border-color: rgba(255, 255, 255, 0.3);
}


.map-embed-placeholder {
    height: 300px;
    background-color: #002d5c;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    box-shadow: var(--box-shadow-soft);
}

.contact-info {
    margin-top: 20px;
    font-size: 1.05rem;
}

.contact-info i {
    color: var(--color-secondary);
    margin-right: 10px;
}

.cta-submit {
    background-color: var(--color-secondary);
    color: var(--color-dark);
}

.cta-submit:hover {
    background-color: var(--color-white);
}

/* --- 12. FOOTER --- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--color-white);
}

.footer-brand p {
    margin: 15px 0 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-icons a {
    color: var(--color-secondary);
    font-size: 1.3rem;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-white);
    transform: scale(1.1);
}

.footer-links h4,
.newsletter-widget h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2.2;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-secondary);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    position: relative;
    /* Animation preparation */
    transition: all 0.5s ease;
}

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    flex-grow: 1;
    font-size: 1rem;
}

.btn-subscribe {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 12px 20px;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* --- 13. JAVASCRIPT ANIMATION CLASSES (Initial Hidden State) --- */
.reveal-text,
.typing-animation,
.reveal-left,
.reveal-right,
.reveal-fade,
.reveal-bottom,
.stat-number {
    opacity: 0;
    transition: all 1s ease-out;
}

.reveal-text {
    transform: translateY(20px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-bottom {
    transform: translateY(50px);
}

/* Activated State */
.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Staggered transition for service cards */
.reveal-bottom[data-delay="0"].revealed {
    transition-delay: 0s;
}

.reveal-bottom[data-delay="200"].revealed {
    transition-delay: 0.2s;
}

.reveal-bottom[data-delay="400"].revealed {
    transition-delay: 0.4s;
}

.reveal-bottom[data-delay="600"].revealed {
    transition-delay: 0.6s;
}

.reveal-bottom[data-delay="150"].revealed {
    transition-delay: 0.15s;
}

.reveal-bottom[data-delay="300"].revealed {
    transition-delay: 0.3s;
}


/* --- 14. MEDIA QUERIES (Responsiveness) --- */
@media (max-width: 1024px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid,
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .newsletter-widget {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .headline {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.4rem;
    }

    .menu.nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .scrolled .mobile-toggle span {
        background-color: var(--royal) !important;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 10px 20px;
        display: block;
        text-align: center;
    }

    .cta-nav {
        display: none;
        /* Hide secondary CTA on mobile nav */
    }

    .menu-toggle {
        display: block;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-card-container {
        order: 1;
    }

    .stats-widget {
        max-width: none;
    }

    .service-cards-grid,
    .blog-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

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