/* General Styles */
:root {
    --primary-color: #00a651;
    --secondary-color: #2c3e50;
}

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

body {
    font-family: 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

/* Top Header */
.top-header {
    background: linear-gradient(135deg, #00a651 0%, #00a651 100%);
    padding: 20px 0;
    position: relative;
    overflow: visible;
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
}

    .top-header::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 300px;
        height: 100%;
        background: linear-gradient(135deg, #fff 0%, transparent 100%);
        transform: skewX(-20deg);
        transform-origin: top left;
    }

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    border-radius: 3px;
    color: #fff;
    font-size: 1rem;
    padding: 1px 5px;
    cursor: pointer;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;
    z-index: 10;
}

    .mobile-menu-btn:hover {
        background: rgba(255,255,255,0.3);
    }

.logo-left, .logo-right {
    width: 120px;
    height: 120px;
}

    .logo-left img, .logo-right img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.college-title {
    text-align: center;
    color: #fff;
}

    .college-title h1 {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .college-title h2 {
        font-size: 2rem;
        font-weight: 500;
    }

/* Navigation Menu */
.main-nav {
    background: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-top: -50px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

    .nav-menu li {
        position: relative;
    }

    .nav-menu > li > a {
        display: block;
        color: #fff;
        text-decoration: none;
        padding: 15px 18px;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s;
        white-space: nowrap;
    }

        .nav-menu > li > a:hover {
            background: #00a651;
        }

/* Submenu Styles */
.has-submenu {
    position: relative;
}

    .has-submenu > a {
        display: flex;
        align-items: center;
        gap: 5px;
    }

        .has-submenu > a i {
            font-size: 0.7rem;
        }

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c3e50;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.has-submenu:hover .submenu {
    display: block;
}

.submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

    .submenu li:last-child {
        border-bottom: none;
    }

.submenu a {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    display: block !important;
    white-space: normal !important;
    color: #fff !important;
    text-decoration: none;
}

    .submenu a:hover {
        background: #00a651;
        padding-left: 25px !important;
    }

.language-switcher {
    margin-left: auto;
}

.lang-btn {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 15px 18px !important;
    font-size: 0.9rem !important;
}

    .lang-btn:hover {
        background: #00a651 !important;
    }

/* Slider Section */
.slider-section {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 40px;
}

    .slide-content h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

    .slider-dot.active {
        background: #00a651;
        width: 30px;
        border-radius: 6px;
    }

/* Notice Marquee Section */
.notice-marquee-section {
    max-width: 1400px;
    margin: -10px auto 30px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.notice-marquee-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.notice-label {
    background: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

    .notice-label i {
        animation: bell-ring 1s ease-in-out infinite;
    }

@keyframes bell-ring {
    0%, 100% {
        transform: rotate(0deg);
    }

    10%, 30% {
        transform: rotate(-10deg);
    }

    20%, 40% {
        transform: rotate(10deg);
    }
}

.notice-marquee {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.notice-marquee-content {
    display: flex;
    gap: 50px;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.notice-marquee:hover .notice-marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.notice-item {
    color: #fff;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 50px;
    border-right: 2px solid rgba(255,255,255,0.2);
}

    .notice-item:last-child {
        border-right: none;
    }

    .notice-item i {
        color: #3498db;
        font-size: 0.9rem;
    }

    .notice-item a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }

        .notice-item a:hover {
            color: #3498db;
        }

.notice-date-badge {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-left: 8px;
}

/* Principal Message Section */
.principal-section {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.principal-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.principal-image {
    background: linear-gradient(135deg, #00a651 0%, #00c853 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.principal-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    .principal-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.principal-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.principal-info p {
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.9;
}

.principal-message {
    padding: 40px;
}

    .principal-message h2 {
        font-size: 2.5rem;
        color: #00a651;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 15px;
    }

        .principal-message h2 i {
            font-size: 2rem;
        }

.message-content {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

    .message-content::first-letter {
        font-size: 3rem;
        font-weight: bold;
        color: #00a651;
        float: left;
        line-height: 1;
        margin-right: 8px;
        margin-top: 5px;
    }

/* Content Section */
.main-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: start;
}

.content-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Student Statistics Cards */
.student-stats {
    max-width: 1400px;
    margin: 50px auto 30px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.stat-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
}

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .stat-card.total {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .stat-card.male {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        color: white;
    }

    .stat-card.female {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
    }

.stat-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Services Grid */
.services-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

    .service-item:hover {
        background: #00a651;
        color: #fff;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,166,81,0.3);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-item:hover .service-icon {
    color: #fff;
}

.service-name {
    font-size: 1rem;
    font-weight: 500;
}

/* Teachers & Staff Slider Section */
.teachers-staff-section {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.teachers-staff-section + .teachers-staff-section {
    margin-top: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.view-all-link {
    color: #00a651;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    padding: 8px 15px;
    border: 2px solid #00a651;
    border-radius: 25px;
}

.view-all-link:hover {
    background: #00a651;
    color: #fff;
    transform: translateX(5px);
}

.view-all-link i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.view-all-link:hover i {
    transform: translateX(5px);
}

.members-slider-container {
    position: relative;
    padding: 0 50px;
}

.members-slider {
    overflow: hidden;
    width: 100%;
}

.members-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.member-card {
    min-width: calc(33.333% - 14px);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
    padding: 20px 12px 15px;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,166,81,0.3);
}

.member-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #00a651;
    box-shadow: 0 5px 15px rgba(0,166,81,0.3);
    transition: all 0.3s;
}

.member-card:hover .member-photo {
    border-color: #008c44;
    transform: scale(1.05);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 8px;
    text-align: center;
    background: transparent;
}

.member-name {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.member-designation {
    font-size: 0.9rem;
    color: #00a651;
    margin-bottom: 4px;
    font-weight: 500;
}

.member-department {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-style: italic;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00a651;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,166,81,0.3);
}

.slider-btn:hover {
    background: #008c44;
    box-shadow: 0 5px 15px rgba(0,166,81,0.5);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.no-data-message {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-data-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-data-message p {
    font-size: 1.2rem;
}

.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00a651;
}

.widget-list {
    list-style: none;
}

    .widget-list li {
        padding: 10px 0;
        border-bottom: 1px solid #e9ecef;
    }

        .widget-list li:last-child {
            border-bottom: none;
        }

    .widget-list a {
        color: #2c3e50;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: all 0.3s;
    }

        .widget-list a:hover {
            color: #00a651;
            padding-left: 10px;
        }

/* Visitor Counter */
.visitor-counter {
    background: #00a651;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.counter-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.counter-item {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
    width: 100%;
    overflow-x: hidden;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h3 {
    color: #00a651;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

.footer-section li {
    padding: 5px 0;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s;
}

    .footer-section a:hover {
        color: #00a651;
        padding-left: 10px;
    }

.footer-section p {
    color: #ecf0f1;
    line-height: 1.6;
}

.footer-logo {
    text-align: center;
    margin-bottom: 15px;
}

    .footer-logo img {
        width: 100px;
        height: 100px;
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

        .nav-menu > li > a {
            padding: 12px 14px;
            font-size: 0.85rem;
        }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-container {
        grid-template-columns: 1fr;
    }

    .content-section {
        width: 100%;
        gap: 25px;
    }

    .principal-container {
        grid-template-columns: 1fr;
    }

    /* Teachers & Staff - Tablet */
    .section-header {
        flex-direction: row;
        justify-content: space-between;
    }

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

    .view-all-link {
        font-size: 0.95rem;
    }

    .member-card {
        min-width: calc(50% - 10px);
    }

    .member-photo {
        width: 110px;
        height: 110px;
    }

    .member-name {
        font-size: 1.05rem;
    }

    .member-designation {
        font-size: 0.85rem;
    }

    .member-department {
        font-size: 0.8rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .college-title h1 {
        font-size: 1.5rem;
    }

    .college-title h2 {
        font-size: 1rem;
    }

    .logo-left, .logo-right {
        width: 80px;
        height: 80px;
    }

    .header-content {
        padding: 0 10px;
    }

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

    .nav-container {
        justify-content: flex-start;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #2c3e50;
        max-height: 80vh;
        overflow-y: auto;
    }

        .nav-menu.active {
            display: flex;
        }

        .nav-menu > li {
            width: 100%;
        }

            .nav-menu > li > a {
                padding: 12px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                font-size: 0.9rem;
            }

    .submenu {
        position: static;
        display: none;
        background: rgba(0,0,0,0.2);
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .slider-container {
        height: 250px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .principal-section {
        margin: 30px auto;
        padding: 0 10px;
    }

    .principal-message {
        padding: 20px;
    }

    .principal-message h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .message-content {
        font-size: 0.95rem;
    }

    .student-stats {
        margin: 30px auto 20px;
        padding: 0 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        font-size: 3rem;
    }

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

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

    /* Main Container - Mobile */
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .content-section {
        width: 100%;
        gap: 20px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Teachers & Staff Slider - Mobile */
    .teachers-staff-section {
        padding: 20px 10px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .view-all-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .members-slider-container {
        padding: 0 35px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .members-slider {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .members-slider-track {
        display: flex;
        gap: 15px;
        width: 100%;
    }

    .member-card {
        min-width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        padding: 18px 10px 12px;
        box-sizing: border-box;
    }

    .member-photo {
        width: 100px;
        height: 100px;
        border-width: 3px;
        margin-bottom: 10px;
    }

    .member-info {
        padding: 6px;
    }

    .member-name {
        font-size: 1rem;
    }

    .member-designation {
        font-size: 0.85rem;
    }

    .member-department {
        font-size: 0.8rem;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    /* Sidebar - Mobile */
    .sidebar {
        width: 100%;
        max-width: 100%;
        gap: 15px;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .sidebar-widget {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .widget-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .widget-list {
        width: 100%;
        box-sizing: border-box;
    }

    .widget-list li {
        padding: 8px 0;
    }

    .widget-list a {
        font-size: 0.9rem;
        word-break: break-word;
    }

    .visitor-counter {
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .counter-title {
        font-size: 1.2rem;
    }

    .counter-item {
        font-size: 1rem;
        padding: 8px;
    }

    /* Footer - Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-section ul {
        padding: 0;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding: 15px 10px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .college-title h1 {
        font-size: 1.2rem;
    }

    .college-title h2 {
        font-size: 0.9rem;
    }

    .logo-left, .logo-right {
        width: 60px;
        height: 60px;
    }

    .slider-container {
        height: 200px;
    }

    .slide-content {
        padding: 15px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.8rem;
    }

    .principal-photo {
        width: 180px;
        height: 180px;
    }

    .principal-info h3 {
        font-size: 1.5rem;
    }

    .principal-message h2 {
        font-size: 1.3rem;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

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

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

    .main-container {
        padding: 0 5px;
        max-width: 100%;
    }

    .content-section {
        width: 100%;
        max-width: 100%;
    }

    .teachers-staff-section {
        padding: 15px 5px;
        width: 100%;
        max-width: 100%;
    }

    .section-header {
        gap: 10px;
    }

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

    .view-all-link {
        font-size: 0.85rem;
        padding: 5px 10px;
    }

    .members-slider-container {
        padding: 0 30px;
        width: 100%;
        max-width: 100%;
    }

    .member-card {
        min-width: 100%;
        max-width: 100%;
        padding: 15px 8px 10px;
    }

    .member-photo {
        width: 90px;
        height: 90px;
        border-width: 2px;
        margin-bottom: 8px;
    }

    .member-info {
        padding: 4px;
    }

    .member-name {
        font-size: 0.95rem;
    }

    .member-designation {
        font-size: 0.8rem;
    }

    .member-department {
        font-size: 0.75rem;
    }

    .slider-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

