/* ===== RETRO-TECH THEME VARIABLES ===== */
:root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #00ff88;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-bg: #f8f9fa;
    --text-light: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: rgba(0, 255, 255, 0.3);
    --shadow-color: rgba(0, 255, 255, 0.1);
    --grid-color: rgba(0, 255, 255, 0.1);
    --neon-glow: 0 0 10px rgba(0, 255, 255, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme (Only Theme) */
:root {
    --bg-color: var(--dark-bg);
    --bg-secondary: var(--darker-bg);
    --text-primary: var(--text-light);
    --text-secondary: var(--text-muted);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(0, 255, 255, 0.2);
}

/* ===== MOBILE PRELOADER FIX ===== */
@media (max-width: 768px) {
    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--dark-bg);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .preloader-content {
        position: relative;
        width: 90%;
        max-width: 280px;
        padding: 20px;
        box-sizing: border-box;
    }
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    overflow-x: hidden;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--primary-color);
    width: 100%;
    max-width: 300px;
    padding: 0 20px;
}

.tech-grid {
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--grid-color) 2px,
        var(--grid-color) 4px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        var(--grid-color) 2px,
        var(--grid-color) 4px
    );
    margin: 0 auto 20px;
    animation: gridPulse 2s infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background: rgba(0, 255, 255, 0.2);
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* ===== HEADER ===== */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-grid {
    width: 40px;
    height: 40px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        var(--primary-color) 3px,
        var(--primary-color) 5px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        var(--secondary-color) 3px,
        var(--secondary-color) 5px
    );
    animation: logoRotate 4s infinite linear;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 300;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-selector .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.location-selector .form-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
    color: var(--text-primary);
}

.location-selector .form-select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

.location-selector .form-select option:hover,
.location-selector .form-select option:focus {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

.theme-toggle .btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition);
}

.theme-toggle .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

/* ===== MOBILE MENU STYLING ===== */
.navbar-toggler {
    border: 1px solid var(--border-color);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    filter: brightness(1.2);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.tech-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 50px,
        var(--grid-color) 50px,
        var(--grid-color) 51px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        var(--grid-color) 50px,
        var(--grid-color) 51px
    );
    animation: gridMove 20s infinite linear;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

.floating-particles::before {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles::after {
    width: 6px;
    height: 6px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: var(--neon-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
}

.hero-buttons .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: var(--neon-glow);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.hero-buttons .btn-outline-light:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
}

.tech-illustration {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.circuit-board {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: circuitPulse 3s infinite;
}

@keyframes circuitPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}

.code-matrix {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 10px,
        rgba(255,0,255,0.1) 10px,
        rgba(255,0,255,0.1) 11px
    );
    animation: matrixScroll 5s infinite linear;
}

@keyframes matrixScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-20px); }
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    animation: iconFloat 4s infinite ease-in-out;
}

.floating-icons i:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
    color: var(--secondary-color);
}

.floating-icons i:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation-delay: 2s;
    color: var(--accent-color);
}

.floating-icons i:nth-child(4) {
    bottom: 10%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.course-filters {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.course-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 11px
    );
    animation: patternMove 10s infinite linear;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

.course-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    position: relative;
}

.course-content {
    padding: 1.5rem;
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.course-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.course-duration,
.course-level {
    color: var(--text-secondary);
}

.course-price {
    font-weight: 600;
    color: var(--primary-color);
}

.course-buttons {
    display: flex;
    gap: 10px;
}

.course-buttons .btn {
    flex: 1;
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 25px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.about-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.about-highlights {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex: 1;
    min-width: 200px;
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.highlight-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animated-grid {
    width: 300px;
    height: 300px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 20px,
        var(--grid-color) 20px,
        var(--grid-color) 21px
    ),
    repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        var(--grid-color) 20px,
        var(--grid-color) 21px
    );
    border-radius: 50%;
    position: relative;
    animation: gridRotate 20s infinite linear;
}

@keyframes gridRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    animation: elementFloat 8s infinite ease-in-out;
}

