:root {
    --primary-color: #0b3b82;
    --secondary-color: #27c3e6;
    --accent-color: #f2c300;
    --text-color: #333;
    --bg-gradient-start: #f5f7fa;
    --bg-gradient-end: #e4e8f0;
    --white: #ffffff;
    --shadow-color: rgba(11, 59, 130, 0.08);
    --border-color: rgba(39, 195, 230, 0.1);
}

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

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent text size adjustment on mobile */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Better focus indicators for accessibility */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
}

/* Header */
.top-header {
    background-color: var(--white);
    border-top: 6px solid var(--secondary-color);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-image: linear-gradient(to bottom, var(--secondary-color), var(--primary-color)) 1;
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    justify-content: center;
}

.header-center {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-group {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.logo-group img {
    height: 80px;
    object-fit: contain;
    width: 150px; 
    height: auto;
}

.header-text {
    text-align: center;
    max-width: 700px;
}

.header-text h4 {
    color: #27c3e6;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.header-text h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #0b3b82;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 14px;
    color: #7b7b7b;
    margin: 4px 0;
    line-height: 1.4;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0b2d5b;
    color: var(--white);
    padding: 10px 20px 20px;
    margin-top: 80px;
}

.footer-bottom {
    padding-top: 15px;
    text-align: center;
    font-size: 16px;
    color: #d0d0d0;
    line-height: 1.6;
}

/* Updates Bar */
.updates-bar {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 14px;
}

.updates-label {
    background-color: var(--accent-color);
    color: #000;
    padding: 4px 8px;
    font-weight: 700;
    margin-right: 10px;
    margin-left: 6px;
    white-space: nowrap;
}

.marquee-container {
    flex: 1;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
}

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

.simple-counter {
    margin-left: 15px;
    padding: 0 10px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 13px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.simple-counter i {
    margin-left: 20px;
    font-size: 10px;
    color: var(--accent-color);
}

#sfc1469600t9a89b2yydl5fubx2rskxmkyc9z {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* ================= NAVBAR ================= */

.navbar {
    background-color: var(--primary-color);
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 225, 255, 1);
    width: 100%;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:not(.active):hover {
    background-color: rgba(39, 195, 230, 0.2);
}

.nav-link.active {
    background-color: var(--white);
    color: var(--primary-color);
    border-left: 5px solid var(--secondary-color);
    border-right: 5px solid var(--secondary-color);
    border-top: 4px solid var(--secondary-color);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    z-index: 1;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 16px;
    margin: 0;
    min-width: 44px;
    min-height: 44px;
    position: relative;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle i {
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.menu-toggle:hover {
    background-color: rgba(39, 195, 230, 0.2);
    border-radius: 4px;
}

/* Main Content */
.main-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 70vh;
}

/* Page Headers */
.page-header {
    text-align: center;
    padding: 20px 13px;
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 900px;
    margin: 10px auto;
    line-height: 1.6;
}


/* ================= SECTION NAVBAR ================= */

.section-nav {
    position: sticky;
    top: 65px;                 /* below main navbar */
    z-index: 900;
    background:linear-gradient(135deg, #0b3b82 0%, #1a5bb8 50%, #27c3e6 100%); 
    padding: 10px 0;
    border-radius: 0 0 30px 30px; /* ROUNDED CORNERS */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
}

.section-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: space-between; /* SPREAD BUTTONS */
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

/* Buttons fill horizontal space equally */
.section-nav-btn {
    flex: 1;                    /* EACH BUTTON SAME WIDTH */
    justify-content: center;
    text-align: center;

    display: flex;
    align-items: center;

    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 0;
    font-weight: 600;
    font-size: 14px;

    transition: all 0.3s ease;
    position: relative;
    background: var(--bg-gradient-start);
    border: none;
    border-radius: 100px;        /* MORE ROUNDNESS */
    box-shadow: 0 4px 10px rgba(11, 59, 130, 0.2);
}

.section-nav-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4a800 100%);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(242, 195, 0, 0.4);
    transform: translateY(-3px);
}

.section-nav-btn.active::after {
    display: none;
}

/* Team Section about and activities */
.team-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.team-card h3 {
    color: #0b3b82;
    margin-bottom: 10px;
}

.team-card.clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.team-card.clickable::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 195, 230, 0.2), transparent);
    transition: left 0.5s ease;
}

.team-card.clickable:hover::after {
    left: 100%;
}

.team-card.clickable:hover {
    transform: translateY(-10px);
    border: 2px solid #27c3e6;
}

.team-img i {
    font-size: 2.5rem;
}

