* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004399;
    --secondary: #00d4ff;
    --accent: #0099ff;
    --dark: #0a0e27;
    --light: #f5f7fa;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --success: #10b981;
    --danger: #ef4444;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fff;
}

/* ==================== HEADER ==================== */
header {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: -5px;
    color: #00d4ff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--secondary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 50%, var(--primary) 100%);
    color: white;
    padding: 6rem 2rem;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-image {
    animation: slideInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: slideInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ==================== SECTIONS ==================== */
section {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--light) 0%, #e8f1ff 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-item-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item-text h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.feature-item-text p {
    font-size: 0.95rem;
    margin: 0;
}

/* ==================== PROGRAMS SECTION ==================== */
.programs {
    padding: 5rem 2rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--primary);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary);
}

.program-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.program-card:nth-child(2) .program-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
}

.program-card:nth-child(3) .program-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.program-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.program-duration {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.curriculum {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.curriculum h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.curriculum ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-light);
}

.curriculum li {
    padding: 0.3rem 0;
}

.curriculum li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 100%);
    color: white;
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.stat-box p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 5rem 2rem;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.testimonial-name h4 {
    color: var(--dark);
    margin: 0;
}

.testimonial-name p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 5rem 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item-text h4 {
    margin: 0 0 0.3rem 0;
}

.contact-item-text p {
    margin: 0;
    opacity: 0.9;
}

.contact-form {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== FOOTER ==================== */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 100%);
    color: white;
    padding: 3rem 2rem 1.5rem;
    border-top: 3px solid var(--secondary);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.developer-credit {
    background: rgba(0, 212, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--secondary);
}

.developer-credit p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.developer-credit strong {
    color: var(--secondary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.whatsapp-btn:hover {
    background: #20ba5e;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        gap: 1rem;
    }

    .stat-box h3 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    header {
        padding: 0.5rem 0;
    }

    .header-container {
        padding: 0 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
