/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-image: url('assets/background.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo {
    height: 38px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0;
}

.nav-links a {
    font-size: 1.2rem;
    margin-left: 2rem;
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease;
    will-change: transform, opacity;
}

.nav-links a:hover {
    color: #3498db;
    transform: translateY(-2px);
}
/* Add background to nav when scrolling */
nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Set height relative to viewport */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: 4rem; /* Adjusted size */
    font-weight: 800;
    margin-bottom: 1rem;
    /* Gradient text color */
    background: linear-gradient(45deg, #FF29A8 0%, #AD47DD 28%, #3237E2 71%, #00B5FF 100%); /* Updated gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow for readability */
}

.hero-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem; /* Adjusted size */
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Text shadow for readability */
    /* Assuming subtitle might also use the gradient or a similar one, adding for consistency */
    background: linear-gradient(45deg, #FF29A8 0%, #AD47DD 28%, #3237E2 71%, #00B5FF 100%); /* Updated gradient */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-cta {
    display: flex;
    gap: 20px; /* Adjusted gap */
    justify-content: center;
    margin-top: 3rem; /* Adjusted top margin */
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button.primary {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* Gradient from the image */
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.2); /* Slightly more opaque */
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white; /* Ensure text color is white */
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(45deg, #5c0de6, #1a60e0); /* Darker gradient on hover */
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3); /* Slightly more opaque on hover */
    border-color: rgba(255, 255, 255, 0.5); /* Darker border on hover */
}

/* Clubs Section */
.clubs {
    padding: 5rem 2rem;
    background: #f9f9f97e;
}

.clubs h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.club-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.club-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.club-card:hover {
    transform: translateY(-10px);
}

.club-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.club-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.club-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.club-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.club-button:hover {
    background: #2980b9;
}

/* Team Section */
.team {
    padding: 80px 20px 40px; /* Reduced bottom padding */
    background: #ffffff00;
    backdrop-filter: blur(10px);
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.team-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.team-card {
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-img {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
}

.team-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
    background-color: #f0f0f0;
}


@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 0.8; }
    100% { opacity: 0.6; }
}

.team-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.team-card .position {
    font-size: 0.9rem;
    color: #8A2BE2;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card .bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 15px;
}

.team-card .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-card .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #8A2BE2;
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-card .social-links a:hover {
    transform: translateY(-3px);
    background: #7B1FA2;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

/* If you want different colors for different social media */
.team-card .social-links a.linkedin {
    background: #0077B5;
}

.team-card .social-links a.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.team-card .social-links a.linkedin:hover {
    background: #005885;
}

.team-card .social-links a.instagram:hover {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #405DE6, #5851DB);
}

@keyframes blobAnimation {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        background-image: url('assets/background\ 1.svg'); /* <<< PASTE YOUR MOBILE FIXED BACKGROUND IMAGE PATH HERE */
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed; /* Make the background fixed on mobile */
        background-position: center center;
    }

    /* Mobile Hero Image */
    .hero-background-img {
        display: none; /* Hide the default image on mobile */
    }

    .hero-background-container {
        background-image: url('assets/phonr.svg'); /* <<< PASTE YOUR MOBILE IMAGE PATH HERE */
        background-size: contain; /* Changed from cover to contain */
        background-repeat: no-repeat;
        background-position: center center;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        display: block; /* Show indicator on mobile */
        bottom: 20px; /* Adjust as needed */
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 50px;
        border: 2px solid transparent; /* Make border transparent to show gradient */
        border-radius: 15px;
        z-index: 10; /* Keep higher z-index for the indicator */
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.1); /* Optional: subtle background for the inner part */
        position: absolute; /* Ensure absolute positioning is applied */
        overflow: hidden; /* Hide overflowing gradient */
    }

    .scroll-indicator::before { /* This is the scrolling wheel */
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 10px;
        background-color: white; /* Mouse scroll wheel */
        border-radius: 2px;
        animation: scrollAnimation 1.5s infinite ease-in-out;
        z-index: 2; /* Ensure wheel is above gradient */
    }

    .scroll-indicator::after { /* This will be the gradient border */
        content: '';
        position: absolute;
        top: -2px; /* Adjust to cover the border area */
        left: -2px; /* Adjust to cover the border area */
        right: -2px; /* Adjust to cover the border area */
        bottom: -2px; /* Adjust to cover the border area */
        background: linear-gradient(45deg, #FF29A8 0%, #AD47DD 28%, #3237E2 71%, #00B5FF 100%); /* Gradient color */
        border-radius: 17px; /* Slightly larger radius to cover the original border area */
        z-index: 1; /* Position behind the content and wheel */
    }

    @keyframes scrollAnimation {
        0% { transform: translate(-50%, 0); opacity: 1; }
        50% { transform: translate(-50%, 15px); opacity: 0; }
        100% { transform: translate(-50%, 0); opacity: 1; }
    }

    /* Keep other responsive styles */
    nav {
        padding: 0.8rem;
        position: fixed;
        background-color: white;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    .team {
        padding: 60px 15px;
    }

    .team h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .team-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .team-img {
        width: 180px;
        height: 180px;
    }

    .team-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .team-img {
        width: 160px;
        height: 160px;
    }
}

/* Events Section Styling */
.events {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.events h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    border-radius: 2px;
}

.events-subtitle {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 30px 0 20px;
    padding-left: 15px;
    position: relative;
    font-weight: 600;
}

.events-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    border-radius: 2px;
}

