:root {
    --bg-color: #000033;
    --primary-color: #FF3366;  /* Changed back to red */
    --accent-color: #8A2BE2;   /* Changed back to purple */
    --text-color: #ffffff;     /* Changed back to white */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #000033, rgba(0, 0, 51, 0.95));
    color: #ffffff;
    min-height: 100vh;
    position: relative;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Update navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 51, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem; /* Increased from 0.4rem */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-right: auto;
}

.nav-logo-img {
    width: 40px; /* Increased from 35px */
    height: 40px; /* Increased from 35px */
    border-radius: 50%;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.logo-text {
    font-size: 1.4rem; /* Increased from 1.3rem */
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.1);
}

.corner-logo {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: auto;
    padding-left: 0;
    margin-left: -10px;
}

.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.1rem;
    opacity: 0.9;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link {
    padding: 0.6rem 1rem; /* Increased from 0.4rem 0.75rem */
    font-size: 1rem; /* Increased from 0.9rem */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--accent-color);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    body {
        font-family: 'Poppins', sans-serif;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(18, 18, 34, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.5rem;
        backdrop-filter: blur(10px);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active i {
        transform: rotate(90deg);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 8px;
        background: rgba(255, 51, 102, 0.1);
        border: 1px solid rgba(255, 51, 102, 0.2);
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
    }

    .college-name {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
    }

    .club-name, 
    .trust-name,
    .quote,
    .section-title,
    .member-details h3,
    .member-details p {
        font-family: 'Poppins', sans-serif;
    }

    .nav-content {
        justify-content: flex-start; /* Align to left instead of center */
        padding: 0.5rem 1rem;
    }

    .nav-logo {
        margin-right: auto; /* Push logo to left */
    }

    .corner-logo {
        margin-left: 0; /* Remove left margin */
    }
}

@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        position: static;
        background: none;
        backdrop-filter: none;
        flex-direction: row;
        padding: 0;
        border: none;
    }
}

.logo {
    font-size: 1.5rem; /* Increased from 1.4rem */
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    height: 45px; /* Increased from 40px */
    line-height: 45px; /* Increased from 40px */
    position: relative;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.8);
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30px;
    height: 1px;
    background: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Remove old nav ul styles as they conflict with new .nav-links */
nav ul {
    display: none;
}

nav ul li {
    display: flex;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    height: 40px; /* Added fixed height */
    line-height: 25px; /* Added line height */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 51, 102, 0.1);
    border: 2px solid rgba(255, 51, 102, 0.2);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    margin: 0 0.15rem;
}

nav ul li a:hover {
    color: var(--text-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 5px 15px rgba(255, 51, 102, 0.3),
        0 0 20px rgba(255, 51, 102, 0.2);
}

nav ul li a.active {
    background: linear-gradient(45deg,
        rgba(255, 51, 102, 0.2),
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

/* Remove these old button hover effects */
nav ul li a::after,
nav ul li a::before {
    display: none;
}

@keyframes glowingBorder {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.6); }
    100% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    color: var(--text-color);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 0, 51, 0.97), rgba(0, 0, 51, 0.95));
    min-height: auto; /* Changed from 100vh */
    padding-bottom: 1rem; /* Add small padding at bottom */
    overflow: hidden;
    padding-bottom: 0; /* Remove bottom padding */
    margin-bottom: 0; /* Remove bottom margin */
}

.hero-text {
    text-align: center;
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 0;
        height: auto; /* Change from 100vh to auto */
    }

    .hero-text {
        margin-bottom: 1rem; /* Add small margin at bottom */
        padding: 0 0.25rem;
        max-width: calc(100% - 110px);
    }

    .team-preview-section {
        padding-top: 0; /* Remove top padding */
        margin-top: 0; /* Remove top margin */
    }

    .quote {
        margin-bottom: 1rem; /* Add small bottom margin to last element */
    }
}

@media (max-width: 576px) {
    .hero-text {
        margin-bottom: 0.5rem;
    }

    .quote {
        margin-bottom: 0.5rem;
    }
}