.click-hint {
    display: inline-block;
    margin-top: 10px;
    color: #27c3e6;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Enhanced Back Button */
.back-button {
    background: linear-gradient(135deg, #0b3b82 0%, #1a4d9c 40%, #27c3e6 100%);
    position: relative;
    z-index: 2;
    color: white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.back-button:hover {
    background: linear-gradient(135deg, #0b3b82 0%, #1a4d9c 40%, #27c3e6 100%);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.back-icon {
    transition: transform 0.3s ease;
    fill: currentColor;
}

.back-button:hover .back-icon {
    transform: translateX(-3px);
}

/* for support and index */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0a2a5c;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a2a5c 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}


/* Quick Contact Cards */
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.quick-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(11, 59, 130, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.quick-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(11, 59, 130, 0.2);
    border-color: var(--secondary-color);
}

.quick-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(11, 59, 130, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.quick-card:hover .quick-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 35px rgba(39, 195, 230, 0.4);
}

.quick-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.quick-icon i {
    font-size: 2.2rem;
    color: white;
    transition: transform 0.3s ease;
}

.quick-card:hover .quick-icon i {
    transform: scale(1.1);
}

.quick-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.campus-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.campus-address {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.email-label {
    font-size: 1.05rem;
    color: #666;
    margin: 8px 0;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
}

.email-label strong {
    color: var(--text-color);
}

.email-label a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.email-label a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.email-label a:hover::after {
    width: 100%;
}

/* Contact Information and Form Section */
.contact-info-form-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-information-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(11, 59, 130, 0.1);
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-information-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39, 195, 230, 0.05) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.contact-information-card:hover::before {
    top: -30%;
    right: -30%;
}

.contact-information-card:hover {
    box-shadow: 0 15px 40px rgba(11, 59, 130, 0.15);
    transform: translateY(-5px);
}

.contact-information-card h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.info-block:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(11, 59, 130, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(11, 59, 130, 0.2);
    position: relative;
    z-index: 1;
}

.info-block:hover .info-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(39, 195, 230, 0.4);
}

.info-icon i {
    font-size: 1.4rem;
    color: white;
    transition: transform 0.3s ease;
}

.info-block:hover .info-icon i {
    transform: scale(1.1);
}

/* Location Clickable Styles */
.location-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.location-clickable:hover {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 40px rgba(39, 195, 230, 0.5) !important;
}

.location-clickable:active {
    transform: scale(1.1) rotate(5deg);
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 5px 0;
}

.info-content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

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

.info-content a:hover::before {
    width: 100%;
}

.info-content a:hover {
    transform: translateX(3px);
    display: inline-block;
}


.info-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 5px 0;
}

.info-content a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}


/* Department Section */
.department-section {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
}

.dept-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.dept-name {
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Faculty Actions */
.faculty-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 250px;
    flex-shrink: 0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 110px;
    text-align: center;
}

.btn-profile {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 59, 130, 0.2);
}

.btn-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 59, 130, 0.3);
}

.btn-contact {
    background: white;
    color: #0b3b82;
    border: 2px solid #e0eeff;
}

.btn-contact:hover {
    background: #f0f7ff;
    border-color: #0b3b82;
    transform: translateY(-2px);
}



/* ==================================================
STUDENT SUPPORT PAGE STYLING
================================================== */

.support-section {
    position: relative;
    margin: 50px 0;
    padding: 50px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px var(--shadow-color);
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #2980b9 0%, 
        #3498db 50%, 
        #2980b9 100%);
    z-index: 1;
}

.support-section-header {
    text-align: center;
}

.support-section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0a2a5c;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a2a5c 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Opportunities Container */
.opportunities-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.support-section-header .fa-graduation-cap {
    font-size: 70px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.3));
}        

.support-section:hover .fa-graduation-cap {
    opacity: 0;
    transform: translateY(-20px);
}

.support-section:hover .support-section-header h2 {
    opacity: 1;
    transform: translateY(-60px);
}

.opportunity-column {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid #e8f4f8;
}

.india-column {
    border-top: 4px solid #ff9933;
}

.abroad-column {
    border-top: 4px solid #27c3e6;
}

.column-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(11, 59, 130, 0.1);
}

.column-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.column-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

/* Education Cards */
.opportunity-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edu-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.edu-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(39, 195, 230, 0.2);
    border-left-color: var(--secondary-color);
}

.edu-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e3f5ff, #d4edff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    margin: 0 auto 15px;
}

.edu-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.edu-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Competitive Exams Section */
.fa-trophy{
    font-size: 70px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.3));
}

.support-section:hover .fa-trophy {
    opacity: 0;
    transform: translateY(-20px);
}

.competitive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.competitive-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.competitive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: opacity 0.3s ease;
}

.competitive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(39, 195, 230, 0.25);
}

.competitive-card:nth-child(1):hover::before {
    background: var(--secondary-color);
}

.competitive-card:nth-child(2):hover::before {
    background: #138808;
}

.competitive-card:nth-child(3):hover::before {
    background: #ff9933;
}

.competitive-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    gap: 18px;
    z-index: 1;
}

.competitive-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 6px 20px rgba(39, 195, 230, 0.3);
    transition: all 0.3s ease;
}

.competitive-card:hover .competitive-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 45px rgba(39, 195, 230, 0.25);
}

