:root {
    --primary: #1a5f7a;
    --secondary: #ffd700;
    --text: #1c2d41;
    --bg-light: #f0f4f8;
    --white: #ffffff;
    --dark-blue: #0a192f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;  
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: linear-gradient(to right, #f0f4f8, #e6f2ff);
    max-width: 1440px;  
    margin: 0 auto;     
    background-color: var(--bg-light);
    cursor: none;
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(26, 95, 122, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

/* Enhanced Hero Section Styling */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--dark-blue));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
}

.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    padding: 40px;
    background: rgba(26, 95, 122, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo-badge {
    margin-top: 15px;
    background: var(--secondary);
    color: var(--dark-blue);
    padding: 10px 20px;
    border-radius: 20px;
}

.logo-badge span {
    font-weight: 700;
    font-size: 1.2em;
}

.logo-badge small {
    display: block;
    font-size: 0.7em;
}

.glitch-text {
    position: relative;
    text-shadow: 
        0.05em 0 0 #00fffc, 
        -0.03em -0.04em 0 #fc00ff, 
        0.025em 0.04em 0 #fffc00;
    animation: glitch 725ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 #00fffc, 
            -0.03em -0.04em 0 #fc00ff, 
            0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 
            0.05em 0 0 #00fffc, 
            -0.03em -0.04em 0 #fc00ff, 
            0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: 
            -0.05em -0.025em 0 #00fffc, 
            0.025em 0.035em 0 #fc00ff, 
            -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 #00fffc, 
            0.025em 0.035em 0 #fc00ff, 
            -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 
            0.05em 0.035em 0 #00fffc, 
            0.03em 0 0 #fc00ff, 
            0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 
            0.05em 0.035em 0 #00fffc, 
            0.03em 0 0 #fc00ff, 
            0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: 
            -0.05em 0 0 #00fffc, 
            -0.025em -0.04em 0 #fc00ff, 
            -0.04em -0.025em 0 #fffc00;
    }
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--dark-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary::before, 
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover::before, 
.btn-secondary:hover::before {
    left: 100%;
}

/* Sections */
section {
    padding: 40px;
    max-width: 1200px;  
    margin: 60px auto;     
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

section:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* Soft Rounded Containers */
.container {
    padding: 0 20px;  
}

/* Modern Card Styles */
.card, .program-card, .testimonial {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.card:hover, .program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* Responsive Grid Layouts with Soft Gaps */
.audience-cards, .program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* Cards */
.audience-cards {
    margin-top: 40px;
}

.card {
    padding: 30px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* Programs */
.program-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.program-card {
    padding: 30px;
}

/* Testimonials */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial.active {
    opacity: 1;
}

/* Contact */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
}

/* Interactive Cards */
.interactive-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.interactive-card .hover-details {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 95, 122, 0.9);
    color: white;
    padding: 20px;
    transition: top 0.3s ease;
    opacity: 0;
}

.interactive-card.card-hover .hover-details {
    top: 50%;
    opacity: 1;
}

.interactive-card.card-hover .default-text {
    opacity: 0;
}

.interactive-card .hover-details ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Soft Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary); 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5f7a; 
}

/* Soft Floating Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.card, .program-card {
    animation: float 4s ease-in-out infinite;
}

.card:nth-child(2) { animation-delay: 1s; }
.card:nth-child(3) { animation-delay: 2s; }

/* Responsive Typography */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    .hero {
        height: 70vh;
    }
    
    .audience-cards,
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    .hero-content {
        padding: 20px;
    }

    .glitch-text {
        font-size: 2em;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    body {
        max-width: 100%;
    }

    section {
        margin: 30px 10px;
        padding: 20px;
        border-radius: 15px;
    }

    .audience-cards, .program-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

/* Confetti Surprise Animation */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti-hidden {
    display: none;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Enhanced Contact Buttons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-contact i {
    margin-right: 10px;
    font-size: 1.2em;
}

.btn-contact.whatsapp { background-color: #25D366; }
.btn-contact.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.btn-contact.website { background-color: #1a5f7a; }
.btn-contact.email { background-color: #EA4335; }

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

/* Responsive Contact Buttons */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact {
        width: 80%;
        margin: 10px 0;
    }
}