/* Remove or comment out these background-related sections */
/* 
.gradient-orbs,
.geometric-shapes,
.grid-overlay {
    display: none;
}
*/

/* Remove background animations */
.bg-elements {
    display: none;
}

.logo-wrapper {
    position: relative;
    overflow: hidden;
}

.logo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 51, 102, 0.3), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-wrapper:hover .logo-glow {
    opacity: 1;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.divider .line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.divider .symbol {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 2s infinite;
}

.animate-text {
    animation: textReveal 1s ease forwards;
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradientSlide 3s linear infinite;
}

.animate-float {
    animation: none;
}

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

@keyframes gradientSlide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@media (max-width: 768px) {
    .animated-shapes span {
        width: 60px;
        height: 60px;
    }
    
    .divider .symbol {
        font-size: 1.5rem;
    }
}

.logo-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 70px 4rem 0 4rem; /* Reduced top padding */
    margin-bottom: -2rem; /* Added negative margin to pull content up */
    gap: 2rem;
}

.hero-college-logo {
    width: 250px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    padding: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.hero-mclogo {
    width: 200px;
    height: 185px;
    object-fit: contain;
    border-radius: 50%;
    background: transparent;
    padding: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.hero-content {
    text-align: center;
    margin-top: -3rem; /* Increased negative margin to move text up */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--text-color);
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    background: #ff0000;
    color: #fff;
    cursor: pointer;
    margin-top: 2rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    background: #cc0000;
}

.features {
    padding: 5rem 2rem;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 51, 102, 0.1);
    border: 2px solid rgba(255, 51, 102, 0.2);
    color: var(--text-color);
    border-radius: 10px;
    transition: transform 0.3s;
}

.contact {
    padding: 5rem 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    text-align: center;
}

form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #ffffff;
    color: #000000;
    border-color: #dddddd;
}

input::placeholder {
    color: #666666;
}

button {
    padding: 1rem;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #cc0000;
}

footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 51, 0.95);
    color: var(--text-color);
    border-top: 1px solid var(--primary-color);
}

/* Remove old hamburger styles as we're using font-awesome icon */
.hamburger {
    display: none;
}

.hero-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background: transparent;
    border-radius: 50%;
    margin-bottom: 3rem;
    padding: 20px;
    border: none;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    margin-top: -10px; /* Changed from 10px to negative value */
}

.hero-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-logo {
        width: 200px;
        height: 200px;
        padding: 15px;
        margin-top: 45px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 160px; /* Decreased from 200px */
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

.college-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);  /* Changed from var(--primary-color) to var(--text-color) */
    margin-bottom: 0.2rem; /* Reduced from 0.3rem */
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    line-height: 1.2;
    white-space: nowrap;
    margin-top: -90px; /* Reduced negative margin */
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.85;
    margin-top: 0.3rem; /* Reduced from 0.5rem */
}

.club-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    margin-top: 1rem;
    opacity: 0.9;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-name {
    font-size: 1.8rem; /* Increased from 1.3rem */
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.85;
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .quote {
        font-size: 1.2rem;
        margin-top: 0.8rem;
    }

    .college-name {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }

    .club-name {
        font-size: 1.5rem;
    }

    .trust-name {
        font-size: 1.4rem; /* Increased from 1.1rem for mobile */
    }
}

.bg-elements {
    display: none;
}

/* Remove these sections */
.floating-symbols {
    display: none;
}

.floating-symbols span {
    display: none;
}

/* Remove all floating-symbols span:nth-child rules */
.floating-symbols span {
    display: none;
}

@keyframes floatSymbol {
    0% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
    100% { transform: translateY(0px) rotate(360deg); opacity: 0.8; }
}

.gradient-orbs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: orbFloat 20s infinite;
}

.orb1 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
}

.orb2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    bottom: 15%;
    right: 10%;
    animation-delay: -7s;
}

.orb3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    top: 60%;
    left: 70%;
    animation-delay: -14s;
}

.geometric-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 51, 102, 0.2);
    animation: shapeFloat 15s infinite;
}