.event-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.event-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    scroll-snap-align: start;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.event-banner {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
}

.date-badge .month {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2196F3;
}

.date-badge .date {
    font-size: 1.3rem;
    font-weight: 700;
    color: #673AB7;
}

.event-type {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-details {
    padding: 20px;
}

.event-title {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.completed-badge, .register-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    text-align: center;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.completed-badge {
    background: #f0f0f0;
    color: #666;
}

.register-btn {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    color: white;
    cursor: pointer;
    border: none;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

/* Hide scrollbar but keep functionality */
.event-row::-webkit-scrollbar {
    display: none;
}

.event-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .events {
        padding: 60px 15px;
    }
    
    .events h2 {
        font-size: 2rem;
    }
    
    .events-subtitle {
        font-size: 1.3rem;
    }
    
    .event-card {
        min-width: 280px;
    }
    
    .event-banner {
        padding: 12px 15px;
    }
    
    .event-details {
        padding: 15px;
    }
}

/* Modern Contact Section Design */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa00 0%, #ffffff00 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.contact-background {
    max-width: 1200px;
    margin: 0 auto;
}

/* Remove the overlay text and update header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
}

/* Updated container layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Contact Info Styles with new heading */
.contact-info {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info .shy-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.contact-info .shy-heading::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 1.1rem;
}

.contact-item a:hover {
    opacity: 0.8;
}

/* Hide the span text */
.contact-item span {
    display: none;
}

/* Form Styles */
.contact-form {
    padding: 60px 40px;
    background: white;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2196F3;
    background: white;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #666;
    transition: all 0.3s;
    pointer-events: none;
    font-size: 1rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background: white;
    padding: 0 5px;
    color: #2196F3;
}

.checkbox-group {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2196F3;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px;
    }
    
    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }
}

footer {
    background: linear-gradient(45deg, #1a1a1a, #2c3e50);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    margin: 0 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: white;
    will-change: transform, opacity;
}

.social-links a:hover {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    transform: translateY(-2px);
}

.footer-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .club-container,
    .event-container {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 15px;
    }

    section h2 {
        font-size: 2.2rem;
    }

    .feature {
        padding: 30px 20px;
    }

    .team-card {
        padding: 1rem;
    }

    .team-img {
        width: 120px;
        height: 120px;
    }

    .team-card h3 {
        font-size: 1rem;
    }

    .team-card .position {
        font-size: 0.8rem;
    }

    .team-card .bio {
        font-size: 0.8rem;
    }
}

/* Add these styles for the intro section */
.intro-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #030303;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out;
    overflow: hidden;
    will-change: opacity;
}

/* Add geometric shapes background */
.intro-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to br, rgba(79, 70, 229, 0.05), transparent, rgba(244, 63, 94, 0.05));
    filter: blur(3rem);
    animation: gradientShift 15s infinite alternate ease-in-out;
}

