/* =========================================
   DIZGE PRIVATE EDUCATION CLUB
   Main Stylesheet
   ========================================= */

/* ---- DESIGN TOKENS ---- */
:root {
    --green: #043730;
    --green-dark: #022420;
    --green-light: #0a5548;
    --orange: #E45F30;
    --orange-light: #f07550;
    --orange-dark: #c44e22;
    --white: #FFFFFF;
    --off-white: #F8F6F3;
    --gray-100: #F5F4F2;
    --gray-200: #E8E6E3;
    --gray-400: #9E9B97;
    --gray-600: #6B6863;
    --gray-800: #2C2B29;
    --black: #0F0E0D;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(4,55,48,0.08);
    --shadow-md: 0 8px 32px rgba(4,55,48,0.12);
    --shadow-lg: 0 20px 60px rgba(4,55,48,0.16);
    --shadow-xl: 0 32px 80px rgba(4,55,48,0.2);

    --nav-h: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* ---- UTILITY ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 64px 0; }

.bg-light { background: var(--gray-100); }
.bg-dark { background: var(--green); }
.bg-primary { background: var(--green); }
.text-white { color: var(--white); }
.text-white-80 { color: rgba(255,255,255,0.8); }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-accent { color: var(--orange); }
.accent { color: var(--orange); }

.rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

/* ---- SECTION LABEL ---- */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,0.7); }

/* ---- TYPOGRAPHY ---- */
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--gray-600); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.btn:hover::after { transform: scaleX(1); }

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(228,95,48,0.35);
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(228,95,48,0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
}
.btn-outline-dark:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-small {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green-light);
    transition: var(--transition);
}
.btn-outline-small:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--green);
    font-weight: 700;
}
.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.45);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: var(--orange);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(228,95,48,0.4);
}

/* Admin nav icon */
.btn-nav-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transition: var(--transition);
}
.btn-nav-admin:hover {
    background: var(--orange);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(228,95,48,0.4);
}
.navbar.scrolled .btn-nav-admin {
    background: rgba(4,55,48,0.1);
    color: var(--green);
}
.navbar.scrolled .btn-nav-admin:hover {
    background: var(--orange);
    color: var(--white);
}


/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

/* Mobile menu backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}


.navbar.transparent {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.logo-white { opacity: 1; position: relative; }
.logo-dark { opacity: 0; position: absolute; left: 0; top: 50%; transform: translateY(-50%); }

.navbar.scrolled .logo-white { opacity: 0; }
.navbar.scrolled .logo-dark { opacity: 1; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 20px; }
.nav-link.active { color: var(--white); }
.nav-link.active::after { width: 20px; }

.navbar.scrolled .nav-link { color: var(--gray-600); }
.navbar.scrolled .nav-link:hover { color: var(--green); }
.navbar.scrolled .nav-link.active { color: var(--green); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--green); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.slide {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    min-width: calc(100% / 3);
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.slide.active .slide-bg { transform: scale(1.06); }

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4,55,48,0.85) 0%,
        rgba(4,55,48,0.5) 60%,
        rgba(4,55,48,0.2) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.slide-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(228,95,48,0.15);
    border: 1px solid rgba(228,95,48,0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease both;
}

.slide-content h1 {
    color: var(--white);
    max-width: 600px;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s 0.15s ease both;
}

.slide-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.6s 0.25s ease both;
}

.slide-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.35s ease both;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}
.slider-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.05);
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Mobile: move arrows to bottom of slider, side by side */
@media (max-width: 768px) {
    .slider-btn {
        top: auto;
        bottom: 60px;
        transform: none;
        width: 42px;
        height: 42px;
    }
    .slider-btn:hover {
        transform: scale(1.05);
    }
    .slider-prev {
        left: auto;
        right: calc(50% + 28px);
    }
    .slider-next {
        right: auto;
        left: calc(50% + 28px);
    }
    .slide-content {
        padding: 0 20px;
        padding-bottom: 120px;
    }
    .slide-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .slide-content p {
        font-size: 0.95rem;
    }
    .slider-dots {
        bottom: 18px;
    }
    .scroll-indicator { display: none; }
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: var(--transition);
}
.dot.active {
    width: 28px;
    border-radius: 4px;
    background: var(--orange);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scrollPulse 1.5s ease infinite;
}
.scroll-indicator span {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* =========================================
   FEATURES STRIP
   ========================================= */
.features-strip {
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 5;
}

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

.feature-card {
    padding: 40px 32px;
    border-right: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:last-child { border-right: none; }
.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { background: var(--gray-100); }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(228,95,48,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    margin-bottom: 20px;
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.05);
}

.feature-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--green); }
.feature-card p { font-size: 0.875rem; color: var(--gray-600); margin: 0; }