.circle {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 85%;
}

.square {
    width: 70px;
    height: 70px;
    top: 75%;
    right: 15%;
    animation-delay: -5s;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(138, 43, 226, 0.2);
    background: transparent;
    top: 45%;
    left: 10%;
    animation-delay: -10s;
}

.pentagon {
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    background: rgba(255, 51, 102, 0.1);
    bottom: 25%;
    right: 75%;
    animation-delay: -15s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

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

.club-title {
    margin-top: 1.5rem;
    text-align: center;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 8px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.subtitle-wrapper {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.infinite, .thinkers {
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.2rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.infinite span, .thinkers span {
    display: inline-block;
}

/* Remove all the animation delays and animations */
.infinite span:nth-child(1),
.infinite span:nth-child(2),
.infinite span:nth-child(3),
.infinite span:nth-child(4),
.infinite span:nth-child(5),
.infinite span:nth-child(6),
.infinite span:nth-child(7),
.infinite span:nth-child(8),
.thinkers span:nth-child(1),
.thinkers span:nth-child(2),
.thinkers span:nth-child(3),
.thinkers span:nth-child(4),
.thinkers span:nth-child(5),
.thinkers span:nth-child(6),
.thinkers span:nth-child(7),
.thinkers span:nth-child(8) {
    animation: none;
}

.subtitle-wrapper::before,
.subtitle-wrapper::after {
    content: '∞';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.7;
}

/* Remove the floating animation keyframes */
@keyframes floatLetter {
    0% { transform: translateY(0px); opacity: 0.8; }
    50% { transform: translateY(-10px); opacity: 1; }
    100% { transform: translateY(0px); opacity: 0.8; }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .infinite, .thinkers {
        font-size: 1.5rem;
    }
    
    .subtitle-wrapper {
        gap: 1rem;
    }
}

.about-section {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 0, 51, 0.98) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 51, 102, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 0 1rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.highlight-item {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.15), 
        rgba(138, 43, 226, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.highlight-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

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

.highlight-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.highlight-item p {
    color: var(--text-color);
    line-height: 1.6;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    z-index: 2;
}

.about-feature {
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.15), 
        rgba(138, 43, 226, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.about-feature:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

.about-feature i {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.about-feature h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.2rem;
}

.about-feature p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .about-highlights {
        gap: 1rem;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .about-description {
        font-size: 1.1rem;
        padding: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .about-feature {
        min-height: 180px;
    }
}

.skills-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 0, 51, 0.98) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 51, 102, 0.2);
    backdrop-filter: blur(10px);
}

.particles-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.about-section, .team-preview-section, .join-section, .contact-section {
    position: relative;
    overflow: hidden;
}

.about-container {
    position: relative;
    z-index: 2;
}

.skills-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 15%, rgba(255, 51, 102, 0.2), transparent 35%),
        radial-gradient(circle at 85% 85%, rgba(138, 43, 226, 0.2), transparent 35%);
    z-index: 1;
    pointer-events: none;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: block; /* Changed from inline-block */
    left: auto; /* Remove left positioning */
    transform: none; /* Remove transform */
    width: 100%; /* Add full width */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%; /* Center the underline */
    transform: translateX(-50%); /* Center the underline */
    width: 200px; /* Fixed width for underline */
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

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

.about-text > p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from auto-fit to fixed 3 columns */
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Add responsive handling for smaller screens */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(3, 1fr); /* Keep 3 columns but smaller */
        gap: 1rem;
    }
    
    .about-feature {
        padding: 1.5rem;
    }
    
    .about-feature i {
        font-size: 2rem;
    }
    
    .about-feature h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-features {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
}

.about-feature {
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.15), 
        rgba(138, 43, 226, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-feature:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

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

.about-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-feature p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 1rem;
    }

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

    .about-text > p {
        font-size: 1.1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

.join-section {
    padding: 7rem 2rem; /* Reduced from 8rem */
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0, 0, 51, 0.98) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 51, 102, 0.2);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from 2 to 4 columns */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.join-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.join-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

.join-card i {
    font-size: 1.8rem; /* Slightly reduced icon size */
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
}

.join-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.4rem; /* Reduced from 0.5rem */
    font-size: 1.1rem; /* Reduced heading size */
}

.join-card p {
    color: var(--text-color);
    font-size: 1rem; /* Increased from 0.9rem */
    line-height: 1.6; /* Increased from 1.4 */
    margin-top: 1rem;
    opacity: 0.85;
}

.join-cta {
    text-align: center;
    margin-top: 4rem;
}

.join-text {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.join-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.join-frame {
    background: linear-gradient(145deg, rgba(255, 51, 102, 0.05), rgba(138, 43, 226, 0.05));
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--primary-color), var(--accent-color)) 1;
    border-radius: 20px;
    padding: 3rem; /* Increased from 2rem */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.join-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 51, 102, 0.1), transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(138, 43, 226, 0.1), transparent 50%);
    pointer-events: none;
}

