/* CSS Variables */
:root {
    /* Color Palette */
    --primary-dark: #0F2027;
    /* Deep Blue / Blackish */
    --primary-blue: #203A43;
    /* Gradient Mid */
    --primary-light: #2C5364;
    /* Gradient Light */

    --gold: #D4AF37;
    /* Warm Gold */
    --gold-light: #F3E5AB;
    /* Light Gold for highlights */

    --text-light: #F8F9FA;
    /* Off-white text */
    --text-dim: #cbd5e0;
    /* Muted text */

    --glass-bg: rgba(255, 255, 255, 0.05);
    /* Glassmorph background */
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-serif: 'Noto Serif TC', serif;
    /* For refined, humanistic headings */
    --font-sans: 'Noto Sans TC', sans-serif;
    /* For readable body text */
    --font-eng: 'Outfit', sans-serif;
    /* For numbers and English */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-sans);
    /* Changed from --font-primary to --font-sans as --font-primary is not defined */
    background: var(--primary-dark);
    /* Changed from --bg-dark to --primary-dark as --bg-dark is not defined */
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    /* Smoother font rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* All transitions should be smooth */
a,
button,
.btn,
.glass-card,
.nav-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Refined hover states */
a:hover,
button:hover {
    transform: translateY(-1px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.text-gold {
    color: var(--gold);
}

/* Top Left Brand Logo */
.top-brand {
    position: absolute;
    top: 30px;
    left: 5%;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-en {
    font-family: var(--font-eng);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.brand-tw {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

/* Top Navigation */
.top-nav {
    position: absolute;
    top: 35px;
    right: 5%;
    z-index: 1000;
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.top-nav a:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .top-nav {
        display: none;
    }
}

/* Large Hero Button Override */
.hero-cta .btn-gold-style {
    padding: 16px 60px;
    font-size: 1.4rem;
    border-width: 2px;
    letter-spacing: 2px;
    gap: 16px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta-btn {
    padding: 10px 28px !important;
    border: 2px solid var(--gold);
    border-radius: 30px;
    color: var(--gold) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta-btn:hover {
    background: var(--gold);
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

.btn-nav {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 24px;
    border-radius: 50px;
    font-family: var(--font-serif);
}

.btn-nav:hover {
    background: var(--gold);
    color: var(--primary-dark) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    /* Use the user's background image */
    background-image: url('../img/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

/* Texture/Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darken the image slightly so text pops */
    background: rgba(15, 32, 39, 0.75);
    z-index: 0;
}

.hero-content {
    z-index: 1;
    width: 100%;
    padding-top: 60px;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-eng);
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.5;
    margin-bottom: 32px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 48px;
    max-width: 600px;
    border-left: 3px solid var(--gold);
    padding-left: 24px;
    line-height: 2.2;
}

.hero-info {
    display: flex;
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-light);
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.info-item i {
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    font-family: var(--font-eng);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Hero CTA Button - Glassmorphism */
.hero-cta {
    margin-top: 40px;
}

.btn-hero-glass {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--font-serif);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-hero-glass:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.btn-hero-glass .btn-text {
    letter-spacing: 2px;
}

.btn-hero-glass i {
    transition: transform 0.3s ease;
}

.btn-hero-glass:hover i {
    transform: translateX(5px);
}


/* Brand Advantage Section (Polished) */
.advantage-section {
    padding: 120px 0;
    /* Merge background seamlessly */
    background: linear-gradient(to bottom, #101820, #000000);
    position: relative;
    overflow: hidden;
}

.relative-box {
    position: relative;
}

/* Watermark Effect */
.watermark-30 {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 15rem;
    font-weight: 700;
    font-family: var(--font-eng);
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.advantage-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-header {
    text-align: center;
    margin-bottom: 80px;
}

.advantage-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.advantage-header p {
    font-size: 1.1rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* List Layout instead of Cards */
.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.adv-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: transparent;
    /* No card bg */
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: 0.3s;
}

.adv-item:last-child {
    border-bottom: none;
}

.adv-item:hover {
    transform: translateX(10px);
    border-bottom-color: rgba(212, 175, 55, 0.4);
}

.adv-item:hover .adv-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
    text-shadow: 0 0 15px var(--gold);
}

.adv-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: 0.3s;
}

.adv-text h4 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.adv-text p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

/* Remove Red YouTube - keep it uniform */
.youtube-icon {
    color: var(--gold);
    /* Uniform gold */
}

/* RWD */
@media (max-width: 768px) {
    .watermark-30 {
        font-size: 10rem;
        top: 0;
        right: -20px;
        opacity: 0.5;
    }

    .adv-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 30px 0;
    }

    .adv-item:hover {
        transform: translateY(-5px);
    }

    .adv-item {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .adv-link {
        flex-direction: column;
    }

    .ready-text {
        font-size: 3rem;
        top: 20px;
        left: 20px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 16px 40px;
        font-size: 1.1rem;
        width: 90%;
        max-width: 320px;
    }

    .social-media {
        gap: 16px;
    }

    .social-media a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .contact-info {
        font-size: 0.85rem;
    }
}

/* Philosophy Section */
.philosophy {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--primary-dark), #101820);
    position: relative;
}

.section-subtitle {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    margin-bottom: 32px;
    font-style: italic;
}

.philosophy-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.philosophy-intro h2 {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.text-gold-underline {
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.text-gold-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: var(--gold);
}

.divider-gold {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 30px;
}

.philosophy-text {
    font-size: 1.2rem;
    color: var(--text-dim);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.card-subtitle {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.glass-card p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.8;
}

/* Steps Section */
.steps {
    padding: 100px 0;
    background: linear-gradient(to bottom,
            #0F2027 0%,
            /* Deep blue-black (from previous section) */
            #1a2a35 20%,
            /* Blue-gray transition */
            #2d3e4a 40%,
            /* More gray, less blue */
            #3a4a56 60%,
            /* Neutral gray-blue */
            #2d3e4a 80%,
            /* Back to blue-gray */
            #101820 100%
            /* End with dark (next section) */
        );
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
    /* Space for line on mobile override */
}

/* Timeline Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(212, 175, 55, 0.4);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 60px;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 6px;
    /* Align with first line of text */
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-size: 0.9rem;
    border-radius: 4px;
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
}

.step-num {
    font-family: var(--font-eng);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
}

.timeline-desc {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-dim);
}

/* Course List Styling */
.course-list {
    list-style: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
}

.course-list li strong {
    color: var(--text-light);
}

.highlight-list li {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Starting Transition Section */
.starting-section {
    padding: 120px 0;
    background: #0a192f;
    /* Match illustration background color */
    position: relative;
    overflow: hidden;
}

.starting-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.starting-left .illustration-img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.starting-right {
    text-align: center;
}

.starting-title {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 30px;
    font-weight: 700;
    font-style: italic;
}

.starting-question {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.arrow-down {
    font-size: 3rem;
    color: var(--gold);
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    will-change: transform;
}

/* Bounce animation for arrow */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
    }
}

@-webkit-keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        -webkit-transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
        -webkit-transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
        -webkit-transform: translateY(-10px);
    }
}

/* Advantage Section - Glassmorphism Style */
.advantage-section {
    padding: 120px 0;
    background: #0a192f;
    /* Match Starting section background color */
    position: relative;
}

.relative-box {
    position: relative;
}

.watermark-30 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.03);
    z-index: 0;
    font-family: var(--font-eng);
    pointer-events: none;
}

.advantage-content {
    position: relative;
    z-index: 1;
}

.advantage-header {
    text-align: center;
    margin-bottom: 80px;
}

.advantage-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.highlight-number {
    font-size: 3.5rem;
    font-weight: 900;
}

.advantage-header p {
    font-size: 1.1rem;
    color: var(--text-dim);
}

.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Glassmorphism Card */
.adv-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.adv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.adv-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.adv-item:hover::before {
    opacity: 1;
}

.adv-link {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

/* Make clickable links more obvious */
a.adv-link {
    cursor: pointer;
    position: relative;
}

a.adv-link .adv-text h4::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23D4AF37' viewBox='0 0 24 24'%3E%3Cpath d='M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

a.adv-link:hover .adv-text h4::after {
    opacity: 1;
}

.adv-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.adv-item:hover .adv-icon {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
    transform: scale(1.1);
}

.adv-text {
    flex: 1;
}

.adv-text h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.adv-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Slide animations */
.slide-in-left,
.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}


.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Glassmorphism Card */
.adv-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.adv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.adv-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.adv-item:hover::before {
    opacity: 1;
}

.adv-link {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

/* Make clickable links more obvious */
a.adv-link {
    cursor: pointer;
    position: relative;
}

a.adv-link .adv-text h4::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23D4AF37' viewBox='0 0 24 24'%3E%3Cpath d='M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2v7z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    vertical-align: middle;
}

a.adv-link:hover .adv-text h4::after {
    opacity: 1;
}

.adv-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.adv-item:hover .adv-icon {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
    transform: scale(1.1);
}

.adv-text {
    flex: 1;
}

.adv-text h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.adv-text p {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* Slide animations */
.slide-in-left,
.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}


/* CTA Section - Redesigned */
.cta-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #2C5364 0%, #1a3a47 100%);
    /* Teal/deep blue-green gradient */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ready-text {
    font-family: var(--font-eng);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    /* Lighter color instead of watermark opacity */
    position: relative;
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 50px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
    color: #1a3a47;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 60px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3),
            0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3),
            0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3),
            0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 50px;
}

.social-media a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: rgba(212, 175, 55, 0.25);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.contact-info {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.school-name {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.address,
.phone {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.address a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.address a:hover {
    color: var(--gold);
}

.address i,
.phone i {
    color: var(--gold);
}

/* Enhanced Smooth Scroll Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card-specific animations */
.glass-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Timeline item animations */
.timeline-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Advantage item animations */
.adv-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.adv-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Info in CTA */
.footer-info {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.social-icons {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--gold);
}

/* Gold Outline Button Style */
.btn-gold-style {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 40px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-gold-style:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold-style i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn-gold-style:hover i {
    transform: translateX(4px);
}

/* Ensure Hero has proper spacing */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Account for fixed navbar */
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    z-index: 1999;
}

.mobile-menu a {
    display: block;
    padding: 15px;
    text-align: center;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.active {
    display: block;
}

/* RWD */
@media (max-width: 768px) {
    .top-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 30px;
        right: 20px;
        background: none;
        border: none;
        color: var(--gold);
        font-size: 1.8rem;
        z-index: 2000;
        cursor: pointer;
        pointer-events: auto;
    }

    .hero {
        min-height: 100vh;
        background-attachment: scroll;
        padding: 80px 0 40px;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-info {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .info-item {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 10px 16px;
    }

    /* Hero CTA responsive */
    .btn-hero-glass {
        font-size: 1.1rem;
        padding: 16px 36px;
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .starting-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .starting-left {
        display: none;
    }

    .starting-title {
        font-size: 2.5rem;
    }

    .starting-question {
        font-size: 1.2rem;
    }

    .philosophy-intro h2 {
        font-size: 2rem;
    }
}