/* ====== ROOT VARIABLES & THEME ====== */
:root {
    --bg-light: #f8fafc; /* Very light cool gray */
    --bg-lighter: #ffffff;
    --text-main: #0f172a; /* Slate 900 for high contrast */
    --text-muted: #475569; /* Slate 600 */
    
    --primary: #4f46e5; /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.2);
    --secondary: #ec4899; /* Pink */
    --secondary-glow: rgba(236, 72, 153, 0.2);
    --accent: #0ea5e9; /* Light blue */
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-hover: rgba(255, 255, 255, 0.95);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 16px;
}

/* ====== RESET ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

/* ====== AMBIENT BACKGROUND BLOBS ====== */
.blob {
    position: fixed;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.8; /* Higher opacity since colors are lighter */
    border-radius: 50%;
    animation: float 20s infinite alternate cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.blob-2 {
    top: 30%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, -10%) scale(0.95); }
}

/* ====== UTILITY CLASSES ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

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

.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
}

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

.text-underline {
    position: relative;
    display: inline-block;
}

.text-underline::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-glow);
    z-index: -1;
    border-radius: 4px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 20px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: white;
    box-shadow: 0 8px 20px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px var(--primary-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-primary-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-primary-outline:hover {
    background: rgba(79, 70, 229, 0.08); /* slight primary tint */
    color: var(--primary);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
}

/* Placeholders */
.placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        rgba(0,0,0,0.02),
        rgba(0,0,0,0.02) 10px,
        rgba(0,0,0,0.05) 10px,
        rgba(0,0,0,0.05) 20px
    );
    border-radius: calc(var(--border-radius) - 8px);
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
    padding: 1rem;
}

.placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.placeholder.mini {
    min-height: 200px;
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.btn-primary-outline {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ====== HERO SECTION ====== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
}

.visual-wrapper {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper iframe {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 9/16;
    border-radius: calc(var(--border-radius) - 8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ====== ABOUT SECTION ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.2rem;
}

.img-card {
    height: 400px;
    display: flex;
    padding: 8px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 8px);
}

/* ====== COURSES SECTION ====== */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-card {
    display: flex;
    flex-direction: column;
}

.course-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.course-name {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.course-info {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.course-link {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.course-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.course-card:hover .course-link i {
    transform: translateX(5px);
}

/* ====== GALLERY SECTION ====== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    justify-content: center;
}

.gallery-item {
    padding: 8px;
    height: auto;
    aspect-ratio: 9/16;
}

.gallery-item iframe {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius) - 8px);
}

/* ====== CONTACT SECTION ====== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.contact-info > h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.05); /* very light primary tint */
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.info-text h5 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: var(--text-main);
}

.info-text address, .info-text p {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.95rem;
}

.map-container {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder small {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====== FOOTER ====== */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-top: 1rem;
}

.footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ====== ANIMATIONS (REVEAL) ====== */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-up { transform: translateY(50px); }
.fade-left { transform: translateX(50px); }
.fade-right { transform: translateX(-50px); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ====== RESPONSIVE DESIGN ====== */
@media screen and (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .hero-grid, .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
    .contact-wrapper { padding: 2rem; }
    .hero { text-align: center; padding-top: 150px; }
    .hero-actions { justify-content: center; }
    .badge { margin: 0 auto 1.5rem; }
    .hero-visual { padding: 0 2rem; }
}

@media screen and (max-width: 768px) {
    .section { padding: 80px 0; }
    .mobile-toggle { display: block; }
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .nav.active { right: 0; }
    .nav-list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .nav-link { font-size: 1.5rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem;text-align: center; }
    .social-icons { justify-content: center; }
    .hero-title { font-size: 2.5rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
}