/* Add floating shapes */
.elegant-shape {
    position: fixed;
    border-radius: 9999px;
    backdrop-filter: blur(2px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: appear 0.8s ease forwards;
    z-index: 0;
}

.elegant-shape::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.shape1 {
    width: 600px;
    height: 140px;
    left: -10%;
    top: 15%;
    animation: 
        appear 0.8s ease forwards 0.2s,
        floatShape1 20s infinite ease-in-out,
        rotateShape 30s infinite linear;
    background: linear-gradient(to right, rgba(33, 150, 243, 0.15), transparent);
}

.shape2 {
    width: 500px;
    height: 120px;
    right: -5%;
    top: 70%;
    animation: 
        appear 0.8s ease forwards 0.4s,
        floatShape2 25s infinite ease-in-out,
        rotateShape 35s infinite linear reverse;
    background: linear-gradient(to right, rgba(103, 58, 183, 0.15), transparent);
}

.shape3 {
    width: 300px;
    height: 80px;
    left: 5%;
    bottom: 5%;
    animation: 
        appear 0.8s ease forwards 0.6s,
        floatShape3 15s infinite ease-in-out,
        rotateShape 25s infinite linear;
    background: linear-gradient(to right, rgba(233, 30, 99, 0.15), transparent);
}

.shape4 {
    width: 200px;
    height: 60px;
    right: 15%;
    top: 10%;
    animation: 
        appear 0.8s ease forwards 0.8s,
        floatShape4 18s infinite ease-in-out,
        rotateShape 28s infinite linear reverse;
    background: linear-gradient(to right, rgba(156, 39, 176, 0.15), transparent);
}

.shape5 {
    width: 150px;
    height: 40px;
    left: 20%;
    top: 5%;
    animation: 
        appear 0.8s ease forwards 1s,
        floatShape5 22s infinite ease-in-out,
        rotateShape 32s infinite linear;
    background: linear-gradient(to right, rgba(33, 150, 243, 0.15), transparent);
}

/* Add overlay gradients */
.intro-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #030303, transparent, rgba(3, 3, 3, 0.8));
    pointer-events: none;
    z-index: 1;
}

.intro-section.hidden {
    transform: translateY(-100%);
}

.intro-container {
    max-width: 1000px;
    padding: 2rem;
    text-align: center;
    animation: fadeIn 1s ease-in;
    color: white;
    position: relative;
    z-index: 2;
}

.logo-container {
    margin-bottom: 2rem;
}
.intro-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: slideUp 1s ease-out;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    line-height: 2;
}

.gradient-text {
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #a5c4ff 50%,
        #ffb1c8 100%
    );
    font-size: 13rem;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
    margin-top: -20px;
}

.intro-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.2s backwards;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    animation: slideUp 1s ease-out 0.4s backwards;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.label {
    font-size: 1rem;
    opacity: 0.8;
}

.enter-button {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    animation: slideUp 1s ease-out 0.6s backwards;
    cursor: pointer;
    will-change: transform, opacity;
}

.enter-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

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

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

/* Update responsive design */
@media (max-width: 768px) {
    .intro-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .gradient-text {
        font-size: 6rem;
        line-height: 1;
        margin-top: 0;
    }

    .intro-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .intro-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .number {
        font-size: 2rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .enter-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .intro-container {
        padding: 1rem;
    }
}

/* Add styles for smaller phones */
@media (max-width: 380px) {
    .intro-content h1 {
        font-size: 2rem;
    }

    .gradient-text {
        font-size: 3rem;
    }

    .intro-stats {
        gap: 0.5rem;
    }

    .number {
        font-size: 1.8rem;
    }

    .label {
        font-size: 0.7rem;
    }
}

.about {
    padding: 120px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(33, 150, 243, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(103, 58, 183, 0.03) 0%, transparent 25%);
    animation: gradientMove 20s ease-in-out infinite alternate;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content {
    text-align: center;
    max-width: 900px;
}

.about h2 {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    border-radius: 2px;
}

.about-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-description:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-description::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 5rem;
    color: rgba(33, 150, 243, 0.1);
    font-family: Georgia, serif;
}

.about-description::after {
    content: '"';
    position: absolute;
    bottom: -60px;
    right: 20px;
    font-size: 5rem;
    color: rgba(103, 58, 183, 0.1);
    font-family: Georgia, serif;
}

/* Highlight important text */
.about-description strong {
    color: #2196F3;
    font-weight: 600;
}

/* Add decorative elements */
.decorative-line {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(33, 149, 243, 0.678), transparent);
    margin: 3rem auto;
}

