/* Add these styles at the start of your CSS file */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-y: auto;
}

main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 2rem;
}

/* === ROOT VARIABLES === */
:root {
    --bg-color: #000044; /* Match activities page */
    --primary-color: #FF3366;  /* Changed to match Activities page purple */
    --accent-color: #8A2BE2;   /* Changed to lighter purple */
    --text-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --primary-color-rgb: 255, 51, 102; /* RGB values for primary color */
}

/* Add these exact logo styles from activities page */
.math-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0.8rem;
    position: relative;
}

.sqrt {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
    transform-origin: center;
}

.sqrt .root {
    display: inline-block;
    transform: scale(1.2);
    margin-right: 2px;
}

.sqrt .number {
    font-size: 1.2rem;
    opacity: 0.9;
}

.nav-logo:hover .sqrt {
    animation: mathGlow 1s infinite;
}

@keyframes mathGlow {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 2px var(--primary-color));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 8px var(--accent-color));
    }
    100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 2px var(--primary-color));
    }
}

/* === NAVBAR STYLES === */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 1rem;
}

.corner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    text-decoration: none;
    color: inherit;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.corner-logo span {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover, 
.nav-link.active {
    color: rgb(221, 67, 144);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: rgb(221, 67, 144);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .nav-content {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        gap: 1rem;
    }

    .mobile-dropdown {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .nav-link i {
        font-size: 1.1rem;
        margin-right: 0.3rem;
    }

    .corner-logo {
        gap: 8px;
    }

    .nav-logo-img {
        width: 32px;
        height: 32px;
    }

    .corner-logo span {
        font-size: 1rem;
    }
}

/* === GLOBAL STYLES === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #000033, rgba(0, 0, 51, 0.95));
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(76, 175, 80, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(221, 67, 144, 0.1) 0%, transparent 25%);
    pointer-events: none;
    z-index: -1;
}

/* === PARTICLE CANVAS === */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* === HERO STYLES === */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    margin-top: 70px;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 300px; /* Added to ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

.hero h1 {
    color: var(--text-color);
    font-size: 3rem;
    margin: 0;
    animation: glow 2s ease-in-out infinite alternate;
    padding: 0 1rem;
    width: 100%;
    max-width: 1200px;
}

.hero .tagline {
    font-size: 1.5rem;
    opacity: 0.9;
    width: 100%;
    max-width: 800px;
    margin: 1rem auto 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
        margin-top: 60px;
        min-height: 250px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero .tagline {
        font-size: 1.2rem;
    }
}

.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
    margin-bottom: 5rem;  /* Add space for footer */
    flex-direction: column;
    align-items: stretch;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.contact-info {
    display: flex;  /* Changed from grid to flex */
    justify-content: center;
    margin: 2rem 0;
    width: 100%;
}

.contact-form {
    max-width: 800px;
    margin: 2rem auto;
    width: 100%;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    background: linear-gradient(145deg, rgba(255, 51, 102, 0.05), rgba(138, 43, 226, 0.05));
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    animation: fadeUp 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
    border: none;
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.1), 
        rgba(138, 43, 226, 0.1)
    );
}

.contact-info::before, .contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
    opacity: 0;
    transform: rotate(45deg);
    transition: all 0.8s ease-out;
}

.contact-info:hover::before, .contact-form:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.contact-info:hover, .contact-form:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(255, 51, 102, 0.2);
}

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

/* Remove or update the glow animation */
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 51, 102, 0.2); }
    100% { box-shadow: 0 0 15px rgba(138, 43, 226, 0.2); }
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.info-details {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 3rem;  /* Increased padding */
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
    width: 800px;  /* Increased from 600px */
    min-height: 350px;  /* Increased from 300px */
    margin: 0 auto;
    margin-bottom: 8rem; /* Increased from 6rem for more space */
}

.info-details h2 {
    font-size: 2.5rem;  /* Increased font size */
    margin-bottom: 2rem;  /* Increased margin */
}

