
:root {
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --accent: #d4a017;
    --accent-hover: #b8860b;
    --rose: #c41e3a;
    --rose-light: #e63950;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #ffffff;
    --bg-light: #faf9f6;
    --bg-dark: #f0ede8;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

a.logo img {
    width: 145px;
    height: auto;
}
.logo span { color: var(--rose); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rose);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

.nav-cta {
    background: var(--rose);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover { background: var(--rose-light); }

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 50%, #2d5a87 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
    background-size: 80px 80px;
    opacity: 0.5;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196,30,58,0.2);
    border: 1px solid rgba(196,30,58,0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: #ff6b81;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--accent); }

.hero-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--rose);
    color: white;
    box-shadow: 0 10px 30px rgba(196,30,58,0.3);
}

.btn-primary:hover {
    background: var(--rose-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(196,30,58,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(45deg, #1a365d, #2c5282);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bg.avif');
    background-size: cover;
    opacity: 0.3;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    top: 10%;
    right: -20px;
    animation-delay: 0.5s;
}

.floating-card:nth-child(3) {
    bottom: 20%;
    left: -30px;
    animation-delay: 1s;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: var(--rose);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.floating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.floating-sub {
    font-size: 0.75rem;
    color: var(--text-light);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Why Choose Section */
.why-choose {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(196,30,58,0.1);
    color: var(--rose);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Be Vietnam Pro', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rose);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Cost Section */
.cost-section {
    padding: 6rem 2rem;
    background: white;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cost-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.cost-card:hover {
    border-color: var(--rose);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cost-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cost-icon {
    width: 50px;
    height: 50px;
    background: var(--rose);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.cost-title {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

.cost-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose);
    margin-bottom: 0.5rem;
}

.cost-detail {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Scholarship Section */
.scholarship {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f2744 0%, #1e3a5f 100%);
    color: white;
}

.scholarship .section-title { color: white; }
.scholarship .section-desc { color: rgba(255,255,255,0.8); }

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.scholarship-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.scholarship-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.scholarship-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.scholarship-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.scholarship-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.scholarship-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

/* Requirements Section */
.requirements {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.req-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.req-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.req-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rose), var(--rose-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.req-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.req-list {
    list-style: none;
}

.req-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text);
}

.req-list li i {
    color: var(--rose);
    margin-top: 0.25rem;
    font-size: 0.8rem;
}

/* Process Section */
.process {
    padding: 6rem 2rem;
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 3rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--accent);
}
.process-step:nth-child(3)::after {
  display: none;
}
.process-step:last-child::after { display: none; }

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--rose), var(--rose-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px dashed var(--accent);
    border-radius: 50%;
    opacity: 0.5;
}

.process-step h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Schools Section */
.schools {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.school-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.school-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.school-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.school-rank {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.school-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.school-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.school-body {
    padding: 1.5rem 2rem;
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.school-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text);
}

.school-info-item i {
    color: var(--rose);
    width: 20px;
}

.school-scholarship {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-dark);
    font-size: 0.9rem;
    color: var(--rose);
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: white;
    text-align: center;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 4rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196,30,58,0.2) 0%, transparent 70%);
}

.cta-box h2 {
    font-family: 'Be Vietnam Pro', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-box p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--rose);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 { font-size: 2.5rem; }
    .hero-stats { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }

    .footer-grid { grid-template-columns: 1fr; }
    .process-step::after { display: none; }
    .section-title { font-size: 2rem; }
}

@media (max-width: 576px){
    .process-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}