:root {
    /* Colors */
    --background: hsl(210, 20%, 98%);
    --foreground: hsl(222, 15%, 20%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222, 15%, 20%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(222, 15%, 20%);
    --primary: hsl(0, 97%, 70%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-glow:hsl(0, 81%, 68%);
    --secondary: hsl(0, 92%, 65%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --secondary-glow: hsl(352, 97%, 65%);
    --muted: hsl(210, 20%, 95%);
    --muted-foreground: hsl(222, 15%, 50%);
    --accent: hsl(35, 95%, 55%);
    --accent-foreground: hsl(0, 0%, 100%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 100%);
    --border: hsl(210, 20%, 90%);
    --input: hsl(210, 20%, 95%);
    --ring: hsl(357, 81%, 61%);
    --radius: 0.5rem;

    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--primary), var(--primary-glow));
    --secondary-gradient: linear-gradient(135deg, var(--secondary), var(--secondary-glow));
    --glass-bg: rgba(255, 255, 255, 0.1);
    --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
    --shadow-soft: 0 4px 20px -4px hsl(var(--primary) / 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(222, 20%, 8%);
        --foreground: hsl(210, 20%, 95%);
        --card: hsl(222, 20%, 10%);
        --card-foreground: hsl(210, 20%, 95%);
        --popover: hsl(222, 20%, 10%);
        --popover-foreground: hsl(210, 20%, 95%);
        --primary: hsl(210, 100%, 65%);
        --primary-foreground: hsl(222, 20%, 8%);
        --primary-glow: hsl(210, 100%, 75%);
        --secondary: hsl(142, 76%, 45%);
        --secondary-foreground: hsl(222, 20%, 8%);
        --secondary-glow: hsl(142, 76%, 55%);
        --muted: hsl(222, 20%, 15%);
        --muted-foreground: hsl(210, 20%, 70%);
        --accent: hsl(35, 95%, 65%);
        --accent-foreground: hsl(222, 20%, 8%);
        --destructive: hsl(0, 62.8%, 50%);
        --destructive-foreground: hsl(0, 0%, 100%);
        --border: hsl(222, 20%, 20%);
        --input: hsl(222, 20%, 15%);
        --ring: hsl(210, 100%, 65%);
        --glass-bg: rgba(255, 255, 255, 0.05);
        --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.5);
        --shadow-soft: 0 4px 20px -4px hsl(var(--primary) / 0.3);
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.btn-primary {
    background: var(--hero-gradient);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elegant);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
    border-color: var(--primary);
}

    /* Programs Section */
.programs {
    padding: 5rem 0;
    background: var(--background);
}

.featured-program {
    background: var(--secondary-gradient);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 4rem;
    display: grid;
    gap: 2rem;
    align-items: center;
    animation: scaleIn 0.6s ease;
}

@media (min-width: 768px) {
    .featured-program {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .featured-program {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-foreground);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .featured-content h3 {
        font-size: 2rem;
    }
}

.featured-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.featured-content .btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
}

.featured-content .btn:hover {
    background: white;
}

.featured-image {
    display: flex;
    justify-content: center;
}

.featured-image img {
    width: 30rem;
    height: 20rem;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-elegant);
}

.programs-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    animation: slideUp 0.6s ease;
}

.program-card:nth-child(2) { animation-delay: 0.1s; }
.program-card:nth-child(3) { animation-delay: 0.2s; }
.program-card:nth-child(4) { animation-delay: 0.3s; }
.program-card:nth-child(5) { animation-delay: 0.4s; }
.program-card:nth-child(6) { animation-delay: 0.5s; }

.program-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
}

.program-icon {
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.program-card:hover .program-icon {
    background: rgba(59, 130, 246, 0.2);
}

.program-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.program-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.program-card p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    text-align: left;
}

.program-features li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.program-features li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.cta-section {
    text-align: center;
    animation: fadeIn 0.6s ease;
}

.cta-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Student Life Section */
.student-life {
    padding: 5rem 0;
    background: rgba(248, 250, 252, 0.3);
}

.highlights-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.highlight-item {
    animation: slideUp 0.6s ease;
}

.highlight-item:nth-child(2) {
    animation-delay: 0.2s;
}

.highlight-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.highlight-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-item:hover .highlight-image img {
    transform: scale(1.1);
}

.highlight-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.highlight-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.highlight-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stat-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.activities-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.activity-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    animation: scaleIn 0.6s ease;
}

.activity-card:nth-child(2) { animation-delay: 0.1s; }
.activity-card:nth-child(3) { animation-delay: 0.2s; }
.activity-card:nth-child(4) { animation-delay: 0.3s; }

.activity-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-elegant);
}

.activity-icon {
    margin: 0 auto 1rem;
    padding: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    width: fit-content;
}

.activity-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.activity-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.activity-highlight {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.testimonial-section {
    background: var(--hero-gradient);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease;
}

@media (min-width: 768px) {
    .testimonial-section {
        padding: 3rem;
    }
}

.testimonial-section blockquote {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .testimonial-section blockquote {
        font-size: 1.5rem;
    }
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.9);
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Utility Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease;
}

.animate-slide-up {
    animation: slideUp 0.6s ease;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease;
}

/* Responsive Design */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .header,
    .mobile-nav,
    .scroll-indicator,
    .footer {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}