.info-details p {
    font-size: 1.2rem;  /* Increased font size */
    margin-bottom: 2rem;  /* Increased spacing between items */
    line-height: 1.8;
}

@media (max-width: 768px) {
    .info-details {
        width: 100%;
        min-height: auto;
        padding: 2rem;  /* Adjusted padding for mobile */
    }
    
    .info-details h2 {
        font-size: 2rem;
    }
    
    .info-details p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
}

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

.location-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.location-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.info-details p .contact-icon + strong + .location-link {
    max-width: 100%;
    display: inline-block;
    word-wrap: break-word;
}

/* === FORM STYLES === */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

input:invalid, textarea:invalid {
    border-color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
}

/* Update button styles */
button {
    background: var(--gradient-1);
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: width 0.5s ease;
    z-index: -1;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

button:hover::before {
    width: 100%;
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(255, 51, 102, 0.2);
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

button:hover::before {
    left: 100%;
}

button:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
}

/* === CONTACT ICONS === */
.contact-icon {
    font-size: var(--icon-size);
    margin-right: 0.5rem;
    color: var(--primary-color);
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.3s ease;
}

.info-details p:hover .contact-icon {
    transform: scale(var(--icon-hover-scale)) rotate(5deg);
}

/* === FORM ENHANCEMENTS === */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-group:focus-within::after {
    width: 100%;
}

/* === FOOTER STYLES === */
footer {
    background: linear-gradient(45deg, #ff006e, #3a86ff);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        margin: 1rem;
        padding: 1rem;
    }

    h1, h2 {
        font-size: 1.8rem;
    }

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

/* === ANIMATION KEYFRAMES === */
@supports not (backdrop-filter: blur(10px)) {
    header, footer, .contact-container {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    .contact-info, .contact-form {
        animation: none;
    }
    
    button {
        transform: none !important;
        transition: background 0.3s ease;
    }
}

/* === WELCOME SECTION === */
.welcome-section {
    width: 100%;
    margin-bottom: 2rem;
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hidden {
    display: none;
}

/* === CLUB SECTION === */

/* === SUCCESS MESSAGE === */
.success-message {
    background: rgba(40, 200, 80, 0.2);
    color: #2ecc71;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}

/* === BUTTON LOADING === */
button.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading-spinner 0.8s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* === DYNAMIC FOOTER === */
.dynamic-footer {
    position: relative;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    background-color: var(--secondary-bg);
    margin-top: 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

/* === ENHANCED FOOTER STYLES === */
.dynamic-footer {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.95), rgba(10, 10, 26, 0.98));
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 2rem 0 0 0;
    margin-top: 2rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 800px;  /* Reduced from 1200px */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-1);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.footer-section a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Remove these newsletter-related styles
.footer-form,
.footer-btn {
    // ...styles...
} */

.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul li {
        justify-content: center;
    }
}

/* Add this new section for extra small devices */
@media (max-width: 380px) {
    header h1 {
        font-size: 1.75rem;
    }

    .contact-info, 
    .contact-form {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }
}

/* Update mobile styles */
@media (max-width: 768px) {
    /* Header adjustments */
    header {
        padding: 80px 1rem 2rem;
        margin-top: 60px;
    }

    .header-content h1 {
        font-size: 2rem;
        padding: 0 1rem;
        text-align: center;
    }

    .tagline {
        font-size: 1rem;
        padding: 0 1rem;
        text-align: center;
    }

    /* Contact container adjustments */
    .contact-container {
        margin: 1rem;
        padding: 1rem;
        gap: 1.5rem;
    }

    /* Contact info and form adjustments */
    .contact-info, 
    .contact-form {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* Form elements */
    .form-group {
        margin-bottom: 1rem;
    }

    input, 
    textarea {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

    button {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

    /* Welcome section */
    .welcome-section {
        padding: 0 1rem;
    }

    .welcome-text {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Footer adjustments */
    .footer-content {
        padding: 1rem;
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0 1rem;
    }

    .footer-form {
        flex-direction: column;
    }

    .footer-form input,
    .footer-btn {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    header h1 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.9rem;
    }

    .contact-info, 
    .contact-form {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .info-details h2,
    .contact-form h2 {
        font-size: 1.25rem;
    }

    .info-details p {
        font-size: 0.9rem;
    }

    .nav-logo span {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.7rem;
    }
}

/* Add these styles to fix the sliding issue */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

.contact-container {
    max-width: 100%;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    overflow: hidden;
    transform: none;
    perspective: none;
}

@media (max-width: 768px) {
    body {
        position: fixed;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    main {
        max-width: 100vw;
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }

    .contact-container {
        margin: 1rem auto;
        transform: none !important;
        transition: none !important;
    }

    .contact-info, 
    .contact-form {
        transform: none !important;
        transition: none !important;
    }
}

/* Add these core fixes near the top of your CSS */
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

main {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-container {
    width: min(1200px, 100% - 2rem);
    margin-inline: auto;
    transform: none;
    perspective: none;
    box-sizing: border-box;
    overflow: visible;
}

@media (max-width: 768px) {
    .contact-container,
    .contact-info,
    .contact-form,
    .header-content,
    .footer-content {
        width: 100%;
        max-width: 100%;
        margin: 1rem auto;
        padding: 1rem;
        transform: none !important;
        transition: none !important;
        box-sizing: border-box;
    }

    .contact-container {
        margin: 0;
        padding: 1rem;
    }
    
    .nav-links.active {
        position: absolute;
        width: 100%;
    }
}

/* Update mobile styles */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
        position: fixed;
        width: 100%;
        background: rgba(10, 10, 26, 1);
    }

    header {
        margin-top: 60px;
        padding: 2rem 1rem;
        width: 100%;
    }

    .contact-container {
        width: 100%;
        margin: 0;
        padding: 1rem;
        transform: none !important;
        transition: none !important;
        perspective: none;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
        transform: none !important;
        transition: none !important;
    }

    .footer-content {
        padding: 1rem;
    }

    .nav-links.active {
        height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .dynamic-footer {
        position: relative;
        width: 100%;
        margin-top: auto;
    }
}

/* Extra small devices */
@media (max-width: 380px) {
    .contact-container {
        padding: 0.5rem;
    }

    .contact-info, 
    .contact-form {
        padding: 0.75rem;
        margin: 0.25rem 0;
    }
}

.email-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.email-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.phone-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.phone-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Add these styles after the navigation styles */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    margin-top: 70px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.3));
    pointer-events: none;
}

h1 {
    color: var(--text-color);
    font-size: 3rem;
    margin: 0;
    animation: glow 2s ease-in-out infinite alternate;
}

.tagline {
    font-size: 1.5rem;
    opacity: 0.9;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--primary-color);
    }
    to {
        text-shadow: 0 0 20px var(--primary-color);
    }
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.15);
}

.stat-card i {
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card h3 {
    font-size: 1.8rem;  /* Increased from 1.25rem */
    margin: 0.2rem 0;
    font-weight: 700;   /* Made bolder */
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 0.7rem;
    margin: 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Office Hours */
.office-hours {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.office-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.15);
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
    max-width: 800px;
    width: 100%;
    align-self: center;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem;
    cursor: pointer;
    position: relative;
    list-style: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .faq-item summary {
        padding-right: 3rem;
    }
}

.welcome-section {
    text-align: center;
    margin-bottom: 1rem;
}

.welcome-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.contact-detail:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.hours-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.day-slot {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0.5rem 0;
}

.day {
    font-weight: 500;
}

.time {
    color: var(--primary-color);
}

.form-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
        gap: 2rem;
    }

    .welcome-section h2 {
        font-size: 2rem;
    }
    
    .contact-detail {
        padding: 0.6rem;
    }
}

/* ...existing code... */

.info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    margin: 2rem 0;
    padding: 0 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 3rem;
}

.info-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-details h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-detail {
    padding: 1.2rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.stat-card {
    padding: 2.5rem;
}

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.stat-card p {
    font-size: 1rem;
    letter-spacing: 1px;
}

.hours-section {
    max-width: 900px;
    margin: 4rem auto;
}

.office-hours {
    padding: 3rem;
}

.office-hours h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.hours-grid {
    display: grid;
    gap: 1.5rem;
}

.day-slot {
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
}

.form-section {
    max-width: 900px;
    margin: 4rem auto;
}

.contact-form {
    padding: 3rem;
}

.contact-form h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-form p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    font-size: 1.1rem;
}

.contact-form button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.faq-section {
    max-width: 900px;
    margin: 4rem auto;
}

.faq-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.faq-item summary {
    padding: 1.5rem;
    font-size: 1.2rem;
}

.faq-item p {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .info-card,
    .contact-form,
    .office-hours {
        padding: 2rem;
    }
    
    .info-card h2,
    .office-hours h2,
    .contact-form h2,
    .faq-section h2 {
        font-size: 2rem;
    }
}

/* Update Stats Card Styles */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.15);
}

