/* ==========================================================================
   Kızılay Seviye VIP Kurs - Core Stylesheet
   ========================================================================== */

/* --- Custom Variables (Light Theme by Default) --- */
:root {
    /* Color Palette */
    --primary: #1e3a8a;          /* Deep Navy Blue */
    --primary-light: #3b82f6;    /* Bright Blue */
    --primary-dark: #0f172a;     /* Slate 900 */
    --accent: #e11d48;           /* Rose Red */
    --accent-dark: #be123c;      /* Rose Dark */
    --accent-light: #fda4af;     /* Rose Light */
    --bg-main: #f8fafc;          /* Slate 50 */
    --bg-card: #ffffff;          /* Pure White */
    --bg-header: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;        /* Dark Slate */
    --text-muted: #475569;       /* Slate 600 */
    --text-white: #ffffff;
    --border-color: #e2e8f0;     /* Slate 200 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-accent: 0 10px 20px -5px rgba(225, 29, 72, 0.3);
    --shadow-primary: 0 10px 20px -5px rgba(30, 58, 138, 0.3);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* System Sizes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Carousel Slider Height */
    --slider-height: 480px;
}

/* --- Dark Theme Variables --- */
body.dark-theme {
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #020617;
    --accent: #f43f5e;
    --accent-dark: #e11d48;
    --bg-main: #0b1329;          /* Deep Space Blue */
    --bg-card: #1c2541;          /* Darker Slate Card */
    --bg-header: rgba(11, 19, 41, 0.8);
    --text-main: #f1f5f9;        /* Light Grey Text */
    --text-muted: #94a3b8;       /* Slate 400 */
    --border-color: #334155;     /* Slate 700 */
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
    --shadow-accent: 0 10px 20px -5px rgba(244, 63, 94, 0.2);
    --shadow-primary: 0 10px 20px -5px rgba(59, 130, 246, 0.2);
}

/* ==========================================================================
   Resets and Global Settings
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

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

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.bg-light {
    background-color: var(--bg-main);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1e293b 100%);
    color: var(--text-white);
}

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

.section-title-wrapper {
    margin-bottom: 50px;
}

.section-title-wrapper.text-center {
    text-align: center;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-main);
    margin-bottom: 16px;
}

body.dark-theme .section-title {
    color: var(--text-white);
}

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

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary-glow:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.btn-nav-secondary {
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--accent) !important;
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 20px;
    padding: 6px 16px !important;
}

.btn-nav-secondary:hover {
    background-color: var(--accent) !important;
    color: var(--text-white) !important;
}

/* ==========================================================================
   Campaign Banner Style
   ========================================================================== */
.campaign-banner {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent-dark) 50%, var(--primary) 100%);
    color: var(--text-white);
    padding: 10px 24px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease;
}

.campaign-banner.hidden {
    display: none !important;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.banner-badge {
    background-color: var(--accent);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.banner-text {
    font-weight: 500;
}

.banner-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.banner-btn:hover {
    background-color: var(--text-white);
    color: var(--primary-dark);
}

.banner-close-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.banner-close-btn:hover {
    opacity: 1;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color var(--transition-slow), border-color var(--transition-slow);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--accent);
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-muted);
}

body.dark-theme .logo-text {
    color: var(--text-white);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.btn-nav-secondary::after {
    display: none;
}

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

.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
    color: var(--accent);
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all var(--transition-fast);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-card);
    z-index: 998;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mob-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.mob-link:hover {
    color: var(--accent);
}

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.mob-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    background-color: var(--primary);
    color: var(--text-white);
}

.mob-action-btn.whatsapp-btn {
    background-color: #25d366;
}

/* ==========================================================================
   4-Image Top Slider Banner Carousel
   ========================================================================== */
.top-carousel-slider {
    position: relative;
    width: 100%;
    height: var(--slider-height);
    background-color: #0b0f19;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity var(--transition-slow);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    display: flex;
    align-items: center;
    z-index: 3;
}

.slide-content {
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 700px;
}

.slide-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h2 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.slide-content p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    margin-bottom: 8px;
}

/* Slider navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    outline: none;
}

.slider-arrow:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: translateY(-50%) scale(1.05);
}

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

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

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--accent);
    width: 24px;
    border-radius: 5px;
    box-shadow: var(--shadow-accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-dark) 0%, #172554 100%);
}

.hero-bg-accent {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--text-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(225, 29, 72, 0.15);
    border: 1px solid rgba(225, 29, 72, 0.3);
    color: #fda4af;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-bottom: 36px;
    max-width: 540px;
    font-weight: 300;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-feature-item i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-feature-item span {
    font-size: 1.05rem;
    font-weight: 500;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Right: Images & Float Cards */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-main-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 3;
}

.hero-card-floating {
    position: absolute;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 5;
    animation: float 4s ease-in-out infinite;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.vibrant-badge-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.5), 0 4px 6px rgba(0,0,0,0.2) !important;
}