@media (max-width: 1200px) {
    .join-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
    }
}

@media (max-width: 768px) {
    .join-grid {
        grid-template-columns: 1fr; /* One column on mobile */
    }
}

@media (max-width: 768px) {
    .join-frame {
        padding: 1.5rem;
    }
    
    .join-grid {
        grid-template-columns: 1fr;
    }
    
    .join-card {
        padding: 1.5rem;
    }
    
    .join-text {
        font-size: 1.1rem;
    }
}

.contact-section {
    padding: 7rem 2rem;
    background: linear-gradient(180deg, 
        var(--bg-color) 0%, 
        rgba(0, 0, 51, 0.98) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.15), 
        rgba(138, 43, 226, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

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

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-card p a:hover {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-frame {
        padding: 1.5rem;
    }
    
    .contact-card {
        min-height: 180px;
    }
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.location-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

.location-btn i {
    font-size: 1rem;
}

.map-marker {
    margin-top: 1.5rem;
}

.map-marker a {
    display: inline-block;
}

.map-marker a i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.map-marker a:hover i {
    transform: scale(1.2) rotate(45deg);
    filter: drop-shadow(0 0 8px var(--accent-color));
}

.map-marker {
    margin-top: 1rem;
    position: relative;
}

.map-marker a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.map-marker a::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: rgba(255, 51, 102, 0.1);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
    transform: scale(0);
}

.map-marker a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

.map-marker a:hover::before {
    transform: scale(1);
}

.location-marker {
    margin-top: 1.5rem;
    position: relative;
    width: 50px;
    height: 50px;
    margin: 1.5rem auto 0;
}

.location-marker a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform-origin: center;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: bounce 1s infinite;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.pin::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.1);
    animation: pulse 1.5s infinite;
}