/* Update Office Hours Card */
.office-hours {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.office-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.15);
}

/* Remove complex hover effects */
.stat-card::before,
.office-hours::before,
.contact-info::before,
.contact-form::before {
    display: none;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.15);
}

/* Simplify fadeUp animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === NEW ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations to elements */
.stat-card {
    /* ...existing code... */
    animation: fadeInScale 0.6s ease-out forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
    opacity: 0;
}

.office-hours {
    /* ...existing code... */
    animation: float 4s ease-in-out infinite;
}

.info-card {
    /* ...existing code... */
    animation: slideInLeft 0.8s ease-out forwards;
}

.contact-form {
    /* ...existing code... */
    animation: slideInRight 0.8s ease-out forwards;
}

.contact-detail {
    /* ...existing code... */
    animation: fadeInScale 0.5s ease-out forwards;
    animation-delay: calc(var(--index, 0) * 0.1s);
    opacity: 0;
}

.faq-item {
    /* ...existing code... */
    animation: fadeInScale 0.5s ease-out forwards;
    animation-delay: calc(var(--index, 0) * 0.15s);
    opacity: 0;
}

/* Add smooth transitions */
.stat-card,
.office-hours,
.contact-form,
.contact-detail,
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
    .stat-card,
    .office-hours,
    .contact-form,
    .contact-detail,
    .faq-item {
        animation: none;
        transition: none;
    }
}

