/* ========================================
   ROBO RANGER WEBSITE - MAIN STYLES
   ======================================== */

/* Root Color Variables */
:root {
    --primary-green: #22c55e;
    --primary-red: #ef4444;
    --primary-blue: #2563eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 14px 40px;
    font-size: 1.1rem;
    width: 100%;
    max-width: 400px;
}

.cta-btn {
    background: var(--primary-green);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    background: #16a34a;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--primary-green);
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--primary-red);
    top: 50%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
}

.hero-content {
    flex: 1;
    z-index: 10;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 50%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    animation: slideInLeft 0.8s ease-out 0.1s backwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: slideInLeft 0.8s ease-out 0.3s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.robot-icon {
    width: 220px;      /* adjust size */
    height: auto;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.robot-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--primary-blue);
    animation: float 6s ease-in-out infinite;
}

.robot-icon {
    font-size: 8rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   IMAGE SLIDER (SWIPER)
   ======================================== */

.slider-section {
    padding: 80px 20px;
    background: var(--bg-light);
    max-width: 1400px;
    margin: 0 auto;
}

.slider-header {
    text-align: center;
    margin-bottom: 3rem;
}

.slider-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.slider-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-slide {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.swiper-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-button-prev,
.slider-button-next {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-button-prev:hover,
.slider-button-next:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-button-prev {
    left: -30px;
}

.slider-button-next {
    right: -30px;
}

.slider-pagination {
    bottom: -50px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color) !important;
    opacity: 0.6 !important;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
    opacity: 1 !important;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    padding: 80px 20px;
    background: var(--bg-white);
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--primary-green);
}

.illustration {
    font-size: 6rem;
    animation: float 4s ease-in-out infinite;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.feature:nth-child(2) {
    border-left-color: var(--primary-green);
}

.feature:nth-child(3) {
    border-left-color: var(--primary-red);
}

.feature:nth-child(4) {
    border-left-color: var(--primary-blue);
}

.feature:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-mission {
    font-size: 1.1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
    color: var(--text-dark);
}

/* ========================================
   RoboRangers STEM ROBOTICS LEARNING PATH
   ======================================== */

.learning-path-section {
    padding: 80px 20px;
    background: var(--bg-light);
    max-width: 1400px;
    margin: 0 auto;
}

.learning-path-header {
    text-align: center;
    margin-bottom: 4rem;
}

.learning-path-header .section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.learning-path-header .section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}

.learning-timeline {
    position: relative;
    padding: 20px 0;
}

.learning-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 50%, var(--primary-red) 100%);
    border-radius: 2px;
}