/* =========================================
   ABOUT TEASER
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-stack {
    position: relative;
    padding-bottom: 60px;
    padding-right: 60px;
}

.img-main {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.img-badge {
    position: absolute;
    top: 24px;
    left: -20px;
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.badge-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 4px;
}

.about-text { padding-left: 20px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; }

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 36px 0;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.stat { text-align: center; flex: 1; }
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* =========================================
   COURSES TEASER
   ========================================= */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.course-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.course-card:hover .course-img img { transform: scale(1.05); }

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.course-body { padding: 24px; }
.course-body h3 { margin-bottom: 8px; color: var(--green); }
.course-body p { font-size: 0.875rem; margin-bottom: 16px; }

.course-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.course-meta span {
    font-size: 0.8rem;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.courses-cta { text-align: center; margin-top: 48px; }

/* =========================================
   GALLERY STRIP
   ========================================= */
.gallery-strip {
    overflow: hidden;
    padding: 0;
    background: var(--green);
}

.gallery-track {
    display: flex;
    gap: 12px;
    padding: 16px;
    animation: galleryScroll 30s linear infinite;
    width: max-content;
}

.gallery-track img {
    width: 280px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.3s;
}
.gallery-track img:hover { opacity: 1; }

@keyframes galleryScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   PHILOSOPHY SECTION
   ========================================= */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.philosophy-quote {
    border-left: 4px solid var(--orange);
    padding: 16px 24px;
    background: var(--gray-100);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--green);
    font-weight: 500;
    margin: 28px 0;
    font-size: 1rem;
    line-height: 1.6;
}

.philosophy-pillars {
    display: grid;
    gap: 24px;
}

.pillar {
    background: var(--gray-100);
    padding: 28px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition);
}
.pillar:hover {
    background: var(--green);
    transform: translateX(8px);
}
.pillar:hover h4 { color: var(--white); }
.pillar:hover p { color: rgba(255,255,255,0.8); }

.pillar-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.pillar h4 { margin-bottom: 6px; color: var(--green); transition: var(--transition); }
.pillar p { font-size: 0.875rem; margin: 0; transition: var(--transition); }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,55,48,0.92), rgba(228,95,48,0.4));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: var(--black);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--orange); padding-left: 4px; }

.footer-contact ul li {
    display: flex;
    gap: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 0.875rem;
    margin-bottom: 14px;
    line-height: 1.5;
    align-items: flex-start;
}
.footer-contact ul li svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.footer-contact ul li a {
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}
.footer-contact ul li a:hover { color: var(--orange); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    margin: 0;
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.5);
    transition: var(--transition);
    animation: floatPulse 3s ease infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 40px rgba(37,211,102,0.6);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: var(--black);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* =========================================
   PAGE HERO
   ========================================= */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    padding-top: var(--nav-h);
}

.page-hero-short {
    height: 50vh;
    min-height: 380px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4,55,48,0.88) 0%,
        rgba(4,55,48,0.55) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.page-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.page-hero-content h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0;
}

/* =========================================
   HAKKIMIZDA PAGE
   ========================================= */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); }

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.phil-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.phil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--orange);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.phil-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.phil-card:hover::before { transform: scaleX(1); }

.phil-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(228,95,48,0.2);
    line-height: 1;
    margin-bottom: 8px;
}

.phil-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.phil-card h3 { color: var(--white); margin-bottom: 12px; }
.phil-card p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* Learning Cycle */
.cycle-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

