@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #003366;
    --primary-light: #005bb5;
    --secondary: #ffcc00;
    --accent: #00aaff;
    --text-dark: #121826;
    --text-light: #4b5563;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.85);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}


#about p {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 2rem;
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.card-box {
    background: var(--white);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}


.section-tag {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.align-center {
    align-items: center;
}


.stats-bar {
    position: relative;
    z-index: 20;
    margin-top: -60px;
}

.stats-bar .container {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .stats-bar .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 0;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .stats-bar {
        margin-top: -40px;
    }

    .stats-bar .container {
        padding: 2.5rem 1rem;
    }

    .stats-bar .grid-4 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }
}


.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 51, 102, 0.2);
}

.btn-primary-glow {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 51, 162, 0.3);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary-glow:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 51, 162, 0.4);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    border: 2px solid white;
    cursor: pointer;
    display: inline-block;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.card-footer-action {
    padding: 1.5rem 2rem;
}

.btn-premium-enroll {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-premium-enroll svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-premium-enroll:hover svg {
    transform: translateX(4px);
}


header {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0;
    margin: 8px 8px 0;
    border-radius: 16px;
    position: sticky;
    top: 8px;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 51, 102, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 2px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.12);
    border-bottom-color: var(--primary);
}

header.scrolled .logo-container img {
    height: 50px;
}

header.scrolled .logo-text h1 {
    font-size: 1.25rem;
}

header.scrolled .logo-text p {
    font-size: 0.65rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 1.5rem;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-container img {
    height: 72px;
    width: auto;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.55rem;
    color: var(--primary);
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text h1 span {
    color: var(--secondary);
}

.logo-text p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-light);
    white-space: nowrap;
}

nav ul {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
    opacity: 0.75;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

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


.hero {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 500px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    display: flex;
    height: 100%;
    transition: var(--transition);
    width: 100%;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev {
    left: 24px;
}

.slider-btn.next {
    right: 24px;
}

.slider-nav {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: scale(1.2);
}

.nav-dot.active {
    background: var(--secondary);
    width: 28px;
    border-radius: 14px;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.4);
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 12px;
    }

    .slider-btn.next {
        right: 12px;
    }

    .slider-nav {
        bottom: 16px;
        padding: 6px 10px;
        gap: 8px;
    }

    .nav-dot {
        width: 8px;
        height: 8px;
    }

    .nav-dot.active {
        width: 22px;
    }
}


.hero-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20;
    width: 90%;
    max-width: 900px;
}

.hero-badge {
    background: rgba(255, 204, 0, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-overlay-content h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-overlay-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}


.stats-bar {
    background: var(--white);
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 30;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}


.about-premium h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-list {
    margin-top: 2rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.about-list span {
    color: #10b981;
}


.languages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.lang-card {
    background: var(--white);
    padding: 1.8rem 1.2rem;
    border-radius: 22px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lang-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.lang-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}


.fees-section {
    background: linear-gradient(135deg, var(--primary) 0%, #001a3d 100%);
    padding: 100px 0;
    color: #fff;
}

.fees-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
}

.fees-header {
    text-align: center;
    margin-bottom: 4rem;
}

.fees-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.fees-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-top: 1rem;
}

.fees-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-top: 0.8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .fees-section {
        padding: 60px 0;
    }
    .fees-header h2 {
        font-size: 2rem;
    }
}

.pricing-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 2.2rem;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover .card-glow {
    transform: translate(-40%, -40%) scale(1);
    opacity: 0.1;
}

.pricing-featured {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    border: 2px solid var(--secondary);
    transform: scale(1.02);
}

.pricing-featured:hover {
    transform: translateY(-12px) scale(1.02);
}

.featured-glow {
    background: radial-gradient(circle, rgba(255, 204, 0, 0.4) 0%, transparent 70%);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--secondary);
    color: #3d2e00;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