/* ...rest of existing code... */

/* ...existing code... */

/* Remove chat widget styles */
.chat-widget,
.chat-button,
.chat-container,
.chat-header,
.chat-messages,
.chat-input {
    /* Remove all these style blocks */
}
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: var(--background-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

.chat-container.hidden {
    display: none;
}

.chat-header {
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-input-area {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border-color);
}

#chat-input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--background-color);
    color: var(--text-color);
}

#send-message {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
}

/* ...existing code... */

.contact-info {
    display: flex;  /* Changed from grid to flex */
    justify-content: center;
    margin: 2rem 0;
    width: 100%;
}

/* Remove these club-section related styles */
/* .club-section {
    // ...styles...
} */

.info-details {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 3rem;  /* Increased padding */
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
    width: 800px;  /* Increased from 600px */
    min-height: 350px;  /* Increased from 300px */
    margin: 0 auto; /* Center the element */
}

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

/* Add media query for mobile responsiveness */
@media (max-width: 768px) {
    .info-details {
        width: 100%;
        min-height: auto;
        padding: 1.5rem;
    }
}

/* Enhanced Responsive Styles */
@media (max-width: 1024px) {
    .contact-container {
        padding: 1rem;
    }

    .info-details {
        width: 90%;
        padding: 2rem;
    }

    .stats-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .contact-info, 
    .contact-form,
    .office-hours {
        width: 100%;
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .info-details {
        padding: 1.5rem;
        min-height: auto;
    }

    .info-details h2 {
        font-size: 1.8rem;
    }

    .info-details p {
        font-size: 1rem;
    }

    .hours-grid {
        gap: 0.75rem;
    }

    .day-slot {
        padding: 1rem;
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .faq-section {
        padding: 0 1rem;
    }

    .faq-item summary {
        padding: 1rem;
        font-size: 1rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .contact-container {
        padding: 0.5rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .info-details {
        padding: 1.25rem;
    }

    .contact-form button {
        width: 100%;
    }

    .footer-section ul li {
        justify-content: center;
    }
}

/* Fix for iOS Safari scrolling */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }

    .contact-container {
        transform: translate3d(0,0,0);
    }
}

/* Optimize animations for mobile */
@media (max-width: 768px) {
    .stat-card,
    .office-hours,
    .contact-form,
    .contact-detail,
    .faq-item {
        animation-duration: 0.3s;
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.95);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
}

/* ...existing code... */

/* Enhanced Mobile Navbar Styles */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 60px; /* Height of navbar */
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: all 0.3s ease-in-out;
        z-index: 999;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        text-align: center;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary-color);
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* Additional Responsive Fixes */
@media (max-width: 480px) {
    .nav-content {
        padding: 0.6rem 1rem;
    }

    .nav-logo span {
        font-size: 1.2rem;
    }

    .nav-links {
        padding-top: 1.5rem;
    }

    .nav-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* ...existing code... */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex !important; /* Force display when active */
    }

    .nav-link {
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        font-size: 1.1rem;
        color: var(--text-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary-color);
    }
}