.cycle-item {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}
.cycle-item:hover {
    background: var(--green);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.cycle-item:hover h3 { color: var(--white); }
.cycle-item:hover p { color: rgba(255,255,255,0.75); }
.cycle-item:hover .cycle-icon { background: rgba(255,255,255,0.15); color: var(--orange); }

.cycle-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(228,95,48,0.1);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.cycle-item h3 { margin-bottom: 8px; font-size: 1rem; transition: var(--transition); }
.cycle-item p { font-size: 0.82rem; margin: 0; transition: var(--transition); }

.cycle-arrow {
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}

/* Environment */
.env-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.env-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
}

.env-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.env-img-large {
    grid-row: span 2;
}

/* Social Learning */
.sl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sl-img img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; height: 480px; object-fit: cover; }

/* Founder */
.founder-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.founder-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-xl);
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }

.founder-text h2 { color: var(--white); margin-bottom: 4px; }

.founder-contacts {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.founder-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
}
.founder-contact:hover { background: rgba(255,255,255,0.2); color: var(--white); }

/* =========================================
   KURSLAR PAGE
   ========================================= */
.academic-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.academic-intro-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.system-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}
.system-card:hover { background: var(--green); }
.system-card:hover h3 { color: var(--white); }
.system-card:hover p { color: rgba(255,255,255,0.75); }

.system-icon { font-size: 2rem; margin-bottom: 12px; }
.system-card h3 { margin-bottom: 8px; color: var(--green); transition: var(--transition); }
.system-card p { font-size: 0.9rem; margin-bottom: 6px; transition: var(--transition); }
.system-card p:last-of-type { margin-bottom: 16px; }

.system-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}
.system-tag.required { background: rgba(228,95,48,0.1); color: var(--orange); }
.system-tag.optional { background: rgba(4,55,48,0.1); color: var(--green); }

/* Course Detail */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.course-detail-grid.reverse {
    direction: rtl;
}
.course-detail-grid.reverse > * { direction: ltr; }

.course-detail-img {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 480px;
}

.course-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}
.course-detail-badge.optional { background: var(--green); }

.course-detail-text h2 { margin-bottom: 8px; }
.course-tagline {
    font-size: 1.05rem;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}

.course-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

.cf-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.cf-icon { font-size: 1.25rem; flex-shrink: 0; }

.cf-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 2px;
}
.cf-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: center;
}

.step {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.step:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.step:hover .step-num { color: var(--orange); }

.step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: 12px;
    transition: var(--transition);
}
.step h3 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.step p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }

.step-arrow {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* Masonry Gallery */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}
.masonry-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.masonry-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.masonry-grid img:nth-child(4) { grid-column: span 2; }

/* CTA Simple */
.cta-simple-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

/* =========================================
   ILETISIM PAGE
   ========================================= */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-bottom-color: var(--orange);
}

.whatsapp-card { border-bottom-color: #25D366; }
.whatsapp-card:hover { border-bottom-color: #25D366; }

.contact-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(228,95,48,0.1);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}
.contact-card:hover .contact-card-icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.1);
}

.whatsapp-icon { background: rgba(37,211,102,0.1); color: #25D366; }
.whatsapp-card:hover .contact-card-icon { background: #25D366; color: var(--white); }

.contact-card h3 { margin-bottom: 8px; color: var(--green); }
.contact-card p { font-size: 0.875rem; margin-bottom: 16px; }
.contact-card-link {
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}
.contact-card-link:hover { color: var(--orange-dark); }
.whatsapp-card .contact-card-link { color: #25D366; }

/* Contact main grid */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Form */
.form-header { margin-bottom: 36px; }
.form-header h2 { margin-bottom: 8px; }
.form-header p { margin: 0; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    outline: none;
    transition: var(--transition);
    width: 100%;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(4,55,48,0.08);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6863' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-error {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 16px;
}

#submitBtn {
    position: relative;
}

#submitBtn .btn-loading {
    display: none;
    animation: spin 0.8s linear infinite;
}

#submitBtn.loading .btn-text { display: none; }
#submitBtn.loading .btn-loading { display: flex; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 48px 32px;
    background: rgba(4,55,48,0.04);
    border: 1.5px solid rgba(4,55,48,0.12);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease both;
}