/* Animation for the background gradient */
@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Add a reveal animation for the content */
@keyframes revealContent {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    animation: revealContent 1s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about {
        padding: 80px 20px;
    }

    .about h2 {
        font-size: 3rem;
    }

    .about-description {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 20px;
    }

    .about h2 {
        font-size: 2.5rem;
    }

    .about-description {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .about-description::before,
    .about-description::after {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .about h2 {
        font-size: 2rem;
    }

    .about-description {
        padding: 1rem;
    }

    .decorative-line {
        width: 100px;
        margin: 2rem auto;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Add section transitions */
section {
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Why Join Us Section */
.why-join {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff00 0%, #ffffff00 100%);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.why-join::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    z-index: 1;
}

.why-join-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.why-join h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8A2BE2, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #8A2BE2, #2196F3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(138, 43, 226, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #8A2BE2, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-join {
        padding: 60px 20px;
    }

    .why-join h2 {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 1.5rem;
    }
}

/* Welcome Section */
.welcome {
    padding: 100px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.03) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.welcome-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.welcome h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.welcome h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    border-radius: 2px;
}

.welcome-text {
    margin-top: 3rem;
}

.highlight-text {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.main-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Welcome Stats Styling */
.welcome-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
    flex-direction: row; /* Force horizontal alignment */
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 120px; /* Add maximum width to prevent stretching */
    max-width: 200px; /* Add maximum width to prevent stretching */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Mobile responsiveness while maintaining horizontal alignment */
@media (max-width: 768px) {
    .welcome-stats {
        gap: 2rem;
        flex-direction: row; /* Keep horizontal alignment on mobile */
        flex-wrap: nowrap; /* Prevent wrapping */
        padding: 0 15px;
    }

    .stat-item {
        min-width: auto; /* Allow items to shrink if needed */
        max-width: 150px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .welcome-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }
}
.welcome-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.2);
}

.welcome-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(33, 150, 243, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome {
        margin-top: 25px;
        padding: 60px 20px;
    }

    .welcome h2 {
        font-size: 2.5rem;
    }

    .highlight-text {
        font-size: 1.5rem;
    }

    .main-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .welcome-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .welcome-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}


.parallax-container {
    perspective: 800px;
}


.event-card:hover,
.team-card:hover,
.benefit-card:hover {
    transform: translateY(-3px);
    transition: transform 0.2s ease;
}

/* Remove all other effects */
.parallax-layer,
.layer-1,
.layer-2,
.layer-3,
.float-animation,
.section-entry,
.reveal-element,
.fade-in,
.section-title,
.about-content,
.welcome-content {
    transform: none;
    animation: none;
    transition: none;
    perspective: none;
}

/* Remove all perspective and 3D effects */
.events,
.contact,
.contact-form,
.about-content,
.welcome-content {
    transform-style: flat;
    perspective: none;
    transform: none;
}

/* Remove floating effects */
.form-group:focus-within {
    transform: none;
}

/* Remove rotation and complex transitions */
.event-banner,
.event-details,
.contact-info,
.contact-form,
.form-group {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-card:hover,
    .form-group:focus-within {
        transform: translateY(-5px) scale(1.01);
    }
    
    .float-animation {
        animation: none;
    }
}

/* Add specific adjustments for smaller mobile screens */
@media (max-width: 480px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 members per row even on smaller screens */
        gap: 15px;
    }

    .team-img {
        width: 100px;
        height: 100px;
    }

    .team-card {
        padding: 0.8rem;
    }
}

/* Add specific adjustments for very small screens */
@media (max-width: 360px) {
    .team-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 members per row */
        gap: 10px;
    }

    .team-img {
        width: 80px;
        height: 80px;
    }
}

/* Gallery Styles */
.gallery {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #2196F3, #673AB7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.gallery-header p {
    color: #666;
    font-size: 1.2rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

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

.gallery-item-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.event-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.6);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    color: white;
    text-align: center;
    width: 100%;
    padding: 1rem;
}

.close-lightbox {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery {
        padding: 100px 15px 40px;
    }

    .gallery-header h1 {
        font-size: 2.5rem;
    }

    .gallery-header p {
        font-size: 1rem;
    }

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

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Add animation keyframes */
@keyframes appear {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 20px) rotate(180deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -40px) rotate(-180deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(90deg); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-40px, 30px) rotate(-90deg); }
}

@keyframes floatShape5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, -30px) rotate(135deg); }
}