/* ...existing code... */

/* Fix scrolling issues */
html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
}

@media (max-width: 768px) {
    body {
        position: relative;
        height: auto;
        overflow-y: auto;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 60px);
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        overflow-y: auto;
        z-index: 999;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ...existing code... */

// ...existing code...
.footer-quote {
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    padding: 0 1rem;
}

.footer-quote p:first-child {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.quote-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-quote p:first-child {
        font-size: 1.1rem;
    }
    
    .quote-author {
        font-size: 0.9rem;
    }
}
// ...existing code...

.footer-wrapper {
    width: 100%;
    max-width: 1100px;  /* Reduced from 1200px */
    margin: 0 auto;
    padding: 0 1.5rem;  /* Reduced from 2rem */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;  /* Reduced from 1.5rem */
    padding: 1.2rem 0;  /* Slightly increased */
}

.footer-section {
    text-align: left;
    flex: 1;
}

.footer-section h3 {
    font-size: 1.2rem;  /* Increased from 1rem */
    margin-bottom: 0.8rem;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
    font-size: 1rem;  /* Increased from 0.85rem */
}

.footer-quote {
    text-align: right;
    max-width: 350px;  /* Increased for larger text */
}

.footer-quote p:first-child {
    font-size: 1.2rem;  /* Increased from 1rem */
    margin-bottom: 0.4rem;
}

.quote-author {
    font-size: 0.95rem;  /* Increased from 0.8rem */
}

.footer-bottom {
    margin-top: 1.2rem;
    padding: 0.8rem 0;
    font-size: 0.95rem;  /* Increased from 0.8rem */
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-section, .footer-quote {
        text-align: center;
        width: 100%;
    }

    .footer-quote {
        margin: 0 auto;
    }

    .footer-section ul li {
        justify-content: center;
    }
}

/* Development Team Section */
.dev-team-section {
    max-width: 1200px;
    margin: 4rem auto 6rem; /* Increased bottom margin after Developer's Team section */
    padding: 0 2rem;
}

.dev-team-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block; /* Changed from inline-block */
    width: 100%; /* Added to ensure full width */
    margin-left: auto; /* Added for centering */
    margin-right: auto; /* Added for centering */
}

