* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(255,255,255,0.25), transparent 60%),
        radial-gradient(900px 600px at 110% 10%, rgba(255,255,255,0.18), transparent 60%),
        linear-gradient(135deg, #0ea5e9 0%, #6366f1 40%, #a855f7 70%, #f472b6 100%);
    padding: 100px 20px 50px;
    overflow: hidden;
    will-change: transform, opacity;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 140%;
    background:
        radial-gradient(120px 120px at 20% 30%, rgba(255,255,255,0.25), transparent 60%),
        radial-gradient(160px 160px at 70% 20%, rgba(255,255,255,0.18), transparent 60%),
        radial-gradient(140px 140px at 60% 70%, rgba(255,255,255,0.15), transparent 60%);
    filter: blur(30px) saturate(120%);
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.2rem, 9vw, 5.6rem);
    font-weight: 900;
    margin-bottom: 1.25rem;
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #fef3c7 20%, #ffffff 40%, #e9d5ff 60%, #ffffff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 6px 22px rgba(0,0,0,0.15);
    animation: fadeInUp 0.8s ease forwards, titleSheen 6s ease-in-out infinite;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.6vw, 1.35rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #fef3c7);
    color: #1f2937;
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.22);
}

.btn-secondary {
    background: rgba(255,255,255,0.14);
    color: #ffffff;
    border-color: rgba(255,255,255,0.85);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-soon {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,255,0.75);
    cursor: not-allowed;
}

.btn-soon:hover { transform: none; box-shadow: none; }

.hero-robots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.robot {
    position: absolute;
    font-size: clamp(3rem, 6vw, 5rem);
    opacity: 0.2;
    animation: float 8s ease-in-out infinite;
}

.robot-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.robot-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
}

.robot-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.robot-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}

@keyframes titleSheen {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { filter: drop-shadow(0 8px 24px rgba(255,255,255,0.25)); }
}