@keyframes rotateShape {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Update gallery section to work with shapes */
.gallery {
    position: relative;
    z-index: 1;
    background: transparent;
}

/* Ensure content stays above shapes */
.gallery-header,
.gallery-filters,
.gallery-grid {
    position: relative;
    z-index: 2;
}

/* Add a subtle gradient overlay */
.gallery::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98));
    z-index: 1;
}

/* Contact card flip animation styles */
.contact-card {
    position: relative;
    width: 100%;
    min-height: 600px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s ease;
}

.card-front {
    transform: rotateY(0deg);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #2196F3, #673AB7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.contact-card.flipped .card-front {
    transform: rotateY(-180deg);
}

.contact-card.flipped .card-back {
    transform: rotateY(0deg);
}

.thank-you-content {
    text-align: center;
    color: white;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.check-icon i {
    font-size: 40px;
    color: white;
}

.thank-you-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.reset-btn {
    padding: 12px 30px;
    background: white;
    color: #2196F3;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.reset-btn:hover {
    transform: translateY(-3px);
}

/* Update contact section styles */
.contact-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.contact-form-section {
    transition: all 0.5s ease;
}

.thank-you-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2196F3, #673AB7);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.contact-wrapper.submitted .contact-form-section {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
}

.contact-wrapper.submitted .thank-you-section {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.thank-you-content {
    text-align: center;
    color: white;
    padding: 40px;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.check-icon i {
    font-size: 40px;
    color: white;
}

.thank-you-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.reset-btn {
    padding: 12px 30px;
    background: white;
    color: #2196F3;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.reset-btn:hover {
    transform: translateY(-3px);
}

/* Add success message styles */
.success-message {
    display: none;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease;
    font-weight: 500;
}

.success-message.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Update submit button styles for loading state */
.submit-btn {
    position: relative;
    transition: all 0.3s ease;
}

.submit-btn.loading {
    background: #888;
    pointer-events: none;
}

/* Mobile Menu Styles */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2000;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: #2c3e50;
    border-radius: 5px;
    transition: all .3s ease-in-out;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #2c3e50;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Animation Classes */
.menu-btn.open .menu-btn__burger {
    transform: translateY(-50%) rotate(45deg);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
}

/* Update nav-links for mobile */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.5rem;
        color: #2c3e50;
    }
}


/* Add these performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    will-change: auto;
}

/* Optimize scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Optimize animations */
.parallax-layer {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Reduce animation complexity on mobile */
@media (max-width: 768px) {
    .parallax-container {
        transform: none !important;
    }
    
    .parallax-layer {
        transform: none !important;
    }

    /* Keep other mobile optimizations */
    .contact-background,
    .gradient-text,
    .benefit-card {
        background-attachment: scroll;
    }
}

#internship-content {
    /* Removed banner background and height properties */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center content */
    text-align: center; /* Center text */
    color: #333; /* Darker text color for light background */
    /* Removed position and overflow, as they were related to the banner styling */
    padding-left: 0; /* Remove left padding */
}

#internship-content .hero-content-new {
    position: relative;
    z-index: 2;
    max-width: 900px; /* Adjust max-width */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    justify-content: center;
}

#internship-content h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #fff; /* Changed to white for better contrast on image */
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

#internship-content h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 5.5em;
    font-weight: 800;
    color: #fff; /* Changed to white for better contrast on image */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Added back text shadow */
    margin-bottom: 0.4em;
    letter-spacing: 0.08em;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

#internship-content .description {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9); /* Changed to white with opacity */
    margin-bottom: 2em;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

#internship-content .coming-soon-btn {
    display: inline-block;
    padding: 1em 2.5em; /* Original padding */
    background-color: #5a72e8; /* Button color from the original dark image */
    color: #fff;
    text-decoration: none; /* Remove underline */
    border-radius: 50px; /* Original border radius */
    font-weight: 700;
    font-size: 1.1em; /* Original font size */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Original box shadow */
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

#internship-content .coming-soon-btn:hover {
    transform: translateY(-3px); /* Original transform */
    background-color: #4b62d3; /* Darker on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Original box shadow */
    color: #fff; /* Ensure text color is white on hover */
    text-shadow: none; /* No text shadow on hover */
}