.dev-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* Changed to exactly 3 columns */
    gap: 2rem;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.dev-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 350px;  /* Adjusted height for better proportions */
    width: 100%;    /* Ensure full width within grid cell */
}

.dev-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.dev-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.2);
}
.dev-card:hover .dev-info {
    transform: translateY(0);
}
.dev-card:hover img {
    transform: scale(1.1);
}
.dev-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.dev-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.dev-socials {
    display: flex;
    gap: 1rem;
}

.dev-socials a {
    color: white;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.dev-socials a:hover {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .dev-cards-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns on medium screens */
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dev-team-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .dev-cards-grid {
        grid-template-columns: 1fr;  /* Single column on mobile */
        gap: 1rem;
    }
    
    .dev-card {
        height: 300px;  /* Slightly smaller height on mobile */
    }

    .dev-info {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
    }
}

/* Theme Switch Styles */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 20px;
    position: relative;
    margin-left: 2rem; /* Added consistent spacing */
}

.theme-switch {
    display: inline-block;
    height: 28px;
    position: relative;
    width: 52px;
    z-index: 1001;
}

.theme-switch input {
    display: none;
}

.slider {
    background: linear-gradient(145deg, #1a1a1a, #2c3e50);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.slider:before {
    background: #fff;
    bottom: 4px;
    content: "";
    height: 20px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 20px;
    border-radius: 50%;
    z-index: 2;
}

.slider i {
    color: #fff;
    font-size: 14px;
    z-index: 1;
}

input:checked + .slider {
    background: linear-gradient(145deg, #3498db, #2ecc71);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Day Theme Colors */
body.day-theme {
    background: #f5f5f5;
    color: #333;
}

body.day-theme .navbar {
    background: rgba(255, 255, 255, 0.95);
}

body.day-theme .nav-link {
    color: #333;
}

body.day-theme .nav-link:hover,
body.day-theme .nav-link.active {
    color: #9c27b0;
}

body.day-theme .hero {
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.2);
}

body.day-theme .contact-form h2,
body.day-theme .faq-section h2,
body.day-theme .dev-team-section h2,
body.day-theme .info-details h2,
body.day-theme .office-hours h2 {
    background: linear-gradient(45deg, #9c27b0, #ba68c8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.day-theme button,
body.day-theme .cta-button {
    background: linear-gradient(45deg, #9c27b0, #ba68c8);
}

/* Update heading styles with gradients */
.contact-form h2,
.faq-section h2,
.dev-team-section h2,
.info-details h2,
.office-hours h2 {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.contact-form h2::after,
.faq-section h2::after,
.dev-team-section h2::after,
.info-details h2::after,
.office-hours h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Day theme adjustments for headings */
body.day-theme .contact-form h2,
body.day-theme .faq-section h2,
body.day-theme .dev-team-section h2,
body.day-theme .info-details h2,
body.day-theme .office-hours h2 {
    background: linear-gradient(45deg, #9c27b0, #ba68c8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.day-theme .contact-form h2::after,
body.day-theme .faq-section h2::after,
body.day-theme .dev-team-section h2::after,
body.day-theme .info-details h2::after,
body.day-theme .office-hours h2::after {
    background: linear-gradient(90deg, transparent, #9c27b0, transparent);
}

/* Remove any day-theme override for hero background */
body.day-theme .hero {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.2);
}

/* ...existing code... */

/* Day Theme Colors - Update card styles to match activities page */
body.day-theme .contact-form,
body.day-theme .info-details,
body.day-theme .stat-card,
body.day-theme .office-hours,
body.day-theme .faq-item {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.1);
    border: 1px solid rgba(156, 39, 176, 0.1);
}

body.day-theme .contact-form:hover,
body.day-theme .info-details:hover,
body.day-theme .stat-card:hover,
body.day-theme .office-hours:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.2);
}

body.day-theme .contact-info,
body.day-theme .contact-form {
    color: #333;
}

body.day-theme .day-slot {
    background: rgba(156, 39, 176, 0.05);
    color: #333;
}

body.day-theme .faq-item p {
    background: rgba(156, 39, 176, 0.05);
    color: #333;
}

/* ...existing code... */

/* Update email, phone and location link styles */
.email-link, .phone-link, .location-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

/* Add specific styles for day theme */
body.day-theme .email-link,
body.day-theme .phone-link,
body.day-theme .location-link {
    color: rgba(18, 18, 34, 0.95);  /* Match navbar color */
    font-weight: 500; /* Make it slightly bolder */
}

body.day-theme .email-link:hover,
body.day-theme .phone-link:hover,
body.day-theme .location-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

body.day-theme .info-details p {
    color: rgba(18, 18, 34, 0.95);  /* Match navbar color */
    font-weight: 500; /* Make it slightly bolder */
}

/* ...existing code... */

/* Update footer link styles */
.footer-section a {
    color: var(--primary-color);  /* Changed from var(--text-color) */
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Update footer link colors for both themes */
body.day-theme .footer-section a {
    color: var(--primary-color);
}

body.day-theme .footer-section a:hover {
    color: var(--accent-color);
}

/* ...existing code... */

/* Mobile Menu Bar */
.mobile-menu-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
}

.mobile-menu-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.mobile-menu-item.active {
    color: #e60bb0;
}

/* Day theme override for mobile menu */
body.day-theme .mobile-menu-bar {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.day-theme .mobile-menu-item {
    color: #2c3e50;
}

body.day-theme .mobile-menu-item.active {
    color: #9c27b0;
}

/* Adjust chat widget position for mobile */
@media screen and (max-width: 768px) {
    .mobile-menu-bar {
        display: block;
    }

    .chat-widget {
        bottom: 80px;
    }

    .chat-toggle {
        bottom: 80px;
    }

    /* Hide desktop nav on mobile */
    .nav-links {
        display: none;
    }

    .main-content {
        margin-bottom: 70px; /* Add space for mobile menu */
    }

    /* Adjust footer margin for mobile menu */
    .dynamic-footer {
        margin-bottom: 60px;
    }
}

/* Enhanced Contact Form Styles */
.contact-form-section {
    width: 100%;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--primary-color-rgb), 0.2);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.form-title h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-title p {
    color: var(--text-color);
    opacity: 0.8;
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.form-icon i {
    font-size: 28px;
    color: white;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.input-group input:focus,
.input-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.2);
    transform: translateY(-2px);
}

.input-group:focus-within i {
    color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-color-rgb), 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
    }

    .form-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .form-title h2 {
        font-size: 1.8rem;
    }

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

/* Remove the mobile-menu-btn styles */
.mobile-menu-btn {
    display: none; /* This can be removed entirely */
}

/* Update mobile navigation styles */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.8rem 1rem;
        justify-content: space-between;
    }

    .nav-links {
        display: none; /* Hide desktop nav links since we're using bottom menu */
    }

    .theme-switch-wrapper {
        margin-left: auto; /* Push theme switch to right */
    }
}
        text-align: center;
        gap: 1.5rem;
    }

    .form-title h2 {
        font-size: 1.8rem;
    }

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

/* Remove the mobile-menu-btn styles */
.mobile-menu-btn {
    display: none; /* This can be removed entirely */
}

/* Update mobile navigation styles */
@media (max-width: 768px) {
    .nav-content {
        padding: 0.8rem 1rem;
        justify-content: space-between;
    }

    .nav-links {
        display: none; /* Hide desktop nav links since we're using bottom menu */
    }

    .theme-switch-wrapper {
        margin-left: auto; /* Push theme switch to right */
    }
}