.form-success .success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(4,55,48,0.25);
    margin-bottom: 4px;
}

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
    margin: 0;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    max-width: 320px;
    line-height: 1.6;
    margin: 0;
}

.form-success .success-sub {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-top: 4px;
}


/* Map */
.map-header { margin-bottom: 24px; }
.map-header h2 { margin-bottom: 8px; }
.map-header p { margin: 0; }

.map-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}

.map-directions {
    display: flex;
    gap: 12px;
}

/* Instagram CTA */
.insta-content {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.insta-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.insta-text { flex: 1; }
.insta-text h2 { margin-bottom: 6px; }
.insta-text p { margin: 0; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
    .feature-card:nth-child(odd) { border-right: 1px solid var(--gray-200); }
    .feature-card:nth-last-child(-n+2) { border-bottom: none; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .img-stack { padding-bottom: 48px; padding-right: 48px; }
    .about-text { padding-left: 0; }

    .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
    .philosophy-cards { grid-template-columns: 1fr; }

    .cycle-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .cycle-arrow { display: none; }

    .env-grid { grid-template-columns: 1fr; gap: 48px; }

    .sl-grid { grid-template-columns: 1fr; gap: 48px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .contact-main-grid { grid-template-columns: 1fr; gap: 48px; }

    .academic-intro-grid { grid-template-columns: 1fr; gap: 48px; }
    .course-detail-grid { grid-template-columns: 1fr; gap: 40px; }
    .course-detail-grid.reverse { direction: ltr; }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .step-arrow { display: none; }
}

@media (max-width: 768px) {
    :root { --nav-h: 70px; }
    .section-padding { padding: 48px 0; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 9998;
        overflow-y: auto;
        box-shadow: -4px 0 40px rgba(0,0,0,0.15);
    }

    .nav-links.open { transform: translateX(0); }


    .nav-link { color: var(--gray-800) !important; padding: 14px 20px; border-radius: var(--radius-md); }
    .nav-link:hover { background: var(--gray-100); color: var(--green) !important; }
    .nav-link.active { color: var(--green) !important; background: rgba(4,55,48,0.06); }
    .nav-link::after { display: none; }
    .btn-nav { margin: 8px 0; text-align: center; justify-content: center; }
    .btn-nav-admin { background: rgba(4,55,48,0.08); color: var(--green); }

    .hamburger { display: flex; }

    /* Show backdrop on mobile — pointer-events none until .show added */
    .nav-backdrop { display: block; pointer-events: none; }


    .hero-slider { height: 100svh; }
    .slide-content p { font-size: 0.95rem; }
    .slide-actions { gap: 12px; }
    .slide-actions .btn { padding: 12px 20px; font-size: 0.85rem; }
    .scroll-indicator { display: none; }

    .courses-grid { grid-template-columns: 1fr; }

    .about-stats { gap: 16px; padding: 16px; }
    .stat-num { font-size: 1.6rem; }

    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .contact-cards { grid-template-columns: 1fr; }

    .philosophy-cards { grid-template-columns: 1fr; }

    .cycle-grid { grid-template-columns: 1fr; }

    .masonry-grid { grid-template-columns: 1fr 1fr; }
    .masonry-grid img:nth-child(4) { grid-column: auto; }

    .course-features { grid-template-columns: 1fr; }

    .steps-grid { grid-template-columns: 1fr; }

    .founder-content { flex-direction: column; text-align: center; gap: 32px; }
    .founder-contacts { justify-content: center; }

    .form-row { grid-template-columns: 1fr; }
    .map-directions { flex-wrap: wrap; }

    .insta-content { flex-direction: column; text-align: center; gap: 20px; }
    .insta-content .btn { align-self: center; }

    .img-stack {
        padding-bottom: 36px;
        padding-right: 36px;
    }
    .img-secondary { width: 140px; height: 140px; }

    .env-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
    .env-img-large { grid-row: auto; height: 220px; }
    .env-img { height: 180px; }

    .sl-img img { height: 320px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .slide-actions { flex-direction: column; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .masonry-grid { grid-template-columns: 1fr; }
}