/* Remove all dynamic background shapes and their animations */

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for the new design */
@media (max-width: 1024px) {
    #internship-content {
        padding-left: 0;
        background-size: cover;
        background-position: center;
    }

    #internship-content h2 {
        font-size: 1.8em;
    }

    #internship-content h1 {
        font-size: 4em;
    }

    #internship-content .description {
        font-size: 1.3em;
    }

    #internship-content .coming-soon-btn {
        padding: 0.9em 2.2em;
        font-size: 1em;
    }

    /* Removed conflicting padding and margin */
}

@media (max-width: 768px) {
    #internship-content {
        background-size: cover;
        background-position: center;
    }

    #internship-content .hero-content-new {
        max-width: 95%;
        padding: 10px;
    }

    #internship-content h2 {
        font-size: 1.5em;
    }

    #internship-content h1 {
        font-size: 3em;
    }

    #internship-content .description {
        font-size: 1.1em;
    }

    #internship-content .coming-soon-btn {
        padding: 0.8em 2em;
        font-size: 0.9em;
    }

    /* Removed conflicting padding and margin */
}

@media (max-width: 480px) {
    #internship-content h2 {
        font-size: 1.2em;
    }

    #internship-content h1 {
        font-size: 2.2em;
    }

    #internship-content .description {
        font-size: 0.9em;
    }

    #internship-content .coming-soon-btn {
        padding: 0.7em 1.8em;
        font-size: 0.8em;
    }

    /* Removed conflicting padding and margin */
}

/* Internship Banner Section Styles */
#internship-banner {
    background-image: url('assets/internship-banner.png'); /* Your 16:9 banner image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh; /* Adjust height as needed */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white; /* Default text color for the banner */
}

#internship-banner .hero-content-new {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#internship-banner h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #fff; /* White text for banner */
    letter-spacing: 0.1em;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

#internship-banner h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 5.5em;
    font-weight: 800;
    color: #fff; /* White text for banner */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.4em;
    letter-spacing: 0.08em;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

#internship-banner .description {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5em;
    color: rgba(255, 255, 255, 0.9); /* White text with opacity for banner */
    margin-bottom: 2em;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

#internship-banner .coming-soon-btn {
    display: inline-block;
    padding: 1em 2.5em;
    background-color: #5a72e8; /* Button color */
    color: #fff;
    text-decoration: none; /* Remove underline */
    border-radius: 50px; /* Original border radius */
    font-weight: 700;
    font-size: 1.1em; /* Original font size */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Original box shadow */
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

#internship-banner .coming-soon-btn:hover {
    transform: translateY(-3px);
    background-color: #4b62d3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Internship Content Section Styles (below banner) */
#internship-content {
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.8); /* Light background for content area */
    backdrop-filter: blur(5px); /* Optional: slight blur for glass effect */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    color: #333;
}

#internship-content .section-header h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

#internship-content .section-description {
    color: #666;
}

#internship-content .internship-container {
    margin-top: 2rem;
}

#internship-content .placeholder-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Keyframes for animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for the new design */
@media (max-width: 1024px) {
    #internship-banner {
        height: 50vh;
    }

    #internship-banner h2 {
        font-size: 1.8em;
    }

    #internship-banner h1 {
        font-size: 4em;
    }

    #internship-banner .description {
        font-size: 1.3em;
    }

    #internship-banner .coming-soon-btn {
        padding: 0.9em 2.2em;
        font-size: 1em;
    }

    #internship-content {
        padding: 3rem 1.5rem;
        margin: 1.5rem auto;
    }
}

@media (max-width: 768px) {
    #internship-banner {
        height: 40vh;
    }

    #internship-banner .hero-content-new {
        max-width: 95%;
        padding: 10px;
    }

    #internship-banner h2 {
        font-size: 1.5em;
    }

    #internship-banner h1 {
        font-size: 3em;
    }

    #internship-banner .description {
        font-size: 1.1em;
    }

    #internship-banner .coming-soon-btn {
        padding: 0.8em 2em;
        font-size: 0.9em;
    }

    #internship-content {
        padding: 2rem 1rem;
        margin: 1rem auto;
    }
}