.learning-level {
    margin-bottom: 3rem;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.learning-level:nth-child(odd) .level-content {
    grid-column: 1;
}

.learning-level:nth-child(even) .level-content {
    grid-column: 3;
}

.level-marker {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.level-number {
    width: 60px;
    height: 60px;
    background: white;
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.learning-level.level-1 .level-number {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.learning-level.level-2 .level-number {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.learning-level.level-3 .level-number {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.learning-level.level-4 .level-number {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.learning-level.level-5 .level-number {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.learning-level.level-6 .level-number {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.level-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary-blue);
    transition: var(--transition);
}

.learning-level.level-1 .level-content {
    border-left-color: var(--primary-blue);
}

.learning-level.level-2 .level-content {
    border-left-color: var(--primary-green);
}

.learning-level.level-3 .level-content {
    border-left-color: var(--primary-red);
}

.learning-level.level-4 .level-content {
    border-left-color: var(--primary-blue);
}

.learning-level.level-5 .level-content {
    border-left-color: var(--primary-green);
}

.learning-level.level-6 .level-content {
    border-left-color: var(--primary-red);
}

.level-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.level-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.level-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.learning-level.level-1 .level-badge,
.learning-level.level-4 .level-badge {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-blue);
}

.learning-level.level-2 .level-badge,
.learning-level.level-5 .level-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
}

.learning-level.level-3 .level-badge,
.learning-level.level-6 .level-badge {
    background: rgba(239, 68, 68, 0.15);
    color: var(--primary-red);
}

.level-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.level-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.skills-list,
.tools-list {
    list-style: none;
}

.skills-list li,
.tools-list li {
    font-size: 0.95rem;
    color: var(--text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skills-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
}

.tools-list li::before {
    content: '⚙';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.demo-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    font-family: 'Poppins', sans-serif;
}

.demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.demo-btn:active {
    transform: translateY(-1px);
}

/* ========================================
   VIDEO MODAL
   ======================================== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2001;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 2002;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.modal-video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.modal-video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

/* .video-section {
    padding: 80px 20px;
    background: var(--bg-white);
    max-width: 1400px;
    margin: 0 auto;
}

.video-container {
    text-align: center;
}

.video-container h2 {
    margin-bottom: 3rem;
}

.video-player {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.video-placeholder {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    border: 2px dashed var(--primary-blue);
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    z-index: 10;
    transition: var(--transition);
}

.video-placeholder:hover .play-button {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.video-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
} */

.video-player {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

video {
    width: 100%;
    border-radius: 10px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.play-button {
    font-size: 60px;
    color: white;
    text-shadow: 0 0 15px black;
    pointer-events: none;
}
/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
    padding: 80px 20px;
    background: var(--bg-light);
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
    
}

.gallery-item:hover .zoom-icon {
    transform: scale(1.2);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    max-width: 1400px;
    margin: 0 auto;
}

.stats-section h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:nth-child(1) {
    border-color: var(--primary-green);
}

.stat-card:nth-child(2) {
    border-color: var(--primary-blue);
}

.stat-card:nth-child(3) {
    border-color: var(--primary-red);
}

.stat-card:nth-child(4) {
    border-color: var(--primary-green);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 80px 20px;
    background: var(--bg-white);
    max-width: 1400px;
    margin: 0 auto;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 3rem 0;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 2rem;
}

.footer-section h4,
.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
}

.footer-links li,
.footer-social li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

.footer-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-green);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Learning Path Responsive */
@media (max-width: 1024px) {
    .learning-timeline::before {
        left: 30px;
        width: 2px;
    }

    .learning-level {
        grid-template-columns: 60px 1fr;
        gap: 1.5rem;
    }

    .learning-level:nth-child(odd) .level-content,
    .learning-level:nth-child(even) .level-content {
        grid-column: 2;
    }

    .level-marker {
        grid-column: 1;
        justify-content: flex-start;
    }

    .level-number {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .level-content {
        padding: 1.8rem;
    }

    .level-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .level-title {
        font-size: 1.2rem;
    }

    .level-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .learning-timeline::before {
        left: 20px;
    }

    .level-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .level-content {
        padding: 1.5rem;
    }

    .level-title {
        font-size: 1.1rem;
    }

    .level-description {
        font-size: 0.95rem;
    }

    .detail-column h4 {
        font-size: 0.95rem;
    }

    .skills-list li,
    .tools-list li {
        font-size: 0.9rem;
    }

    .demo-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .learning-path-header .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .learning-timeline {
        padding: 10px 0;
    }

    .learning-timeline::before {
        left: 15px;
    }

    .learning-level {
        margin-bottom: 2rem;
    }

    .level-marker {
        grid-column: 1;
    }

    .level-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .level-content {
        padding: 1.2rem;
    }

    .level-title {
        font-size: 1rem;
    }

    .level-header {
        gap: 0.5rem;
    }

    .level-badge {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .level-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .level-details {
        gap: 1rem;
    }

    .detail-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }

    .skills-list li,
    .tools-list li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        padding-left: 1.2rem;
    }

    .demo-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        width: 100%;
    }

    .modal-content {
        width: 98%;
        max-height: 90vh;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .slider-button-prev,
    .slider-button-next {
        display: none;
    }

    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        max-width: 100%;
    }

    .robot-placeholder {
        width: 200px;
        height: 200px;
    }

    .robot-icon {
        font-size: 5rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .levels-grid {
        grid-template-columns: 1fr;
    }

    .video-placeholder {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 20px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .slider-header h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

/* Intersection Observer animations */
.has-animated {
    animation: slideUp 0.6s ease-out;
}