.pricing-icon-wrap {
    width: 68px;
    height: 68px;
    background: #f1f5f9;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.featured-icon-wrap {
    background: linear-gradient(135deg, #fff3c7, #fde68a);
}

.pricing-icon {
    font-size: 2rem;
}

.pricing-category {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.pricing-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pricing-currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.pricing-currency small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.pricing-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 1rem 0;
}

.pricing-features {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.pricing-features .check {
    color: #10b981;
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-notice {
    font-size: 0.82rem;
    color: #dc2626;
    margin-top: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    background: #fee2e2;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #fecaca;
    text-align: center;
}

/* Foundation Card Style */
.pricing-card[data-category="Foundation"] {
    border: 2px solid var(--primary-light);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.pricing-card[data-category="Foundation"] .pricing-amount {
    color: var(--primary-light);
}

/* Specialized Card (IELTS) Style */
.pricing-card[data-category="Specialized"] {
    border: 2px solid #ef4444;
}

.pricing-card[data-category="Specialized"] .pricing-icon-wrap {
    background: #fee2e2;
}



.reg-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.reg-card .reg-header {
    padding: 1.5rem 2rem 1rem;
}

.reg-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.reg-card p {
    color: #888;
    font-size: 0.88rem;
}

.reg-card .reg-footer {
    padding: 1.2rem 1.5rem;
}

.reg-hero-slider {
    position: relative;
    overflow: hidden;
    background: #e8eef5;
    /* 4:3 aspect ratio via padding trick */
    aspect-ratio: 4 / 3;
    width: 100%;
    flex-shrink: 0;
}

.reg-slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f4f8;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.reg-slide.active {
    opacity: 1;
}

.reg-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: 1px solid rgba(0, 51, 102, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(5px);
}

.reg-slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.4);
}

.reg-slider-btn.prev {
    left: 12px;
}

.reg-slider-btn.next {
    right: 12px;
}

.reg-slider-nav {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.reg-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.25);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.reg-nav-dot.active {
    background: var(--primary);
    width: 22px;
    border-radius: 10px;
}


.modal-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 51, 102, 0.45) !important;
}

.premium-modal {
    background: white;
    width: 100%;
    max-width: 700px;
    border-radius: 28px;
    padding: 0;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-modal::-webkit-scrollbar {
    width: 8px;
}

.premium-modal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.close-modal:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}


.modal-header {
    text-align: center;
    padding: 3rem 3rem 2rem;
    background: linear-gradient(to bottom, #f8fafc, white);
    border-radius: 28px 28px 0 0;
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: white;
    color: var(--primary);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 51, 102, 0.15);
    border: 1px solid #f1f5f9;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 1rem;
}


.modal-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 4rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.modal-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 4rem;
    right: 4rem;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.step-dot {
    width: 44px;
    height: 44px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    font-size: 1.1rem;
}

.step-dot.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 51, 102, 0.3);
}

.step-dot.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

#regForm {
    padding: 0 3rem 3rem;
    display: flex;
    flex-direction: column;
}

.form-step {
    display: flex;
    flex-direction: column;
    min-height: 450px;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.step-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}


.rules-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.rules-container h5 {
    color: var(--primary);
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.rule-section {
    margin-bottom: 1.5rem;
}

.rule-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}


.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background: #fffbeb;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid #fde68a;
    margin: 1.5rem 3.5rem;
    transition: var(--transition);
}

.agreement-checkbox:hover {
    background: #fef3c7;
}

.agreement-checkbox input {
    display: none;
}

.agreement-checkbox .checkmark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #d97706;
    background: white;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.agreement-checkbox input:checked~.checkmark {
    background: #d97706;
}

.agreement-checkbox input:checked~.checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.agreement-checkbox span {
    font-weight: 600;
    font-size: 0.95rem;
    color: #92400e;
}


.agreement-checkbox.checked {
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.agreement-checkbox.checked span {
    color: #065f46;
}


#proceedBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#proceedBtn:not(:disabled) {
    animation: fadeIn 0.3s ease-out;
}


.modal-overlay {
    background: rgba(15, 23, 42, 0.85);
    /* Deep slate backdrop */
    backdrop-filter: blur(12px) saturate(180%);
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.premium-modal {
    background: #ffffff;
    border-radius: 40px;
    width: 95%;
    max-width: 850px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow:
        0 50px 100px -20px rgba(0, 51, 102, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: none;
    overflow: hidden;
    animation: modalSlideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: transform 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(40px) scale(0.96);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 3.5rem 3.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.modal-icon {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    border-radius: 28px;
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow:
        10px 10px 20px rgba(0, 51, 102, 0.05),
        -5px -5px 15px rgba(255, 255, 255, 0.8);
    position: relative;
}

.modal-header h2 {
    font-size: 2.4rem;
    color: var(--primary);
    letter-spacing: -1.2px;
    margin-bottom: 0.8rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    opacity: 0.8;
}

.rules-container {
    padding: 1.5rem 3.5rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.rules-container::-webkit-scrollbar {
    width: 6px;
}

.rules-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.rules-container h5 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.rule-section {
    margin-bottom: 3rem;
}

.rule-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #f1f5f9;
}

.rule-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rule-list li {
    display: flex;
    gap: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
}

.article-badge {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    height: fit-content;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Mobile Adjustments for Premium Modal */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }

    .premium-modal {
        border-radius: 24px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 2rem 1.5rem 1rem;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        margin-bottom: 1.2rem;
    }

    .modal-icon svg {
        width: 24px;
        height: 24px;
    }

    .modal-header h2 {
        font-size: 1.8rem;
        letter-spacing: -0.8px;
    }

    .modal-header p {
        font-size: 0.95rem;
    }

    .rules-container {
        padding: 1rem 1.5rem;
    }

    .rules-container h5 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .rule-section {
        margin-bottom: 2rem;
    }

    .rule-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .rule-list li {
        font-size: 0.95rem;
        gap: 12px;
    }

    .article-badge {
        padding: 2px 8px;
        font-size: 0.65rem;
    }

    .agreement-checkbox {
        margin: 1rem 1.5rem;
        padding: 1rem;
        gap: 10px;
    }

    .agreement-checkbox span {
        font-size: 0.85rem;
    }

    .step-footer {
        padding: 1.5rem;
        flex-direction: column-reverse;
        gap: 0.8rem;
    }

    .flex-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

.step-footer {
    padding: 2.5rem 3.5rem 3.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 20%);
    display: flex;
    gap: 1.5rem;
}

.flex-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.1rem 2rem;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.05rem;
}

#rules-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}



.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 0;
    /* overridden by flex gap */
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
    background: #fff;
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}