.competitive-header h3 {
    position: absolute;
    left: 75px;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.competitive-card h4 {
    font-size: 1.1rem;
    color: #0b3b82;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.competitive-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.competitive-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 0.9rem;
}

.feature-item i {
    color: #27c3e6;
    font-size: 14px;
}

/* Forums Section - Modern Theme with 2x2 Grid */
.forums-section {
    text-align: center;
    padding: 50px 50px 50px;
    border-radius: 24px;
    position: relative;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    border: 1px solid rgba(41, 128, 185, 0.1);
    box-shadow: 0 20px 60px rgba(41, 128, 185, 0.08);
    overflow: hidden;
    margin-top: 40px;
}

.forums-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #2980b9 0%, 
        #3498db 50%, 
        #2980b9 100%);
    z-index: 1;
}

.forums-section:hover .fa-comments {
    opacity: 0;
    transform: translateY(-20px);
}

.fa-comments {
    font-size: 70px;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
    filter: drop-shadow(0 4px 12px rgba(52, 152, 219, 0.3));
}

.forums-section:hover .section-title {
    opacity: 1;
    transform: translateY(-60px);
}

/* 2-up, 2-down grid layout */
.forums-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 35px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Top row */
.forums-container .forum-card:nth-child(1),
.forums-container .forum-card:nth-child(2) {
    grid-row: 1;
}

/* Bottom row */
.forums-container .forum-card:nth-child(3),
.forums-container .forum-card:nth-child(4) {
    grid-row: 2;
}

/* Left column */
.forums-container .forum-card:nth-child(1),
.forums-container .forum-card:nth-child(3) {
    grid-column: 1;
}

/* Right column */
.forums-container .forum-card:nth-child(2),
.forums-container .forum-card:nth-child(4) {
    grid-column: 2;
}

.forum-card {
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border-radius: 18px;
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(41, 128, 185, 0.1);
    box-shadow: 0 10px 30px rgba(26, 82, 118, 0.08);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.forum-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: opacity 0.3s ease;
}

.forum-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(26, 82, 118, 0.12);
    border-color: rgba(41, 128, 185, 0.2);
}

.forum-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.forum-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 24px;
    color: white;
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.25);
    transition: all 0.3s ease;
}

.forum-card:hover .forum-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.35);
}

.forum-info {
    flex: 1;
    text-align: left;
}

.forum-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.forum-category {
    font-size: 0.85rem;
    color: #3498db;
    font-weight: 600;
    background: rgba(52, 152, 219, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(52, 152, 219, 0.15);
}

.forum-description {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.forum-description p {
    color: #34495e;
    line-height: 1.7;
    margin-bottom: 18px;
    font-size: 0.98rem;
    flex: 1;
}

.forum-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(52, 152, 219, 0.1);
    padding-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.forum-features li {
    color: #5d6d7e;
    margin-bottom: 8px;
    padding-left: 26px;
    position: relative;
    font-size: 0.92rem;
    line-height: 1.5;
}

.forum-features li:last-child {
    margin-bottom: 0;
}

.forum-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary-color);
    font-size: 14px;
}