@media (prefers-reduced-motion: reduce) {
    .robot { animation: none; }
    .title-line { animation: fadeInUp 0.8s ease forwards; }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Programs Section */
.programs {
    background: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.program-features {
    list-style: none;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Features Section */
.features {
    background: var(--gradient-1);
    color: white;
}

.features .section-title,
.features .section-subtitle {
    color: white;
    -webkit-text-fill-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    opacity: 0.9;
    line-height: 1.7;
}

/* Interactive Animation Section */
.interactive-section {
    background: white;
    padding: 100px 0;
}

.animation-container {
    position: relative;
    min-height: 500px;
    border-radius: 30px;
    background: var(--gradient-2);
    padding: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.animation-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 1rem;
    text-align: center;
    z-index: 2;
}

.animation-description {
    color: white;
    opacity: 0.9;
    text-align: center;
    z-index: 2;
}

.particles-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    opacity: 0.7;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-light);
}

/* Projects */
.projects {
    background: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid rgba(99,102,241,0.08);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-media {
    position: relative;
    aspect-ratio: 16/10;
    background: #f3f4f6;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-badge {
    position: absolute;
    right: 12px;
    top: 12px;
    background: rgba(255,255,255,0.9);
    color: #111827;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.project-content { padding: 1rem 1rem 1.25rem; }
.project-content h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.project-content p { color: var(--text-light); line-height: 1.8; }

/* Domains/Offerings */
.domains {
    background: var(--bg-light);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.domain-card {
    position: relative;
    padding: 0;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid rgba(99,102,241,0.1);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.domain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.domain-media { aspect-ratio: 16/10; background: #f3f4f6; }
.domain-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.domain-body { padding: 1rem 1rem 1.25rem; }
.domain-card h3 { margin-bottom: 0.4rem; font-size: 1.15rem; }
.domain-card p { color: var(--text-light); line-height: 1.8; }

.domain-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(99,102,241,0.12);
    color: #1f2937;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Labscape Section */
.labscape {
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,0.45) 0, rgba(255,255,255,0) 40%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.35) 0, rgba(255,255,255,0) 45%),
        var(--bg-light);
}

.labscape .container {
    max-width: 1200px;
}

.labscape-wrap {
    position: relative;
    min-height: 520px;
    border-radius: 28px;
    background:
        radial-gradient(1200px 600px at -10% -10%, rgba(255,255,255,0.35) 0, rgba(255,255,255,0) 50%),
        radial-gradient(800px 500px at 110% 120%, rgba(255,255,255,0.25) 0, rgba(255,255,255,0) 50%),
        linear-gradient(135deg, #60a5fa 0%, #a78bfa 40%, #f472b6 100%);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.6);
}

.lab-item {
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    animation: floatY 10s ease-in-out infinite;
}

.lab-item svg { display: block; }

.lab-robot {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: clamp(180px, 28vw, 260px);
    height: auto;
    z-index: 3;
    animation: floatY 8s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* Positions and sizes */
.arduino { width: clamp(220px, 32vw, 360px); top: 12%; left: 6%; animation-delay: 0.2s; }
.resistor { width: clamp(160px, 24vw, 260px); bottom: 8%; right: 8%; animation-delay: 0.6s; }
.led { width: clamp(120px, 18vw, 180px); top: 14%; right: 12%; animation-delay: 0.9s; }
.battery { width: clamp(140px, 20vw, 220px); bottom: 10%; left: 10%; animation-delay: 0.4s; }
.gear { width: clamp(90px, 14vw, 150px); top: 55%; left: 70%; animation-delay: 1.2s; }

/* Circuit overlay and nodes */
.circuit-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.node {
    position: absolute;
    width: clamp(28px, 5.2vw, 44px);
    height: clamp(28px, 5.2vw, 44px);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0, #e5e7eb 50%, #cbd5e1 100%);
    border: 3px solid #64748b;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.2);
    z-index: 4;
    cursor: pointer;
}

.node:after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.35), rgba(255,255,255,0));
    pointer-events: none;
}

/* Place nodes responsively within wrap (percent-based) */
.node.battery.plus { left: 12%; top: 70%; }
.node.battery.minus { left: 28%; top: 78%; }
.node.lamp.in { right: 20%; top: 42%; }
.node.lamp.out { right: 34%; top: 58%; }

.lamp-bulb {
    position: absolute;
    width: clamp(26px, 5vw, 44px);
    height: clamp(26px, 5vw, 44px);
    right: 16%;
    top: 36%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #fde68a 0, #f59e0b 50%, #ef4444 70%, rgba(0,0,0,0) 72%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 3;
    filter: brightness(0.95);
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.lamp-on {
    filter: brightness(1.15) saturate(1.1);
    box-shadow: 0 0 24px 8px rgba(253, 230, 138, 0.85), 0 6px 16px rgba(0,0,0,0.2);
}

/* Win Form Card */
.win-form-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: min(560px, 92%);
    background: rgba(255,255,255,0.95);
    border: 3px solid rgba(255,255,255,0.9);
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    padding: 24px;
    z-index: 6;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.win-form-card h3 { margin-bottom: 8px; }
.win-form-card .small { color: #6b7280; margin-bottom: 16px; }
.win-form-card .form-row { display: flex; gap: 12px; margin-bottom: 12px; }
.win-form-card .form-row.two > * { flex: 1; }
.win-form-card input {
    flex: 1;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
}
.win-form-card input:focus { outline: none; border-color: var(--primary-color); background: #fff; }
.win-form-card .form-note { font-size: 0.85rem; color: #6b7280; margin-top: 8px; }

.win-form-card.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }

/* Cable styling */
.cable-under {
    stroke: url(#cableGrad);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25));
}
.cable-top {
    stroke: #0f172a;
    stroke-opacity: 0.7;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Drag hint */
.drag-hint {
    position: absolute;
    z-index: 5;
    background: rgba(255,255,255,0.9);
    border: 2px solid rgba(255,255,255,0.95);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-radius: 999px;
    padding: 6px 12px;
    color: #0f172a;
    font-weight: 700;
    pointer-events: none;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Better contrast for labscape title-less area spacing */
.labscape .section-header { display: none; }

/* Cartoon feel: bold outlines and wobble on hover in game */
.lab-item svg * {
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.lab-item.cartoon-outline svg * {
    stroke: rgba(17,24,39,0.35);
    stroke-width: 2px;
}

.collectible {
    transition: transform 0.15s ease, filter 0.2s ease;
}

.collectible:hover {
    transform: scale(1.05) rotate(-1deg);
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.25));
}

/* HUD */
.lab-hud {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    padding: 8px 12px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);
    border: 2px dashed rgba(255,255,255,0.9);
    border-radius: 14px;
    color: #111827;
    font-weight: 700;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.hud-score { background: #22c55e; color: white; padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-md); }
.hud-status { color: #111827; }

/* Confetti */
.confetti-piece {
    position: absolute;
    width: 8px;
    height: 14px;
    opacity: 0.9;
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .labscape-wrap { min-height: 460px; }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--bg-light);
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: white;
}

/* Diplomas Section */
.diplomas { background: var(--bg-light); }
.diploma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.diploma-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 2px solid rgba(99,102,241,0.1);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.diploma-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.diploma-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.diploma-cta { text-align: center; margin-top: 1.5rem; }

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
}

.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 120px 20px 50px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .animation-container {
        min-height: 400px;
        padding: 2rem 1rem;
    }

    section {
        padding: 60px 0;
    }

    .robot {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 15px;
    }

    .container {
        padding: 0 15px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card,
    .program-card,
    .feature-item,
    .testimonial-card {
        padding: 1.5rem;
    }

    .animation-container {
        min-height: 300px;
    }
}

