/* Enhanced World-Class CSS for RoboBuddy */

:root {
    /* Modern color palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --dark-color: #111827;
    --dark-secondary: #374151; 
    --light-color: #f3f4f6;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --heading-font: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --body-font: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

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

/* Base Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-family: var(--body-font);
    font-weight: 400;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
    color: var(--dark-color);
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: transform var(--transition-normal);
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.text-center {
    text-align: center;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all var(--transition-normal);
}

header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    font-family: var(--heading-font);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--primary-color);
    position: relative;
}

.logo span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.logo:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-secondary);
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--dark-color);
    transition: all var(--transition-normal);
    border-radius: var(--radius-full);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://t3.ftcdn.net/jpg/09/22/01/20/360_F_922012043_DQe3SsAg0RC5IyjhkSOVpO0IQdJT6kt3.jpg') center/cover no-repeat;
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, var(--white), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s ease;
    opacity: 0.9;
    max-width: 90%;
}

.hero-btns {
    animation: fadeInUp 1.4s ease;
    display: flex;
    gap: 1rem;
}

.hero-btns .btn:nth-child(2) {
    background: transparent;
    border: 2px solid var(--white);
    transition: all var(--transition-normal);
}

.hero-btns .btn:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-light);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-normal);
}

.about-img:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    border-radius: var(--radius-lg);
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.about-text p {
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    color: var(--dark-secondary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.member-img {
    height: 320px;
    position: relative;
    overflow: hidden;
}

.member-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.team-member:hover .member-img::before {
    opacity: 1;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
    position: relative;
    background: var(--white);
}

.member-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.team-member:hover .member-name::after {
    width: 80px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 10px;
    display: block;
}

/* Events Section */
.events-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.event-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.event-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.event-card:hover .event-img::before {
    opacity: 1;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.event-card:hover .event-img img {
    transform: scale(1.1);
}

.event-info {
    padding: 30px;
    position: relative;
}

.event-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.event-card:hover .event-title::after {
    width: 100px;
}

.event-date {
    display: inline-block;
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

/* Courses Section */
#courses {
    background-color: #f0f5ff;
    position: relative;
    overflow: hidden;
}

#courses::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    z-index: 0;
}

#courses::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 50%;
    z-index: 0;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.course-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.course-card:hover .course-img img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.course-content {
    padding: 30px;
    position: relative;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 12px;
}

.course-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.course-card:hover .course-title::after {
    width: 80px;
}

.course-modules {
    margin: 20px 0;
}

.module-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.module-item i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.course-price {
    display: flex;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 20px;
}

.price-original {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: line-through;
    color: #777;
    margin-right: 15px;
}

.price-discount {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.enroll-btn {
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 1.05rem;
    margin-top: 10px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.enroll-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: opacity var(--transition-normal);
    opacity: 0;
}

.enroll-btn:hover::after {
    opacity: 1;
}

/* Summer Camp Section */
#summer-camp {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.95)), url('/api/placeholder/1200/600') center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#summer-camp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.camp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.camp-content h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.camp-content p {
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    opacity: 0.95;
    line-height: 1.8;
}

.camp-features {
    margin: 30px 0;
}

.camp-feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all var(--transition-normal);
}

.camp-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.camp-feature i {
    margin-right: 15px;
    font-size: 1.25rem;
    color: var(--accent-color);
}

/* Form Styles */
.form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 0 0 0 100%;
    z-index: -1;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: #f9fafb;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: var(--white);
}

.lead-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    margin-top: 10px;
}

.form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-right: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-details h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-details p {
    color: var(--dark-secondary);
    line-height: 1.6;
}

.map-container {
    height: 100%;
    min-height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.map-container iframe,
.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: inline-block;
    font-family: var(--heading-font);
    letter-spacing: -0.03em;
}

.footer-logo span {
    color: var(--primary-light);
    position: relative;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: var(--white);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.footer-links li {
    margin-bottom: 15px;
    transition: all var(--transition-normal);
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-normal);
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 12px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.social-links a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transform: scale(0);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-5px);
    color: var(--white);
}

.social-links a:hover::after {
    transform: scale(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Modal Styles */
#enrollModal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#enrollModal > div {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 550px;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    animation: modalFadeIn 0.5s forwards;
    position: relative;
}

@keyframes modalFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: all var(--transition-normal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#closeModal:hover {
    color: var(--dark-color);
    background: rgba(0, 0, 0, 0.05);
}

#modalCourseName {
    color: var(--primary-color);
    font-weight: 700;
}

/* Page-specific Styles */
.page-banner {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/api/placeholder/1200/400') center/cover no-repeat;
    color: var(--white);
    margin-top: 0;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.banner-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    background: linear-gradient(90deg, var(--white), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* About Page Specific Styles */
.about-section {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-normal);
}

.about-img:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    border-radius: var(--radius-lg);
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
    padding-top: 120px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
}

.about-content p {
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    color: var(--dark-secondary);
    line-height: 1.8;
}

.vision-mission {
    padding: 100px 0;
    background-color: #f3f4f6;
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
}

.vision-mission::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0) 70%);
    border-radius: 50%;
}

.vision-mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.vision-box, .mission-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.vision-box:hover, .mission-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vision-box::before, .mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.vm-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.vision-box:hover .vm-icon, .mission-box:hover .vm-icon {
    transform: rotateY(180deg);
}

.vm-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.vm-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.vision-box:hover .vm-title::after, .mission-box:hover .vm-title::after {
    width: 80px;
}

.vision-box p, .mission-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-secondary);
}

.partners-section {
    padding: 100px 0;
    background-color: #f0f5ff;
    position: relative;
    overflow: hidden;
}

.partners-container {
    margin-top: 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 1;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.partner-logo {
    height: 90px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.partner-item:hover .partner-logo {
    transform: scale(1.1);
}

.partner-logo i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.milestones-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(124, 58, 237, 0.95)), url('/api/placeholder/1200/400') center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.milestones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.milestones-container {
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary-light), var(--secondary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: var(--radius-full);
}

.timeline-item {
    padding: 15px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background: var(--white);
    border: 4px solid var(--accent-color);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.timeline-item:hover::after {
    background: var(--accent-color);
    transform: scale(1.2);
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    border-radius: var(--radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.15);
}

.timeline-year {
    display: inline-block;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-full);
    font-size: 1.1rem;
}

.timeline-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 30px 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0;
    }

    .nav-link::after {
        transform-origin: center;
    }

    .nav-link:hover::after {
        transform: scaleX(0.5);
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .about-container,
    .camp-container,
    .contact-container,
    .vision-mission-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::after {
        left: 40px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 27px;
        top: 20px;
    }

    .timeline-item:nth-child(even)::after {
        left: 27px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    section {
        padding: 70px 0;
    }

    .hero-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title{
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .banner-title,
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-img::before {
        top: 10px;
        left: 10px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .team-grid,
    .events-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .courses-container {
        grid-template-columns: 1fr;
    }

    .course-title {
        font-size: 1.4rem;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .banner-title,
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-container {
        gap: 40px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .vm-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .vm-title {
        font-size: 1.8rem;
    }

    #enrollModal > div {
        padding: 30px 20px;
    }
}


@media(max-width:800px){
    .about-content{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}