/* Color variations for each forum card */
.forum-card:nth-child(1) .forum-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.forum-card:nth-child(1):hover::before {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.forum-card:nth-child(1) .forum-features li i {
    color: #3498db;
}

.forum-card:nth-child(2) .forum-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.forum-card:nth-child(2):hover::before {
    background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.forum-card:nth-child(2) .forum-features li i {
    color: #2ecc71;
}

.forum-card:nth-child(3) .forum-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.forum-card:nth-child(3):hover::before {
    background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.forum-card:nth-child(3) .forum-features li i {
    color: #9b59b6;
}

.forum-card:nth-child(4) .forum-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.forum-card:nth-child(4):hover::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.forum-card:nth-child(4) .forum-features li i {
    color: #e74c3c;
}

/* Contact Section - Modern Theme */
.section-intro {
    text-align: center;
    position: relative;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    perspective: 1000px;
}

.contact-card {
    background: linear-gradient(145deg, #ffffff, #fefefe);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(108, 92, 231, 0.1);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.06);
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6c5ce7, #5662f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(108, 92, 231, 0.12);
    border-color: rgba(108, 92, 231, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c5ce7, #5662f6);
    color: white;
    font-size: 18px;
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.25);
    z-index: 2;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-badge {
    transform: scale(1.2) rotate(360deg);
}

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

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 14px;
    font-size: 24px;
    color: white;
    background: linear-gradient(135deg, #6c5ce7, #5662f6);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.25);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.35);
}

.contact-info {
    flex: 1;
    text-align: left;
}

.contact-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.contact-tag {
    font-size: 0.85rem;
    color: #6c5ce7;
    font-weight: 600;
    background: rgba(108, 92, 231, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.contact-details {
    text-align: left;
}

.contact-description {
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.contact-features li {
    color: #5d6d7e;
    margin-bottom: 10px;
    padding-left: 26px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-features li:last-child {
    margin-bottom: 0;
}

.contact-features li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #6c5ce7;
    font-size: 14px;
}

/* Contact specific styles */
.contact-numbers, .email-addresses, .office-details, .social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-link, .email-link, .social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 12px;
    color: #2d3436;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.phone-link:hover, .email-link:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateX(5px);
    border-color: rgba(108, 92, 231, 0.2);
}

.phone-link i, .email-link i {
    color: #6c5ce7;
    font-size: 18px;
    width: 24px;
}

.address-item, .timing-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, 0.1);
}

.address-item i, .timing-item i {
    color: #6c5ce7;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.social-link {
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.social-link.linkedin { background: rgba(10, 102, 194, 0.1); border-color: rgba(10, 102, 194, 0.2); }
.social-link.instagram { background: rgba(225, 48, 108, 0.1); border-color: rgba(225, 48, 108, 0.2); }
.social-link.twitter { background: rgba(29, 161, 242, 0.1); border-color: rgba(29, 161, 242, 0.2); }
.social-link.facebook { background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.2); }

.social-link.linkedin i { color: #0a66c2; }
.social-link.instagram i { color: #e1306c; }
.social-link.twitter i { color: #1da1f2; }
.social-link.facebook i { color: #1877f2; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 2px solid rgba(39, 195, 230, 0.1);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    border: 2px solid rgba(11, 59, 130, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(39, 195, 230, 0.1);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.25);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.35);
}

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

/* Map Section */
.map-section {
    margin-top: 50px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(11, 59, 130, 0.08);
    width: 100%;
}

.map-header {
    text-align: center;
    margin-bottom: 30px;
}

.map-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.map-header h3 i {
    color: var(--secondary-color);
}

.map-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    border-radius: 15px;
}

/* Map Info Overlay Card */
.map-info-card {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    border-radius: 12px;
    padding: 15px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    max-width: 320px;
    z-index: 10;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.map-info-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.map-info-header {
    margin-bottom: 8px;
}

.map-info-header h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.map-info-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffa500;
    font-size: 1rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
}

.map-info-address {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.map-info-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.map-directions-btn:hover {
    background: var(--primary-color);
    transform: translateX(3px);
}

.map-directions-btn i {
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    margin-top: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
   
        /* Student Coordinators Page Styles */
        .coordinators-section {
            padding: 40px 0;
        }

        /* Filters Section */
        .filters-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            padding: 20px;
            background: var(--white);
            border-radius: 12px;
            box-shadow: 0 4px 15px var(--shadow-color);
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filter-group label {
            font-weight: 500;
            color: var(--primary-color);
            font-size: 14px;
        }

        .filter-input {
            padding: 8px 12px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
            min-width: 150px;
        }

        .filter-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 3px rgba(39, 195, 230, 0.1);
        }

        .filter-select {
            padding: 8px 12px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            background: var(--white);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-select:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

        .clear-filters-btn {
            padding: 8px 16px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            border: none;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: auto;
        }

        .clear-filters-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(11, 59, 130, 0.3);
        }

        /* Department Box */
        .department-box {
            background: var(--white);
            border-radius: 16px;
            margin-bottom: 20px;
            box-shadow: 0 8px 30px var(--shadow-color);
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .department-box:hover {
            box-shadow: 0 12px 40px rgba(11, 59, 130, 0.12);
        }

        .department-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 25px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #1a5a9e 100%);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .department-header:hover {
            background: linear-gradient(135deg, #0a3470 0%, var(--primary-color) 100%);
        }

        .department-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .department-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .department-icon i {
            font-size: 24px;
            color: var(--white);
        }

        .department-title {
            color: var(--white);
        }

        .department-title h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .department-title span {
            font-size: 13px;
            opacity: 0.85;
        }

        .department-meta {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .student-count {
            background: var(--accent-color);
            color: #000;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
        }

        .expand-icon {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .expand-icon i {
            color: var(--white);
            font-size: 14px;
            transition: transform 0.3s ease;
        }

        .department-box.expanded .expand-icon i {
            transform: rotate(180deg);
        }

        /* Students Content */
        .students-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease;
        }

        .department-box.expanded .students-content {
            max-height: 5000px;
        }

        .students-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding: 15px 25px;
            background: linear-gradient(135deg, rgba(11, 59, 130, 0.03), rgba(39, 195, 230, 0.03));
            border-bottom: 1px solid var(--border-color);
        }

        .preview-badge {
            background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
            color: var(--white);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .more-badge {
            background: var(--accent-color);
            color: #000;
        }


        .class-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
            background: rgba(39, 195, 230, 0.15);
            color: var(--primary-color);
        }

        .class-badge.sy {
            background: rgba(46, 204, 113, 0.15);
            color: #27ae60;
        }

        .class-badge.ty {
            background: rgba(52, 152, 219, 0.15);
            color: #2980b9;
        }

        .class-badge.btech {
            background: rgba(155, 89, 182, 0.15);
            color: #8e44ad;
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 40px;
            color: #888;
        }

        .no-results i {
            font-size: 48px;
            color: var(--border-color);
            margin-bottom: 15px;
        }

        /* Results Count */
        .results-count {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
            padding: 10px 15px;
            background: rgba(39, 195, 230, 0.1);
            border-radius: 8px;
            display: inline-block;
        }

        .results-count strong {
            color: var(--primary-color);
        }































/* Student-Coordinators , Sem1 , Sem2 Page Styles */

.coordinator-section {
    text-align: center;
    padding: 50px 50px 50px;
    border-radius: 24px;
    position: relative;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    border: 1px solid rgba(41, 128, 185, 0.1);
    box-shadow: 0 20px 60px rgba(41, 128, 185, 0.08);
    overflow: hidden;
    margin-top: 40px;
}
.coordinator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2980b9 0%, #3498db 50%, #2980b9 100%);
    z-index: 1;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/*department cards*/
.department-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}
.dept-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(41, 128, 185, 0.15);
    box-shadow: 0 8px 20px rgba(11, 59, 130, 0.1);
    position: relative;
    overflow: hidden;
}
.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(41, 128, 185, 0.15), transparent);
    transition: left 0.5s ease;
}
.dept-card:hover::before {
    left: 100%;
}
.dept-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 45px rgba(11, 59, 130, 0.2);
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #e8f4ff 100%);
}
.dept-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #2980b9 0%, #0b3b82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}
.dept-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}
.dept-card:hover h3 {
    color: var(--secondary-color);
}

/* Student Table activities and student cordinators*/
.table-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(11, 59, 130, 0.12);
    overflow: hidden;
    border: 1px solid rgba(41, 128, 185, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

/* Enable horizontal scroll on mobile */
@media screen and (max-width: 768px) {
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

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

.students-table-container {
    padding: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.students-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.students-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5a9e 100%);
}

.students-table th {
    color: var(--white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.students-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.students-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.students-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.students-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(39, 195, 230, 0.05), rgba(11, 59, 130, 0.05));
}

.students-table tbody tr:last-child {
    border-bottom: none;
}

.students-table td {
    padding: 14px 16px;
    color: var(--text-color);
    text-align: center;
    vertical-align: middle;
}

.students-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 60px;
}

/* ===============================================
   RESPONSIVE DESIGN - MOBILE & TABLET STYLES
   =============================================== */

/* Touch-friendly improvements for all screen sizes */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap target sizes for touch devices */
    .nav-link,
    .section-nav-btn,
    .btn,
    .menu-toggle,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Smoother touch scrolling */
    * {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Remove hover effects on touch devices */
    .team-card:hover,
    .forum-card:hover,
    .contact-card:hover,
    .dept-card:hover {
        transform: none;
    }
    
    /* Better touch feedback */
    .nav-link:active,
    .btn:active,
    button:active {
        opacity: 0.7;
    }
}

/* Horizontal scroll indicators for tables on mobile */
.students-table-container {
    position: relative;
}

/* ========== LARGE TABLETS (max-width: 1024px) ========== */
@media screen and (max-width: 1024px) {
    /* Header adjustments */
    .header-text h1 {
        font-size: 1.5rem;
    }
    
    .header-text h4 {
        font-size: 1.3rem;
    }
    
    .logo-group img {
        height: 70px;
    }
    
    /* Navbar */
    .nav-link {
        padding: 16px 18px;
        font-size: 14px;
    }
    
    /* Page headers */
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    /* Grids */
    .team-section {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .competitive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .department-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Contact grid */
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .contact-info-form-section {
        grid-template-columns: 1fr;
    }
}

/* ========== TABLETS (max-width: 768px) ========== */
@media screen and (max-width: 768px) {
    /* Base font size */
    body {
        font-size: 14px;
    }
    
    /* Header */
    .header-container {
        padding: 12px 15px;
    }
    
    .header-center {
        flex-direction: row;
        gap: 10px;
        text-align: center;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-group {
        justify-content: center;
        flex-shrink: 0;
        gap: 8px;
    }
    
    .logo-group img {
        height: 50px;
        width: auto;
    }
    
    .header-text {
        flex: 1;
        min-width: 0;
    }
    
    .header-text {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .header-text h1 {
        font-size: 1.1rem;
        word-wrap: break-word;
    }
    
    .header-text h4 {
        font-size: 0.95rem;
        word-wrap: break-word;
    }
    
    .subtitle {
        font-size: 13px;
        line-height: 1.3;
    }
    
    /* Updates Bar */
    .updates-bar {
        height: auto;
        min-height: 40px;
        flex-wrap: wrap;
        padding: 5px 0;
    }
    
    .updates-label {
        margin: 5px;
    }
    
    .simple-counter {
        font-size: 12px;
    }
    
    /* Navbar - Mobile Menu */
    .navbar-container {
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
        transition: all 0.3s ease;
    }
    
    /* When menu is active, position toggle button in top right corner */
    .menu-toggle.active {
        position: fixed;
        top: 12px;
        right: 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .navbar-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        padding-top: 60px;
        z-index: 1000;
    }
    
    .navbar-links.active {
        left: 0;
    }
    
    /* Mobile menu overlay */
    .navbar-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 280px;
        width: calc(100vw - 280px);
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .nav-link {
        width: 100%;
        padding: 16px 20px;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link.active {
        border-left: 4px solid var(--secondary-color) !important;
        background-color: rgb(255, 255, 255);
    }
    
    .nav-item.active::before {
        display: none;
    }
    
    /* Section Navigation */
    /* Section Navigation - Hide on mobile */
    .section-nav {
        display: none;
    }
    
    /* Main Container */
    .main-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    /* Page Headers */
    .page-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    /* Team Section */
    .team-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-card {
        padding: 25px;
    }
    
    /* Quick Contact Grid */
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-card {
        padding: 30px;
    }
    
    /* Contact Information */
    .contact-info-form-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-information-card {
        padding: 30px 20px;
    }
    
    .info-block {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    /* Support Section */
    .support-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .support-section-header h2,
    .section-title {
        font-size: 2rem;
    }
    
    .opportunities-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .opportunity-column {
        padding: 20px;
    }
    
    /* Competitive Grid */
    .competitive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .competitive-card {
        padding: 25px 20px;
    }
    
    .competitive-header h3 {
        font-size: 1.5rem;
    }
    
    /* Forums Section */
    .forums-section {
        padding: 30px 20px;
    }
    
    .forums-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .forum-card {
        padding: 25px 20px;
        min-height: 250px;
    }
    
    .forum-features {
        flex-direction: column;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .social-links {
        grid-template-columns: 1fr;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Map Section */
    .map-section {
        padding: 30px 20px;
    }
    
    .map-info-card {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    /* Department Cards */
    .department-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dept-card {
        padding: 25px 20px;
    }
    
    /* Filters */
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-input,
    .filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .clear-filters-btn {
        margin-left: 0;
        width: 100%;
    }
    
    /* Department Box */
    .department-header {
        padding: 15px 20px;
    }
    
    .department-info {
        gap: 12px;
    }
    
    .department-icon {
        width: 40px;
        height: 40px;
    }
    
    .department-icon i {
        font-size: 20px;
    }
    
    .department-title h3 {
        font-size: 16px;
    }
    
    .department-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }
    
    /* Tables */
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .students-table-container {
        overflow-x: auto;
        padding: 15px;
        -webkit-overflow-scrolling: touch;
    }
    
    .students-table {
        font-size: 13px;
        min-width: 600px;
        width: 100%;
    }
    
    .students-table th,
    .students-table td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Membership Section */
    .membership-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .enrollment-section {
        margin: 60px 0 40px 0;
        padding: 30px 20px;
        border-radius: 20px;
    }

    .enrollment-heading {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .enrollment-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .enrollment-button {
        padding: 15px 35px;
        font-size: 1rem;
        gap: 12px;
    }

    .enrollment-button i {
        font-size: 1.1rem;
    }

    .rule-card {
        padding: 30px 20px;
    }

    .rule-number {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }

    .rule-content h3 {
        font-size: 1.5rem;
        padding-right: 60px;
    }

    .rule-content h4 {
        font-size: 1.1rem;
    }

    .subcategory {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 20px 15px;
        margin-top: 50px;
    }
}

/* ========== MOBILE DEVICES (max-width: 480px) ========== */
@media screen and (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 10px;
    }
    
    .header-center {
        gap: 8px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-group {
        flex-shrink: 0;
        gap: 6px;
    }
    
    .logo-group img {
        height: 45px;
    }
    
    .header-text {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .header-text h1 {
        font-size: 0.95rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .header-text h4 {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    .subtitle {
        font-size: 12px;
        line-height: 1.2;
    }
    
    /* Updates Bar */
    .updates-label {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .marquee-content {
        font-size: 13px;
    }
    
    /* Navbar */
    .navbar-links {
        width: 100%;
    }
    
    /* Update overlay for full width menu */
    .navbar-links.active::before {
        display: none;
    }
    
    /* Add backdrop blur effect for modern browsers */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }
    
    .menu-toggle {
        font-size: 20px;
    }
    
    /* When menu is active on mobile, keep toggle button in top right corner */
    .menu-toggle.active {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 1001;
    }
    
    /* Section Navigation - Hide on mobile */
    .section-nav {
        display: none;
    }
    
    /* Main Container */
    .main-container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    /* Page Headers */
    .page-header {
        padding: 15px 10px;
        border-radius: 15px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
    
    /* Back Button */
    .back-button {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    
    /* Team Cards */
    .team-card {
        padding: 20px;
    }
    
    .team-img {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    /* Quick Cards */
    .quick-card {
        padding: 25px 20px;
    }
    
    .quick-icon {
        width: 70px;
        height: 70px;
    }
    
    .quick-icon i {
        font-size: 2rem;
    }
    
    .quick-card h3 {
        font-size: 1.5rem;
    }
    
    .email-label {
        font-size: 0.95rem;
    }
    
    /* Contact Information */
    .contact-information-card {
        padding: 25px 15px;
    }
    
    .contact-information-card h2 {
        font-size: 1.6rem;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-icon i {
        font-size: 1.2rem;
    }
    
    .info-content h3 {
        font-size: 1.1rem;
    }
    
    .info-content p {
        font-size: 0.9rem;
    }
    
    /* Support Section */
    .support-section {
        padding: 20px 15px;
        border-radius: 20px;
    }
    
    .support-section-header h2,
    .section-title {
        font-size: 1.6rem;
    }
    
    .fa-graduation-cap,
    .fa-trophy,
    .fa-comments {
        font-size: 50px;
    }
    
    .column-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .column-header h3 {
        font-size: 1.4rem;
    }
    
    .edu-card {
        padding: 20px 15px;
    }
    
    .edu-card h4 {
        font-size: 1.1rem;
    }
    
    .edu-card p {
        font-size: 0.9rem;
    }
    
    /* Competitive Cards */
    .competitive-card {
        padding: 20px 15px;
    }
    
    .competitive-header {
        flex-direction: column;
        text-align: center;
    }
    
    .competitive-header h3 {
        position: static;
        font-size: 1.3rem;
        margin-top: 10px;
    }
    
    .competitive-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Forums */
    .forums-section {
        padding: 20px 15px;
    }
    
    .forum-card {
        padding: 20px 15px;
        min-height: 200px;
    }
    
    .forum-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .forum-name {
        font-size: 1.1rem;
    }
    
    .forum-features li {
        font-size: 0.85rem;
        padding-left: 22px;
    }
    
    /* Contact Cards */
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-badge {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .contact-name {
        font-size: 1.2rem;
    }
    
    .contact-tag {
        font-size: 0.8rem;
    }
    
    .phone-link,
    .email-link,
    .address-item,
    .timing-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    /* Contact Form */
    .contact-form-container {
        padding: 25px 15px;
    }
    
    .form-header h3 {
        font-size: 1.6rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 14px 25px;
        font-size: 1rem;
    }
    
    /* Map Section */
    .map-section {
        padding: 25px 15px;
    }
    
    .map-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .map-header p {
        font-size: 0.9rem;
    }
    
    .map-info-card {
        padding: 12px 15px;
    }
    
    .map-info-header h4 {
        font-size: 0.95rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 30px 15px;
        border-radius: 15px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }

    /* Membership Section - Mobile */
    .membership-heading {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .membership-heading::after {
        width: 80px;
    }

    .enrollment-section {
        margin: 50px 0 30px 0;
        padding: 20px 15px;
        border-radius: 15px;
    }

    .enrollment-heading {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .enrollment-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .enrollment-button {
        padding: 13px 28px;
        font-size: 0.95rem;
        gap: 10px;
        flex-wrap: wrap;
    }

    .enrollment-button i {
        font-size: 1rem;
    }

    .rule-card {
        padding: 25px 15px;
    }

    .rule-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }

    .rule-content h3 {
        font-size: 1.3rem;
        padding-right: 55px;
        margin-bottom: 15px;
    }

    .rule-content h4 {
        font-size: 1rem;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .rule-content p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .rule-content li {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .subcategory {
        padding: 12px;
        margin-bottom: 12px;
    }

    .subcategory h4 {
        font-size: 1rem;
    }

    .highlight-text {
        padding: 10px 12px;
        font-size: 0.95rem;
        margin: 10px 0;
    }

    .warning-text {
        padding: 10px 12px;
        font-size: 0.95rem;
        margin: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    /* Department Cards */
    .dept-card {
        padding: 20px 15px;
    }
    
    .dept-card i {
        font-size: 2.8rem;
    }
    
    .dept-card h3 {
        font-size: 1.1rem;
    }
    
    /* Department Box */
    .department-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .department-info {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .department-title h3 {
        font-size: 15px;
    }
    
    .department-meta {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .students-preview {
        padding: 12px 15px;
    }
    
    /* Tables - Horizontal Scroll */
    .table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .students-table-container {
        padding: 10px;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
    
    .students-table {
        font-size: 12px;
        min-width: 600px;
        width: 100%;
        display: table;
    }
    
    .students-table th,
    .students-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 90px;
    }
    
    .action-buttons {
        gap: 10px;
    }
    
    /* Results Count */
    .results-count {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Footer */
    .footer {
        padding: 15px 10px;
        margin-top: 40px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
}

/* ========== EXTRA SMALL DEVICES (max-width: 360px) ========== */
@media screen and (max-width: 360px) {
    .header-container {
        padding: 8px 5px;
    }
    
    .header-center {
        gap: 5px;
    }
    
    .logo-group {
        gap: 4px;
    }
    
    .logo-group img {
        height: 35px;
    }
    
    .header-text {
        overflow: hidden;
    }
    
    .header-text h1 {
        font-size: 0.85rem;
        word-wrap: break-word;
        line-height: 1.1;
    }
    
    .header-text h4 {
        font-size: 0.75rem;
        word-wrap: break-word;
    }
    
    .subtitle {
        font-size: 10px;
        line-height: 1.2;
    }
    
    .page-header h1 {
        font-size: 1.4rem;
    }
    
    .section-title,
    .support-section-header h2 {
        font-size: 1.4rem;
    }
    
    .quick-card h3,
    .contact-information-card h2 {
        font-size: 1.3rem;
    }
    
    .team-img {
        width: 80px;
        height: 80px;
        font-size: 1.6rem;
    }
    
    .students-table {
        font-size: 11px;
    }

    /* Membership and Enrollment - Extra Small */
    .membership-heading {
        font-size: 1.4rem;
    }

    .enrollment-heading {
        font-size: 1.2rem;
    }

    .enrollment-subtitle {
        font-size: 0.9rem;
    }

    .enrollment-button {
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 8px;
    }

    .enrollment-button i {
        font-size: 0.95rem;
    }
}

/* ========== LANDSCAPE ORIENTATION for MOBILE ========== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .navbar-links {
        padding-top: 10px;
        height: 100vh;
    }
    
    .nav-link {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .page-header {
        padding: 15px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
}

/* ========== PRINT STYLES ========== */
@media print {
    .navbar,
    .menu-toggle,
    .updates-bar,
    .back-button,
    .section-nav,
    .footer {
        display: none;
    }
    
    .main-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .page-header {
        box-shadow: none;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* ========== REDUCED MOTION ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========== MEMBERSHIP PAGE STYLES ========== */

.membership-section {
    margin: 50px 0;
}

.membership-heading {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0a2a5c;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #0a2a5c 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.membership-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.rules-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.rule-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 8px 25px rgba(11, 59, 130, 0.1);
    border-left: 5px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(11, 59, 130, 0.15);
    border-left-color: var(--secondary-color);
}

.rule-number {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(11, 59, 130, 0.2);
    transition: all 0.3s ease;
}

.rule-content {
    position: relative;
    z-index: 1;
}

.rule-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 0;
    font-weight: 700;
    padding-right: 70px;
}

.rule-content h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.rule-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.rule-content ul,
.rule-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.rule-content li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 1rem;
}

.rule-content ol {
    list-style-type: decimal;
}

.rule-content ul {
    list-style-type: disc;
}

.subcategory {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.subcategory:hover {
    box-shadow: 0 4px 15px rgba(11, 59, 130, 0.1);
    transform: translateX(5px);
}

.subcategory h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.subcategory ul {
    margin-bottom: 0;
}

.subcategory li {
    color: #555;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(242, 195, 0, 0.1), rgba(39, 195, 230, 0.1));
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-weight: 500;
    color: #0b3b82;
    margin: 15px 0;
}

.warning-text {
    background: linear-gradient(120deg, rgba(231, 76, 60, 0.1), rgba(242, 195, 0, 0.1));
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    font-weight: 500;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-text i {
    font-size: 1.2rem;
}

/* ========== ENROLLMENT FORM SECTION ========== */

.enrollment-section {
    margin: 80px 0 50px 0;
    padding: 50px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(11, 59, 130, 0.1);
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.enrollment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 1;
}

.enrollment-heading {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0a2a5c;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #0a2a5c 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enrollment-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.enrollment-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.enrollment-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(11, 59, 130, 0.25);
    position: relative;
    overflow: hidden;
}

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

.enrollment-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(11, 59, 130, 0.35);
}

.enrollment-button:hover::before {
    left: 100%;
}

.enrollment-button i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.enrollment-button:hover i {
    transform: translateX(3px);
}

/* ========== OPTIMIZE PERFORMANCE ON MOBILE ========== */
@media screen and (max-width: 768px) {
    /* Reduce complex animations on mobile */
    .hero-background,
    .bg-circle,
    .cta-section::before {
        animation: none;
    }
    
    /* Optimize transforms for better performance */
    .team-card,
    .forum-card,
    .contact-card,
    .dept-card,
    .competitive-card,
    .edu-card {
        will-change: auto;
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* ========== TOAST NOTIFICATION ========== */
.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 500px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.success {
    border-left-color: #27c3e6;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.custom-toast.error {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffffff 0%, #ffebee 100%);
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.toast-message {
    flex: 1;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: transparent;
    border: none;
    color: #999;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    transform: rotate(90deg);
}

/* Mobile responsiveness for toast */
@media screen and (max-width: 480px) {
    .custom-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .custom-toast.show {
        transform: translateY(0);
    }
    
    .toast-message {
        font-size: 13px;
    }
}

/* ========== DARK MODE SUPPORT (Optional Enhancement) ========== */
@media (prefers-color-scheme: dark) {
    /* Users can uncomment this for dark mode support
    :root {
        --text-color: #e0e0e0;
        --bg-gradient-start: #1a1a1a;
        --bg-gradient-end: #2d2d2d;
        --white: #1e1e1e;
        --shadow-color: rgba(0, 0, 0, 0.3);
    }
    */
}