/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: var(--navbar-height); /* Add padding for fixed navbar */
    /* background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%236730bf' fill-opacity='0.16' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E"); */
}

/* Updated Navbar Styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    border-color: rgba(52, 152, 219, 0.3);
}

.logo:hover {
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links li:hover::after,
.nav-links li.active::after {
    width: 100%;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.nav-links li.active a {
    color: #3498db;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.menu-toggle.active {
    color: #3498db;
}

body.menu-open {
    overflow: hidden;
}

@media screen and (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 40px 40px;
        transition: all 0.4s ease;
        z-index: 100;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    body.menu-open:before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    background-color: #2c3e50;
    margin-top: calc(-1 * var(--navbar-height)); /* Compensate for navbar padding */
    padding-top: var(--navbar-height); /* Add padding for the navbar */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-background.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2.5rem;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: #ffffff;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 1rem 2.2rem;
        font-size: 1rem;
    }
}

/* Featured Sections */
.featured-activities {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f5f7fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.featured-activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232c3e50' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.activities-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.activities-header h2 {
    color: #2c3e50;
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.activities-header p {
    color: #5d6d7e;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.header-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px auto;
}

.divider-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
}

.divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498db;
    margin: 0 5px;
}

.activities-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.activities-slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    margin: 0 -15px;
    padding: 20px 15px;
}

/* New Activity Card Design */
.activity-card {
    flex: 0 0 calc(33.333% - 30px);
    margin: 0 15px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.activity-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.activity-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.activity-card:hover .activity-image {
    transform: scale(1.1);
}

.activity-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.activity-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.activity-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.activity-date i {
    color: #3498db;
}

.activity-excerpt {
    color: #5d6d7e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3498db;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d8e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #3498db;
    transform: scale(1.2);
}

.view-all-activities {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #2c3e50;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.view-all-button:hover {
    background: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.view-all-button i {
    transition: transform 0.3s ease;
}

.view-all-button:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .activity-card {
        flex: 0 0 calc(50% - 30px);
    }
    
    .activities-header h2 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .featured-activities {
        padding: 60px 15px;
    }
    
    .activities-header h2 {
        font-size: 2.2rem;
    }
    
    .activities-header p {
        font-size: 1rem;
    }
    
    .activity-card {
        flex: 0 0 calc(100% - 30px);
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .view-all-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .activities-header h2 {
        font-size: 1.8rem;
    }
    
    .slider-controls {
        flex-wrap: wrap;
    }
}

/* Featured Mentors Section - New Design */
.featured-mentors {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mentor-showcase {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: white;
    position: relative;
    z-index: 1;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.mentor-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.15;
    z-index: -1;
}

.mentor-showcase::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.mentor-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mentor-content h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.underline-decorator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    margin: 10px auto 40px;
    border-radius: 4px;
}

.mentor-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.stat-card {
    background: rgba(30, 55, 153, 0.6);
    border-radius: 10px;
    padding: 25px 20px;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.stat-icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.stat-icon-circle i {
    font-size: 2rem;
    color: #4fb5ff;
}

.stat-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.stat-plus {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4fb5ff;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.mentor-description {
    max-width: 800px;
    margin: 20px auto 40px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.mentor-cta {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #1e3c72;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mentor-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.mentor-cta:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mentor-cta:hover::before {
    opacity: 1;
}

.cta-text, .cta-icon {
    position: relative;
    z-index: 1;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.mentor-cta:hover .cta-icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: #0E185F;
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.mentor-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Featured Activities Section */
.featured-activities {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.activities-header {
    text-align: center;
    margin-bottom: 3rem;
}

.activities-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activities-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card {
    cursor: pointer;
    background: #fff;
    border: 1px solid #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.activity-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.activity-content {
    padding: 1.5rem;
}

.activity-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.activity-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.activity-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.activity-date i {
    color: var(--accent-color);
}

.activity-excerpt {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.view-all-activities {
    text-align: center;
    margin-top: 3rem;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.view-all-button i {
    transition: transform 0.3s ease;
}

.view-all-button:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .activities-header h2 {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}