.upload-group {
    margin-top: 1.5rem;
}

.upload-area {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.upload-area:hover,
.upload-area:focus-within {
    border-color: var(--primary);
    background: #f0f9ff;
}

.upload-label {
    display: block;
    padding: 2.5rem 2rem;
    cursor: pointer;
}

.upload-icon {
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-flex;
    padding: 15px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}


.step-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.step-footer.right {
    justify-content: flex-end;
}

.flex-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem;
    line-height: 1;
}

.flex-btn span {
    display: inline-block;
}

.flex-btn svg {
    margin-top: -1px;
    flex-shrink: 0;
    display: block;
    stroke: currentColor;
}

.scroll-box::-webkit-scrollbar {
    width: 6px;
}

.scroll-box::-webkit-scrollbar-track {
    background: transparent;
}

.scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

#notices ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#notices li {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

#notices li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.doc-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.doc-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.doc-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    flex: 1;
}

.doc-actions {
    display: flex;
    gap: 0.7rem;
    flex-shrink: 0;
}

.doc-btn {
    padding: 9px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.87rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-view {
    background: var(--primary);
    color: #fff;
}

.btn-view:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    border: 1px solid #e2e8f0 !important;
    transform: none !important;
    pointer-events: none;
}

.btn-disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.btn-download {
    background: #fff7d0;
    color: #7a5c00;
    border: 1.5px solid var(--secondary);
}

.btn-download:hover {
    background: var(--secondary);
    color: #3d2e00;
    transform: translateY(-2px);
}


.contact-grid {
    display: block;
    max-width: 1100px;
    margin: 3rem auto 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3.5rem;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.contact-map {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 350px;
    background: #f1f5f9;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.6rem;
    background: #f1f5f9;
    padding: 14px;
    border-radius: 18px;
    line-height: 1;
    color: var(--primary);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}


.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.social-btn.twitter:hover {
    background: #000000;
    color: #fff;
}

.social-btn.linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.info-text strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

footer {
    background: #002244;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}


.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: var(--transition);
}




.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-primary-sm {
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.2);
    transition: var(--transition);
}

.btn-primary-sm:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.35);
}



.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
    transition: var(--transition);
}

.pricing-card:hover .card-glow {
    transform: scale(1.5);
    opacity: 0.15;
}

.featured-glow {
    background: radial-gradient(circle, rgba(217, 119, 6, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}


.reg-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f1f5f9;
}

.reg-slider-inner {
    height: 100%;
}

.reg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02);
}

.reg-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.reg-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.reg-slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.reg-slider-btn.prev {
    left: 1rem;
}

.reg-slider-btn.next {
    right: 1rem;
}

.reg-slider-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.reg-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.reg-nav-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}


@media (max-width: 992px) {
    .header-inner {
        padding: 0.5rem 1rem;
    }

    .header-actions .btn-primary-sm {
        display: none;
    }

    nav {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        background: #fff;
        padding: 100px 30px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        transform: translateX(100%);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    nav.show {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul a::after {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .grid-2,
    .grid-4,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stats-bar {
        margin-top: -30px;
    }

    .stats-bar .container {
        padding: 2rem 1.5rem;
    }

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


@media (max-width: 600px) {
    header {
        margin: 5px 5px 0;
        top: 5px;
        border-radius: 12px;
    }

    .header-inner {
        padding: 0.4rem 0.8rem;
    }

    .logo-container img {
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.15rem;
        white-space: normal;
    }

    .logo-text p {
        font-size: 0.6rem;
        letter-spacing: 0.5px;
        white-space: normal;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .lang-card {
        padding: 1.2rem 0.8rem;
        border-radius: 16px;
    }

    .lang-card h3 {
        font-size: 0.95rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .doc-info {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem 1rem;
    }

    .doc-icon {
        font-size: 1.5rem;
        margin-right: 0;
        flex-shrink: 0;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
        text-align: center;
    }

    .doc-title {
        font-size: 0.85rem;
        flex: 1;
        min-width: 0;
    }

    .doc-actions {
        flex-shrink: 0;
    }

    .doc-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }

    #notices li {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    footer .container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
}