@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-blue: #2196F3;
    --primary-purple: #9C27B0;
    --primary-pink: #E91E63;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top right, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    100% { transform: translateY(-100px) translateX(-100px) rotate(360deg); }
}

nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 0.5rem;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 0,100 1000,0"/></svg>');
    background-size: cover;
}

.header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.header h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3.5rem;
    margin-bottom: 3rem;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.1),
        0 4px 16px rgba(0,0,0,0.05),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 32px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: -0.01em;
}

.main-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.8;
    font-weight: 400;
}

.main-text p {
    margin-bottom: 1.5rem;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 50%, var(--primary-blue) 100%);
    color: white;
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow:
        0 20px 60px rgba(233, 30, 99, 0.2),
        0 8px 32px rgba(156, 39, 176, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s infinite;
}

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

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: -0.01em;
}

.contact-section p {
    position: relative;
    z-index: 2;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.contact-section a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.3px;
}

.contact-section a:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 50%, var(--primary-pink) 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    backdrop-filter: blur(20px);
}

footer img {
    transition: all 0.3s ease;
}

footer img:hover {
    transform: scale(1.1);
    opacity: 1 !important;
}

/* Floating image with modern styling */
.floating-image {
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.15),
        0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255,255,255,0.5);
}

.floating-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.2),
        0 12px 48px rgba(0,0,0,0.15);
}

/* Modern program cards */
.program-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff0f5 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(33, 150, 243, 0.1);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.08),
        0 4px 16px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.program-card:nth-child(even)::before {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
}

.program-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.12),
        0 8px 32px rgba(0,0,0,0.08);
}

.program-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-card:nth-child(even) h3 {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .header {
        padding: 2.5rem 0;
    }

    .content-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-section {
        padding: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    nav a {
        margin: 0.25rem;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Smooth scrolling and improved focus states */
html {
    scroll-behavior: smooth;
}

*:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}