@media (max-width: 480px) {
    #internship-banner {
        height: 30vh;
    }

    #internship-banner h2 {
        font-size: 1.2em;
    }

    #internship-banner h1 {
        font-size: 2.2em;
    }

    #internship-banner .description {
        font-size: 0.9em;
    }

    #internship-banner .coming-soon-btn {
        padding: 0.7em 1.8em;
        font-size: 0.8em;
    }

    #internship-content {
        padding: 1.5rem 0.5rem;
        margin: 0.5rem auto;
    }
}

/* Banner Styles */
.banner-section {
    width: 100%;
    background-color: #f8f9fa;
    padding: 0 0 20px 0; /* Reset top padding */
    margin: 0; /* Reset margin */
    overflow: hidden;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    body {
        padding-top: 80px; /* Adjust for smaller screens */
    }
    .banner-section {
        padding: 0 0 15px 0;
        margin: 0;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 70px; /* Adjust for even smaller screens */
    }
    .banner-section {
        padding: 0 0 10px 0;
        margin: 0;
    }
}

/* Testimonials Section Styles */
.testimonials {
    padding: 40px 0 80px 0; /* Reduced top padding */
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 3.5rem; /* Increased font size */
    background: linear-gradient(to right, #4a90e2, #a855f7); /* Gradient color */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.testimonials .section-description {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.testimonials-slider {
    position: relative;
    max-width: 800px; /* This is the effective viewport for cards, excludes track padding */
    margin: 0 auto;
    overflow: hidden;
    padding: 0; /* No padding here, track handles it */
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0 40px; /* Padding for track to show partial cards at edges */
}

.testimonial-card {
    flex-shrink: 0;
    /* For a 800px slider inner width, and 40px padding on each side of track (total 80px), effective track width 720px */
    /* To show 2 full cards and a hint of the 3rd, we need: */
    /* 2 * card_width + 2 * gap_between_cards = 720px */
    /* 2 * card_width + 2 * 30px = 720px */
    /* 2 * card_width = 660px => card_width = 330px */
    width: 330px; /* Fixed width for better control on desktop */
    padding: 20px;
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
}

.quote-icon {
    color: #4a90e2;
    font-size: 24px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4a90e2;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.author-info p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: #4a90e2;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: #357abd;
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4a90e2;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .testimonials-slider {
        max-width: 580px; /* Adjusted for tablets */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        padding: 0 30px; /* Adjust padding for tablets */
    }
    .testimonial-card {
        /* (580px - 2 * 30px (padding) - 1 * 30px (gap)) / 1.5 cards = (580 - 60 - 30) / 1.5 = 490 / 1.5 = 326.66px */
        width: 320px; 
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        max-width: 360px; /* Adjusted for mobile */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        /* Removed justify-content: center to allow proper translateX positioning */
        padding: 0 20px; /* Adjust padding for mobile */
    }
    .testimonial-card {
        /* For 1 card, effective width is 360px - 2*20px = 320px */
        width: 320px; /* Fixed width for mobile, showing one full card */
        padding: 10px;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        max-width: 100%; /* Full width on very small screens */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        padding: 0 10px; /* Minimal padding on very small screens */
    }
    .testimonial-card {
        width: calc(100% - 20px); /* Full width with padding for spacing */
    }
    .testimonials .section-title {
        font-size: 2.5rem;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .testimonials-slider {
        max-width: 580px; /* Adjusted for tablets */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        padding: 0 30px; /* Adjust padding for tablets */
    }
    .testimonial-card {
        /* (580px - 2 * 30px (padding) - 1 * 30px (gap)) / 1.5 cards = (580 - 60 - 30) / 1.5 = 490 / 1.5 = 326.66px */
        width: 320px; /* Adjusted fixed width for tablets, aiming for ~1.5 cards */
    }
}

@media (max-width: 768px) {
    .testimonials-slider {
        max-width: 360px; /* Adjusted for mobile */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        /* Removed justify-content: center */
        padding: 0 20px; /* Adjust padding for mobile */
    }
    .testimonial-card {
        /* For 1 card, effective width is 360px - 2*20px = 320px */
        width: 320px; /* Fixed width for mobile, showing one full card */
        padding: 10px;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider {
        max-width: 100%; /* Full width on very small screens */
        padding: 0; /* Track padding will handle it */
    }
    .testimonials-track {
        padding: 0 10px; /* Minimal padding on very small screens */
    }
    .testimonial-card {
        width: calc(100% - 20px); /* Full width with padding for spacing */
    }
    .testimonials .section-title {
        font-size: 2.5rem;
    }
}


