/*
Theme Name: GBDC
Theme URI: https://thesli.in
Author: JSRP
Author URI: https://ideainside.in
Description: Built on a solidly designed foundation, gdbc embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 5.6
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gdcdelanga.org
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, style-variations, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news

GBDC Theme, (C) 2025. gdcdelanga.org
GBDC is distributed under the terms of the GNU GPL.
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #246eb3;
    --secondary-color: #90EE90;
    --accent-color: #9ACD32;
    --light-color: #FFFFE0;
    --dark-color: #7059d4;
    --text-color: #333;
    --white: #fff;
    --overlay: rgba(255, 255, 224, 0.85);
}

:root[data-theme="dark"] {
    --primary-color: #246eb3;
    --secondary-color: #2E8B57;
    --accent-color: #32CD32;
    --light-color: #1a1a1a;
    --dark-color: #7059d4;
    --text-color: #f0f0f0;
    --white: #2d2d2d;
    --overlay: rgba(26, 26, 26, 0.9);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Header Styles */
header {
    background-color: rgba(252, 252, 252, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    z-index: 10;
    overflow: hidden;
    border: 1px solid var(--primary-color);
    background: var(--white);
    padding: 0px;
}

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

.college-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.college-location {
    font-size: 0.9rem;
    color: var(--dark-color);
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.theme-toggle {
    background: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s;
    z-index: 10;
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    padding: 0 0px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(124, 159, 255, 0.24), rgba(144, 238, 144, 0.3)), 
                url('https://gbdc.gdcdelanga.org/wp-content/uploads/2025/11/College-Building-scaled.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s smooth;
    background: rgba(252, 252, 252, 0.4);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Page Hero Section */
.page-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(124, 159, 255, 0.24), rgba(144, 238, 144, 0.3)), 
                url('https://gbdc.gdcdelanga.org/wp-content/uploads/2025/11/College-Building-scaled.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    z-index: -1;
}

.page-hero-content {
    max-width: 800px;
    animation: fadeInUp 1s smooth;
    background: rgba(252, 252, 252, 0.4);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Styles */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Principal Message */
.principal-message {
    background-color:rgba(145, 175, 230, 0.664);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.principal-message::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.principal-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.principal-photo {
    width: 12em;
    height: 12em;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 5px solid rgba(41, 89, 180, 0.76);
    position: relative;
    z-index: 3;
}

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

.principal-details h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.principal-details p {
    color: var(--dark-color);
    font-style: italic;
}

.message-content {
    position: relative;
    z-index: 2;
}

/* Mission Vision */
.mission-vision-container {
    display: flex;
    gap: 30px;
}

.mission, .vision {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mission::before, .vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 2;
}

.mission:hover, .vision:hover {
    transform: translateY(-10px);
}

.mission i, .vision i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Gallery */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

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

/* Enhanced Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 91, 175, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0.8);
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
    transform: scale(1);
}

.eye-button {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

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

.eye-button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Staff Section */
.staff-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.staff-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

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

.staff-photo {
    height: 250px;
    overflow: hidden;
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.staff-card:hover .staff-photo img {
    transform: scale(1.1);
}

.staff-info {
    padding: 20px;
    text-align: center;
}

.staff-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.staff-info p {
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* Notice Board */
.notice-container {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.notice-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

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

.notice-item {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

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

.notice-date {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px;
    border-radius: 5px;
    min-width: 80px;
    text-align: center;
    margin-right: 20px;
    font-weight: bold;
}

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

.notice-content a:hover {
    color: var(--primary-color);
}

/* Facilities */
.facilities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

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

.facility-image {
    height: 200px;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-info {
    padding: 20px;
}

.facility-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: rgba(9, 0, 58, 0.986);
    color: var(--white);
    padding: 60px 5% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
    color: var(--text-color);
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Go to Top Button */
#goTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    border-radius: 20%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#goTopBtn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
}

#goTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#goTopBtn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-image-container {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#lightbox-image.zoomed {
    transform: scale(1.5);
    cursor: grab;
}

#lightbox-image.zoomed:active {
    cursor: grabbing;
}

.lightbox-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.lightbox-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.lightbox-btn:active {
    transform: scale(0.95);
}

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

/* Keyboard navigation hint */
.lightbox-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: var(--white);
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--primary-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-color);
}

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

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee */
.marquee {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content, .mission-vision-container {
        flex-direction: column;
    }
    
    .principal-info {
        flex-direction: column;
        text-align: center;
    }
    
    .principal-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1, .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid var(--primary-color);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--primary-color) transparent transparent;
    }
    
    .left::after, .right::after {
        left: 18px;
    }
    
    .right {
        left: 0%;
    }
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-image-container {
        height: 50vh;
    }
    
    .lightbox-controls {
        bottom: 10px;
        padding: 10px;
    }
    
    .lightbox-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1, .page-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero p, .page-hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        background-color: transparent;
    }
    
    .hero-content, .page-hero-content {
        max-width: 95%;
        padding: 20px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .page-hero {
        height: 40vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .gallery-container, .staff-container, .facilities-container {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    p {
        text-align: justify;
    }
    
    .about-text {
        text-align: justify;
    }
    
    .message-content p {
        text-align: justify;
    }
    
    .mission p, .vision p {
        text-align: justify;
    }
    
    .facility-info p {
        text-align: justify;
    }
    
    .mobile-menu-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .header-container {
        position: relative;
        min-height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 50px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 10px 3%;
    }

    .logo {
        height: 60px;
        width: 60px;
    }

    .college-name {
        font-size: 1.3rem;
    }

    nav ul li {
        margin-left: 15px;
    }

    section {
        padding: 60px 3%;
    }

    .hero-content, .page-hero-content {
        max-width: 700px;
        padding: 30px;
    }

    .about-content {
        gap: 30px;
    }

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

    .staff-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

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

@media (max-width: 320px) {
    .header-container {
        position: relative;
        min-height: auto;
        padding: 5px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-container {
        display: flex;
        align-items: center;
        margin: 0;
        max-width: calc(100% - 70px);
        transform: scale(calc(0.7 + (100vw - 150px) / 1000));
        transform-origin: center;
    }
    
    .logo {
        height: 35px;
        width: 35px;
        min-width: 35px;
        margin-right: 8px;
    }
    
    .college-info {
        min-width: 0;
        text-align: left;
    }
    
    .college-name {
        font-size: 0.8rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .college-location {
        font-size: 0.6rem;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-menu-btn {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0;
    }
    
    .theme-toggle {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 240px) {
    .header-container {
        padding: 3px 15px;
    }
    
    .logo-container {
        max-width: calc(100% - 35px);
    }
    
    .theme-toggle {
        position: static;
        margin: 10px auto 5px;
        transform: none;
        width: 32px;
        height: 32px;
    }
    
    nav ul.show {
        padding: 10px;
    }
    
    nav ul.show .theme-toggle {
        display: flex;
        margin: 10px auto;
        background: var(--primary-color);
    }
    
    .header-container > .theme-toggle {
        display: none;
    }
}