@keyframes bounce {
    0% { transform: translate(-50%, -50%) rotate(-45deg); }
    50% { transform: translate(-50%, -60%) rotate(-45deg); }
    100% { transform: translate(-50%, -50%) rotate(-45deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    50% { opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Team Preview Section Styles */
.team-preview-section {
    padding: 2rem 0;
    overflow: hidden;
    margin-top: 40px;
    background: linear-gradient(180deg, 
        var(--bg-color) 0%, 
        rgba(0, 0, 51, 0.98) 100%
    ),
    radial-gradient(circle at 15% 15%, rgba(255, 51, 102, 0.2), transparent 35%),
    radial-gradient(circle at 85% 85%, rgba(138, 43, 226, 0.2), transparent 35%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.team-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from 5 to 4 columns */
    gap: 0.5rem;
    padding: 10px;
    justify-content: center;
    align-items: start;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 992px) {
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 columns for better spacing */
    }
}

.member-card.dean-card {
    flex: 1;
    width: 100%;
    min-width: 0; /* Remove min-width */
    padding: 0.5rem;
    margin: 0;
}

.member-card.dean-card .member-image-wrapper {
    width: 100%;
    height: 120px; /* Reduced height */
}

.member-card.dean-card .member-details h3 {
    font-size: 0.75rem; /* Smaller font */
    margin: 0.2rem 0;
}

.member-card.dean-card .member-details p {
    font-size: 0.7rem; /* Smaller font */
}

@media (max-width: 768px) {
    .team-preview-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
        gap: 0.3rem;
        padding: 5px;
    }

    .member-card.dean-card .member-image-wrapper {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .team-preview-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }

    .member-card.dean-card .member-image-wrapper {
        height: 90px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .team-preview-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 10px;
    }

    .member-card.dean-card {
        flex: 0 0 176px; /* Reduced from 180px by 2% */
        width: 176px; /* Reduced from 180px by 2% */
        max-width: 280px;
        min-width: unset;
        margin-bottom: 1rem;
    }

    .member-card.dean-card .member-image-wrapper {
        height: 147px; /* Reduced from 150px by 2% */
    }

    .member-card.dean-card .member-details h3 {
        font-size: 1rem;
    }

    .member-card.dean-card .member-details p {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .member-card.dean-card {
        width: 90%;
    }

    .member-card.dean-card .member-image-wrapper {
        height: 200px;
    }
}

/* Leaders Grid Styles */
.leaders-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* Reduced from 2rem */
    max-width: 1800px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex-wrap: wrap; /* Changed from nowrap to allow wrapping */
}

.leaders-grid .member-card.dean-card {
    flex: 0 0 250px; /* Reduced from 300px */
    min-width: 250px; /* Reduced from 300px */
    margin: 0;
}

.leaders-grid .member-card.dean-card .member-image-wrapper {
    height: 220px; /* Reduced from 300px */
}

.leaders-grid .member-card.dean-card .member-details h3 {
    font-size: 1rem; /* Reduced from 1.2rem */
    margin: 0.3rem 0;
}

.leaders-grid .member-card.dean-card .member-details p {
    font-size: 0.9rem; /* Reduced from 1rem */
}

@media (max-width: 768px) {
    .leaders-grid .member-card.dean-card {
        flex: 0 0 200px; /* Reduced from 250px for mobile */
        min-width: 200px;
    }

    .leaders-grid .member-card.dean-card .member-image-wrapper {
        height: 180px; /* Reduced for mobile */
    }
}

/* Remove notice section completely */
.notice-container {
    display: none;
}

.notice {
    display: none;
}

/* Remove the mobile media query for notice since we don't want it on any screen */
@media (max-width: 768px) {
    .notice-container,
    .notice {
        display: none;
    }
}

@media (max-width: 768px) {
    .logo-container {
        padding: 80px 0.75rem 0 0.75rem;
        gap: 0.5rem;
        align-items: center;
    }

    .hero-college-logo {
        width: 65px;
        height: 65px;
        padding: 4px;
    }
    
    .hero-mclogo {
        width: 55px;
        height: 55px;
        padding: 4px;
    }

    .hero-text {
        padding: 0 0.25rem;
        max-width: calc(100% - 110px);
    }

    .college-name {
        font-size: 0.9rem;
        line-height: 1.2;
        letter-spacing: -0.3px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .logo-container {
        padding: 75px 0.5rem 0 0.5rem;
        gap: 0.3rem;
    }

    .hero-college-logo {
        width: 55px;
        height: 55px;
    }
    
    .hero-mclogo {
        width: 45px;
        height: 45px;
    }

    .hero-text {
        max-width: calc(100% - 90px);
    }

    .college-name {
        font-size: 0.8rem;
        letter-spacing: -0.4px;
    }
}

/* Media query for desktop only */
@media (min-width: 769px) {
    .hero-content {
        margin-top: 0; /* Reduced from 2rem */
    }

    .club-title {
        margin-top: 1rem; /* Reduced from 1.5rem */
    }
    .college-name {
        margin-top: -114px; /* Changed from -40px to -114px (approximately 3cm) */
    }
}

.dean-card {
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 4;
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.15), 
        rgba(138, 43, 226, 0.15)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dean-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, 
        rgba(255, 51, 102, 0.2), 
        rgba(138, 43, 226, 0.2)
    );
    border-color: var(--primary-color);
    box-shadow: 
        0 15px 45px rgba(255, 51, 102, 0.2),
        0 0 0 1px rgba(255, 51, 102, 0.3);
}

.dean-card .member-image-wrapper {
    width: 100%;
    height: 250px;
}

.dean-card .member-details h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .dean-card {
        max-width: 280px;
    }
    
    .dean-card .member-image-wrapper {
        height: 220px;
    }
}

.section-divider {
    width: 100%;
    text-align: center;
    margin: 1rem 0 0.5rem; /* Reduced from 2rem 0 1rem */
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.8rem;
    }
}