.vibrant-badge-accent {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%) !important;
    box-shadow: 0 10px 25px rgba(225, 29, 72, 0.5), 0 4px 6px rgba(0,0,0,0.2) !important;
}

.hero-card-floating h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-card-floating p {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.hero-card-floating .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.2);
}

.card-students {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.card-success {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.stat-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), var(--shadow-accent);
    border-color: rgba(225, 29, 72, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 16px;
    transition: transform var(--transition-fast);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-card h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.stat-card p {
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

body.dark-theme .stat-card p {
    color: var(--primary-light);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 20px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-image-badge .badge-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 1;
}

.about-image-badge .badge-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 600;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

body.dark-theme .about-lead {
    color: var(--primary-light);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-box {
    display: flex;
    gap: 16px;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.about-feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.about-feature-box p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

body.dark-theme .feature-icon {
    background-color: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
}

/* ==========================================================================
   Programs Section
   ========================================================================== */
.programs-section {
    position: relative;
}

.program-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-btn.active {
    background-color: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.tab-container {
    position: relative;
    min-height: 380px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.tab-text h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.tab-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tab-list li i {
    color: var(--accent);
    margin-top: 4px;
}

.tab-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    max-height: 320px;
    width: 100%;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: var(--text-white);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

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

.gallery-overlay h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--text-white);
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ==========================================================================
   Registration Section (Form & Cards)
   ========================================================================== */
.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.reg-info {
    color: var(--text-white);
}

.reg-subtitle {
    display: inline-block;
    color: var(--accent-light);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.reg-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

.reg-info p {
    opacity: 0.85;
    margin-bottom: 32px;
    font-size: 1.05rem;
}

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

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-quick-item .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-quick-item strong {
    font-size: 1.15rem;
    display: block;
}

/* Form Card */
.reg-form-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.reg-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.reg-form-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pre-reg-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.input-wrapper input, .input-wrapper select, .input-wrapper textarea {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--bg-main);
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-fast);
}

.input-wrapper input:focus, .input-wrapper select:focus, .input-wrapper textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
    background-color: var(--bg-card);
}

.text-area-wrapper {
    align-items: flex-start;
}

.text-area-wrapper i {
    top: 14px;
}

.text-area-wrapper textarea {
    resize: none;
}

/* Actions and alerts */
.form-actions {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.form-alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-alert.hidden {
    display: none !important;
}

.error-alert {
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
}

.success-alert {
    background-color: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

/* Spinner Loader */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-white);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.spinner.hidden {
    display: none;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(225, 29, 72, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.info-text p, .info-text a {
    color: var(--text-muted);
}

.info-text a:hover {
    color: var(--accent);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--bg-card);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding-top: 60px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--text-white);
    margin-bottom: 12px;
}

.footer-brand p {
    font-style: italic;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-white);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--accent-light);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #020617;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.admin-link:hover {
    color: var(--accent-light);
}

/* ==========================================================================
   Floating Elements
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--text-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 99;
    transition: all var(--transition-slow);
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-badge {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background-color: var(--primary-dark);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.floating-whatsapp:hover .whatsapp-badge {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Card Glow Effect utility */
.card-glow {
    position: relative;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: var(--shadow-primary);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
    transition: opacity var(--transition-slow);
}

.card-glow:hover::after {
    opacity: 0.6;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Medium Devices (Tablets, 1024px and down) */
@media (max-width: 1024px) {
    :root {
        --slider-height: 380px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-features-list {
        align-items: center;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .tab-image {
        order: -1;
    }
    
    .registration-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Small Devices (Phones, 768px and down) */
@media (max-width: 768px) {
    :root {
        --slider-height: 360px;
    }

    .slide-content {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .slide-content h2 {
        font-size: 1.6rem !important;
    }

    .slide-content p {
        display: none !important;
    }

    .section-padding {
        padding: 60px 0;
    }
    
    /* Header menu mobile */
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* When active, change menu button bars to 'X' */
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .header-actions .call-btn span {
        display: none; /* Only show icon on mobile header */
    }
    
    .header-actions .call-btn {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .slider-arrow {
        display: none !important;
    }
    
    .hero-card-floating {
        display: none !important;
    }
    
    .slide-content {
        padding-bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --slider-height: 320px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .reg-form-card {
        padding: 24px 16px;
    }
    
    .campaign-banner {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-close-btn {
        top: 15px;
        right: 12px;
        transform: none;
    }
}

/* Wix Medya Developer Credit Neon styling */
.wixmedya-credit {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
    text-align: center;
}

.wixmedya-credit a {
    color: #38bdf8; /* Neon blue/cyan */
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.6), 0 0 10px rgba(56, 189, 248, 0.4);
    font-weight: 700;
    transition: all var(--transition-fast);
}

.wixmedya-credit a:hover {
    color: #f43f5e; /* Neon pink/rose */
    text-shadow: 0 0 5px rgba(244, 63, 94, 0.8), 0 0 10px rgba(244, 63, 94, 0.6), 0 0 20px rgba(244, 63, 94, 0.4);
}