.floating-elements::before {
    width: 8px;
    height: 8px;
    top: 30%;
    left: 20%;
}

.floating-elements::after {
    width: 12px;
    height: 12px;
    bottom: 25%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes elementFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.2); opacity: 1; }
}

.trainers-section {
    margin-top: 4rem;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trainer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.trainer-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trainer-image i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.trainer-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.trainer-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.trainer-role {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.trainer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.specialty-tag {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--neon-glow);
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    text-shadow: var(--neon-glow);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,255,255,0.8), rgba(255,0,255,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.reviews-carousel {
    margin-top: 3rem;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.review-content {
    text-align: center;
}

.review-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info h5 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== SWIPER PAGINATION ===== */
.reviews-section .swiper-pagination-bullet,
.short-reviews .swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.reviews-section .swiper-pagination-bullet-active,
.short-reviews .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-color);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 10px;
}

.form-select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

.form-select option:hover,
.form-select option:focus {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.contact-form .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.contact-form .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: var(--neon-glow);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.contact-info-blocks {
    margin-top: 4rem;
}

.contact-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--neon-glow);
}

.contact-block h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-block p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    text-shadow: var(--neon-glow);
}

/* ===== MAPS SECTION ===== */
.maps-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.map-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.map-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.map-item h4 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-container {
    height: 300px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-details {
    padding: 1.5rem;
    padding-top: 1rem;
}

.location-details p {
    margin: 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-details p i {
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
}

.footer-divider {
    border-color: var(--border-color);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 20px;
}

/* ===== FLOATING BANNERS ===== */
.floating-banners {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    pointer-events: none;
}

.floating-banner {
    position: absolute;
    pointer-events: all;
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.left-banner {
    left: 20px;
    width: 300px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.right-banner {
    right: 20px;
    width: 280px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.banner-content {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .banner-content {
        padding: 1rem;
        padding-top: 2.2rem; /* Extra space for close button */
        max-height: 35vh;
        overflow-y: auto;
        position: relative;
    }

    /* Mobile close button positioning */
    .banner-close {
        position: absolute;
        top: 10px;
        right: 15px;
        z-index: 10;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .banner-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
}

.banner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.banner-header i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.banner-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.banner-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
}

.banner-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.banner-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.banner-text {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.banner-buttons {
    display: flex;
    gap: 8px;
}

.banner-buttons .btn {
    flex: 1;
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 20px;
}

.banner-buttons .btn-primary {
    background: var(--primary-color);
    border: none;
    color: var(--dark-bg);
}

.banner-buttons .btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.perks-container {
    max-height: 400px;
    overflow-y: auto;
}

.perk-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.perk-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

.perk-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0.5rem;
}

.perk-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.perk-content p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.perk-buttons {
    display: flex;
    gap: 5px;
}

.perk-buttons .btn {
    flex: 1;
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 15px;
}

.btn-xs {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .courses-grid,
    .features-grid,
    .gallery-grid,
    .maps-grid {
        grid-template-columns: 1fr;
    }

    /* Fix mobile header layout */
    .navbar {
        position: relative;
    }

    .navbar-brand {
        flex: 1;
    }

    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1030;
    }

    .header-contact {
        display: none; /* Hide contact info on mobile */
    }

    /* Mobile menu background and visibility */
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 1rem;
        border: 1px solid var(--border-color);
    }

    .navbar-nav .nav-link {
        color: var(--text-primary) !important;
        padding: 10px 15px;
        margin: 5px 0;
        border-radius: 5px;
        transition: var(--transition);
    }

    .navbar-nav .nav-link:hover {
        background: rgba(0, 255, 255, 0.1);
        color: var(--primary-color) !important;
    }

    .navbar-collapse {
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .about-highlights {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .maps-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 250px;
    }

    /* Mobile-specific floating banner styles - Simple bottom popup */
    .floating-banners {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1049;
        margin: 0;
        padding: 20px 10px;
        box-sizing: border-box;
    }

    .floating-banners::before {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.2); /* Reduced opacity */
        z-index: -1;
    }

    .floating-banners .left-banner {
        position: absolute;
        left: 10px; /* Position to the left side */
        bottom: 20px; /* Position from bottom */
        z-index: 1050;
        max-width: 280px;
        width: calc(100vw - 60px); /* Leave space on right side */
        border-radius: 15px 15px 0 0;
        animation: slideUpMobile 0.4s ease-out;
        box-sizing: border-box;
    }

    .floating-banner {
        position: relative;
        width: 100%;
        margin-bottom: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-radius: 15px;
        overflow: hidden;
    }

    .left-banner,
    .right-banner {
        width: 100%;
    }

    /* Hide perks banner on mobile, show only webinar banner */
    .right-banner {
        display: none;
    }

    /* Make webinar banner more prominent on mobile */
    .left-banner {
        animation: slideUpMobile 0.4s ease-out;
        border: none;
        border-radius: 15px 15px 0 0;
    }

    .left-banner .banner-content {
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(0, 0, 0, 0.95));
        border-radius: 15px 15px 0 0;
    }

    @keyframes slideUpMobile {
        0% {
            transform: translateY(100%);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Ensure banner is visible and stable */
    .floating-banners .left-banner {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Prevent content change jumping */
        min-height: 120px; /* Set minimum height to prevent jumping */
        transition: none; /* Remove any transitions that might cause movement */
    }

    /* Prevent text content jumping */
    .banner-body h4 {
        min-height: 1.2em; /* Prevent height changes when text changes */
        line-height: 1.2;
    }

    .banner-body .banner-text {
        min-height: 2.4em; /* Prevent height changes */
        line-height: 1.2;
    }

    /* Responsive popup sizing for different screen sizes */
    @media (max-width: 480px) {
        .floating-banners .left-banner {
            max-width: 100%;
            width: calc(100vw - 20px);
        }
    }

    @media (min-width: 481px) and (max-width: 768px) {
        .floating-banners .left-banner {
            max-width: 280px;
            width: 280px;
        }
    }

    /* Additional mobile viewport fixes */
    @media (max-height: 600px) {
        .banner-content {
            max-height: 30vh !important;
        }
    }

    /* Mobile banner visibility is handled by JavaScript */

    .perks-container {
        max-height: none;
        overflow-y: visible;
    }

    .perk-item {
        margin-bottom: 15px;
    }

}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-section {
        text-align: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .contact-form {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===== ACCESSIBILITY & PREFERENCES ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.3) !important;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ffffff;
        --secondary-color: #ffff00;
        --dark-bg: #000000;
        --text-primary: #ffffff;
        --border-color: #ffffff;
    }
}

/* ===== MODAL STYLING ===== */
#privacyModal .modal-body,
#termsModal .modal-body {
    color: #000000 !important;
}

#privacyModal .modal-body h6,
#termsModal .modal-body h6 {
    color: #000000 !important;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

#privacyModal .modal-body h6:first-child,
#termsModal .modal-body h6:first-child {
    margin-top: 0;
}

#privacyModal .modal-body p,
#termsModal .modal-body p {
    color: #333333 !important;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===== CITIES DISPLAY ===== */
.cities-display {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.city-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    animation: cityFloat 6s ease-in-out infinite;
}

.city-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
}

.city-circle span {
    color: var(--dark-bg);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.city-circle:nth-child(1) { animation-delay: 0s; }
.city-circle:nth-child(2) { animation-delay: 1.5s; }
.city-circle:nth-child(3) { animation-delay: 3s; }
.city-circle:nth-child(4) { animation-delay: 4.5s; }

@keyframes cityFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Hide cities display on mobile */
@media (max-width: 768px) {
    .cities-display {
        display: none;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-glow {
    text-shadow: var(--neon-glow);
}

.bg-glow {
    box-shadow: var(--neon-glow);
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}