
:root {
    /* Color Palette */
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #ffd700;
    --light: #f8f9fa;
    --dark: #121212;
    --text: #333333;
    --text-light: #6c757d;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}
.about_title{
    /* background-color: red; */
    margin-top:30px;
}
.section {
    padding: var(--space-xl) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-align: center;
   margin-top: 20px;
    color: var(--primary);
    display: block;          /* ensure block-level */
    width: 100%;             /* occupy full width */
}


.section-title span {
    color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent), var(--gold));
    margin: 0 auto var(--space-xl);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--secondary);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}



/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}


 /* About Section Image Adjustments */
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-height: 500px; /* Added max-height */
    display: flex; /* Added for better image control */
    align-items: center; /* Center the image vertically */
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 100%; /* Ensure it doesn't exceed container */
    display: block;
    transition: var(--transition);
    object-fit: cover; /* Ensure image covers area properly */
    object-position: center; /* Center the image */
}

@media (max-width: 992px) {
    .about-image {
        max-height: 400px; /* Slightly smaller on tablets */
    }
}

@media (max-width: 768px) {
    .about-image {
        max-height: 350px; /* Even smaller on mobile */
    }
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
    text-align: center;
    position: relative;
}

.mission-section .section-title {
    color: white;
}

.mission-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.mission-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-xl);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.mission-statement {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
    position: relative;
}

.mission-statement::before,
.mission-statement::after {
    content: '"';
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
}

.mission-statement::before {
    top: -20px;
    left: -30px;
}

.mission-statement::after {
    bottom: -40px;
    right: -30px;
}

/* Organizers Section */
.organizers-section {
    background-color: var(--light);
}

.organizers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.organizer-card {
    background-color: white;
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.organizer-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.organizer-card p {
    color: var(--text-light);
}

/* Mentors Section */
.mentors-section {
    background-color: white;
}

.mentors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.mentor-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--space-lg);
    align-items: center;
    background-color: var(--light);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mentor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.mentor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mentor-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.mentor-position {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.mentor-bio {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
[data-aos] {
    transition-property: transform, opacity;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .organizers-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-statement {
        font-size: 1.2rem;
    }
    
    .mentor-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mentor-image {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.8rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .mission-card {
        padding: var(--space-lg) var(--space-md);
    }
}
