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

:root {
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #10B981;
    --accent: #F59E0B;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-main: #F9FAFB;
    --bg-white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --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.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

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

section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    color: #111827;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

nav a:hover {
    color: var(--primary);
    opacity: 1;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-select {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding-top: 140px;
}

.hero-content {
    flex: 1.2;
}

.hero-checklist {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 10;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

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

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: left;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-image-container {
    flex: 1;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-container:hover .hero-img-main {
    transform: scale(1.03);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.secondary-link {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.secondary-link:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-white);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.programs-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.program-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
}

.program-list li {
    background: white;
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.program-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.program-list li i {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.program-list li span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .program-list {
        grid-template-columns: 1fr;
    }
}

.program-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.program-visual {
    height: 200px;
    background: #F3F4F6;
    overflow: hidden;
}

.program-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-info {
    padding: 32px;
}

.program-info h3 {
    margin-bottom: 12px;
}

.registration-container {
    background: #1E293B;
    color: white;
    border-radius: 32px;
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 80px;
    overflow: hidden;
}

.registration-container.light {
    background: var(--bg-white);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.reg-text {
    flex: 1.2;
}

.reg-text h2 {
    color: inherit;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.reg-text p {
    font-size: 1.1rem;
    color: #94A3B8;
    margin-bottom: 32px;
}

.pricing-banner-section {
    padding: 40px 20px;
    background: white;
}

.pricing-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.price-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.price-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .pricing-banner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .price-item {
        justify-content: center;
    }
}

.reg-visual-placeholder {
    flex: 1;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.reg-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.btn-light {
    background: white;
    color: #1E293B;
}

.btn-light:hover {
    background: #F1F5F9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 280px;
    gap: 24px;
}

.gallery-item {
    background: #F3F4F6;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.team-group-photo {
    margin-bottom: 60px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.team-group-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    background: #E5E7EB;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background: #0F172A;
    color: white;
    padding: 100px 20px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 24px;
}

.footer-brand p {
    color: #94A3B8;
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

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

.footer-links li, .footer-contact li {
    margin-bottom: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94A3B8;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.footer-links a, .footer-contact a {
    color: #94A3B8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover, .footer-contact a:hover {
    color: white;
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero p { margin: 0 auto 40px; }
    .hero-btns {
        justify-content: center;
        gap: 12px;
    }
    .secondary-link {
        margin-left: 0;
    }
    .registration-container {
        flex-direction: column;
        padding: 40px 24px;
        gap: 40px;
        text-align: center;
    }
    .reg-text h2 {
        font-size: 1.8rem;
    }
    .reg-visual-placeholder {
        width: 100%;
        height: 300px;
    }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-content { grid-template-columns: 1fr; }
}
/* --- Lightbox / Modal Zoom --- */
#lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

#lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#lightbox-modal.active #lightbox-img {
    transform: scale(1);
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox-close:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
    }
}