.faculty-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.member-card.dean-card {
    flex: 0 1 350px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member-card.dean-card .member-image-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-card.dean-card .member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-card.dean-card .member-details h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: var(--text-color);
}

.member-card.dean-card .member-details p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .faculty-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .faculty-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .member-card.dean-card {
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }

    .member-card.dean-card .member-image-wrapper {
        height: 250px;
    }
}

/* Mobile Menu Bar Styles */
.mobile-menu-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 51, 0.95) !important;
    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 !important;
    font-size: 0.8rem;
}

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

.mobile-menu-item.active {
    color: var(--primary-color) !important;
}

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

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

body.day-theme .mobile-menu-item.active {
    color: var(--primary-color);
}

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

    .chat-widget {
        bottom: 80px;

    }

    .scroll-top-btn {
        bottom: 80px;
    }

    /* Add bottom padding to last section to prevent content from being hidden behind mobile menu */
    .contact-section {
        padding-bottom: calc(7rem + 60px);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: none !important; /* Force hide the button */
    }

    .nav-links {
        display: none !important; /* Force hide the nav links */
    }

    .nav-content {
        justify-content: center; /* Center the logo */
    }
}

/* Ensure nav-links are visible in desktop */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }

    .mobile-menu-bar {
        display: none;
    }
}

/* News Ticker Styles */
.news-ticker-container {
    display: flex;
    align-items: center;
    background: rgba(138, 43, 226, 0.15); /* Changed to match accent color */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 51, 102, 0.4); /* Changed to primary color */
    border-radius: 8px;
    margin: 46px auto 20px; /* Changed from -50px to 46px (reduced by 1 inch - 96px/2) */
    max-width: 1200px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
    position: relative;
    z-index: 2;
}

.news-ticker-label {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); /* Changed to theme gradient */
    color: white;
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.news-ticker {
    overflow: hidden;
    padding: 12px 0;
    flex: 1;
}

.ticker-content {
    display: inline-flex;
    animation: ticker 35s infinite linear;
    white-space: nowrap;
}

.ticker-content span {
    display: inline-block;
    padding: 0 50px;
    color: var(--primary-color); /* Changed to primary theme color */
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-ticker-container {
        margin: 48px 15px 15px; /* Changed from 96px to 48px (reduced by 1 inch) */
        flex-direction: column;
    }

    .news-ticker-label {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }

    .news-ticker {
        width: 100%;
    }
}

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(117, 13, 87, 0.3);
    z-index: 1000;
    border-radius: 12px;
    transform: rotate(45deg);
}

.math-scroll-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-45deg);
}

.math-scroll-icon .sigma {
    font-size: 2.2rem;
    font-weight: bold;
    position: absolute;
    opacity: 0.9;
}

.math-scroll-icon .arrow {
    font-size: 1.8rem;
    position: absolute;
    transform: translateY(2px);
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover .math-scroll-icon .sigma {
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover .math-scroll-icon .arrow {
    opacity: 1;
    transform: translateY(-5px);
}

.scroll-top-btn:hover {
    transform: rotate(45deg) translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.5);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    .scroll-top-btn {
        right: 15px;
        bottom: 80px;
        width: 55px;
        height: 55px;
    }

    .math-scroll-icon .sigma {
        font-size: 1.8rem;
    }

    .math-scroll-icon .arrow {
        font-size: 1.5rem;
    }
}

