/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.top-bar {
    background: #1e3a8a;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info i {
    font-size: 14px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Top Header Bar */
.top-header {
    background: #2c3e50;
    padding: 8px 0;
    border-bottom: 1px solid #34495e;
}

.top-header .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
}

.top-header .contact-item i {
    color: #3498db;
    width: 16px;
}

.top-header .social-icons {
    display: flex;
    gap: 15px;
}

.top-header .social-icons a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.top-header .social-icons a:hover {
    color: #3498db;
}

/* Main Header Section */
.main-header {
    background: #1e3c72;
    padding: 20px 0;
    border-bottom: 1px solid #2c3e50;
}

.school-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.school-established {
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
}

.school-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.school-address {
    font-size: 1rem;
    color: white;
}

/* Notice Bar */
.notice-bar {
    background: #667eea;
    color: white;
    padding: 10px 0;
}

.notice-label {
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

.notice-scroll {
    overflow: hidden;
}

.notice-text {
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    font-size: 0.95rem;
}

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

/* Bootstrap Navbar Styles */
.navbar-dark {
    background: #1e3c72 !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 12px 18px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #3498db !important;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.navbar-dark .dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 5px;
}

.navbar-dark .dropdown-item {
    color: #495057;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.navbar-dark .dropdown-item:hover {
    background: #667eea;
    color: white;
}

.navbar-dark .navbar-toggler {
    border-color: white;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Modern Navbar Styles */
.navbar {
    padding: 15px 0;
    background: #fff;
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.logo-text h1 {
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 5px;
    font-weight: 700;
}

.logo-text p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px;
    margin: 0 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.1);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #1e3a8a;
    border-radius: 2px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    margin: 0;
    position: relative;
}

.dropdown-menu li a:hover {
    background: rgba(30, 58, 138, 0.1);
    color: #1e3a8a;
    transform: translateX(5px);
}

.dropdown-menu li a.active {
    background: rgba(30, 58, 138, 0.15);
    color: #1e3a8a;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(30, 58, 138, 0.1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    display: block;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Content Styles */
.page-content {
    padding: 80px 0;
}

.dynamic-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.dynamic-content h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.dynamic-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.dynamic-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.dynamic-content li {
    margin-bottom: 10px;
}

/* Syllabus Page Specific Styles */
.syllabus-overview {
    padding: 80px 0;
}

.syllabus-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.syllabus-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 40px;
}

.syllabus-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.highlight-item i {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.highlight-item h4 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Syllabus Tabs */
.syllabus-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: #f3f4f6;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #6b7280;
}

.tab-btn:hover,
.tab-btn.active {
    background: #1e3a8a;
    color: #fff;
}

.syllabus-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.syllabus-panel {
    display: none;
    padding: 40px;
}

.syllabus-panel.active {
    display: block;
}

.syllabus-panel h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.subject-syllabus h4 {
    color: #1e3a8a;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
}

.syllabus-topics h5 {
    color: #374151;
    font-size: 1.1rem;
    margin: 20px 0 10px;
    font-weight: 600;
}

.syllabus-topics ul {
    list-style: none;
    padding-left: 0;
}

.syllabus-topics li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.syllabus-topics li::before {
    content: '•';
    color: #1e3a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Assessment Structure */
.assessment-structure {
    padding: 80px 0;
    background: #f8fafc;
}

.assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.assessment-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.assessment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.assessment-icon i {
    font-size: 2rem;
    color: #fff;
}

.assessment-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.assessment-card ul {
    list-style: none;
    text-align: left;
}

.assessment-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.assessment-card li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Learning Resources */
.learning-resources {
    padding: 80px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.resource-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.resource-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.resource-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.resource-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.resource-card ul {
    list-style: none;
}

.resource-card li {
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.resource-card li::before {
    content: '→';
    color: #1e3a8a;
    position: absolute;
    left: 0;
}

/* Faculty Page Specific Styles */
.faculty-overview {
    padding: 80px 0;
}

.faculty-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.faculty-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

/* Faculty Statistics */
.faculty-stats {
    padding: 60px 0;
    background: #f8fafc;
}

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

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

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.stat-card h3 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-card p {
    color: #6b7280;
    font-weight: 500;
}

/* Faculty Categories */
.faculty-categories {
    padding: 80px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.category-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-card ul {
    list-style: none;
}

.category-card li {
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.category-card li::before {
    content: '•';
    color: #1e3a8a;
    position: absolute;
    left: 0;
}

/* Faculty Members */
.faculty-members {
    padding: 80px 0;
    background: #f8fafc;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.faculty-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.faculty-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faculty-placeholder i {
    font-size: 3rem;
    color: #fff;
}

.faculty-info {
    padding: 25px;
}

.faculty-info h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.faculty-info .designation {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 15px;
}

.faculty-info p {
    color: #6b7280;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.faculty-contact {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: #1e3a8a;
    color: #fff;
}

.no-faculty {
    text-align: center;
    padding: 60px 20px;
}

.no-data-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-faculty h3 {
    color: #374151;
    margin-bottom: 10px;
}

.no-faculty p {
    color: #6b7280;
}

/* Faculty Highlights */
.faculty-highlights {
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.highlight-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.highlight-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.highlight-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .logo-text h1 {
        font-size: 22px;
    }
    
    .logo-text p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        gap: 0;
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 15px 0;
        width: 100%;
        border-radius: 0;
        margin: 0;
        justify-content: space-between;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        margin: 10px 0 0 20px;
        border-radius: 8px;
        min-width: auto;
        display: none;
        border: none;
        padding: 10px 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
        border-radius: 0;
        margin: 0;
    }
    
    .dropdown-menu li a:hover {
        transform: none;
        background: rgba(30, 58, 138, 0.1);
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text p {
        font-size: 12px;
    }
    
    .logo-img {
        width: 50px;
        height: 50px;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .contact-info span {
        gap: 3px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .syllabus-highlights {
        grid-template-columns: 1fr;
    }
    
    .assessment-grid,
    .resources-grid,
    .category-grid,
    .faculty-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .syllabus-panel {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Additional responsive improvements */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .top-bar {
        padding: 5px 0;
    }
    
    .contact-info {
        gap: 10px;
        font-size: 11px;
    }
    
    .contact-info span {
        gap: 2px;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-links a {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .nav-menu {
        padding: 15px;
    }
    
    .nav-menu a {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .dropdown-menu {
        margin-left: 15px;
    }
    
    .dropdown-menu li a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .faculty-info,
    .assessment-card,
    .resource-card,
    .category-card,
    .highlight-card {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .faculty-contact {
        flex-direction: column;
    }
    
    .contact-link {
        justify-content: center;
    }
    
    /* Additional mobile improvements */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section {
        text-align: center;
        padding: 0 10px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #1e3a8a;
    color: #fff;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #1e3a8a;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.prev-btn,
.next-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn {
    transform: rotate(180deg);
}

.next-btn {
    transform: rotate(0deg);
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

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

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Quick Links */
.quick-links {
    padding: 60px 0;
    background: #f8fafc;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quick-link-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.quick-link-card i {
    font-size: 3rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.quick-link-card h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.quick-link-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* School Profile */
.school-profile {
    padding: 60px 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.profile-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.profile-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.profile-icon i {
    font-size: 2rem;
    color: #fff;
}

.profile-card h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.profile-card ul {
    list-style: none;
}

.profile-card ul li {
    padding: 8px 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.profile-card ul li:last-child {
    border-bottom: none;
}

/* Academic Info */
.academic-info {
    padding: 60px 0;
    background: #f8fafc;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.academic-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.academic-card h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 15px;
}

/* Branch List */
.branch-list {
    margin-top: 30px;
}

.branch-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.branch-item:last-child {
    margin-bottom: 0;
}

.branch-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.branch-status {
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Schedule Info */
.schedule-info p,
.academic-info p {
    color: #6b7280;
    margin-bottom: 15px;
}

/* Management Contact */
.management-contact {
    padding: 60px 0;
}

.management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.management-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.management-card h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 15px;
}

.principal-info p,
.management-info p {
    color: #6b7280;
    margin-bottom: 10px;
}

/* Latest Notices */
.latest-notices {
    padding: 60px 0;
    background: #f8fafc;
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.notice-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.notice-item:hover {
    transform: translateY(-5px);
}

.notice-date {
    display: inline-block;
    background: #1e3a8a;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}

.notice-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.notice-date .month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.notice-content h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 10px;
}

.notice-content p {
    color: #6b7280;
    margin-bottom: 15px;
}

.read-more {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1e40af;
}

.view-all-notices {
    text-align: center;
    margin-top: 40px;
}

/* Footer styles are now handled in footer.php for consistency across all pages */

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 1s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 1s ease-out;
}

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: #1e3a8a;
}

.text-secondary {
    color: #6b7280;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
} 

/* Academic Calendar Styles */
.academic-calendar {
    padding: 80px 0;
    background: #f8fafc;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.calendar-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.calendar-item:hover {
    transform: translateY(-5px);
}

.calendar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.calendar-header i {
    font-size: 1.5rem;
    color: #1e3a8a;
}

.calendar-header h4 {
    color: #1e3a8a;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.calendar-item ul {
    list-style: none;
}

.calendar-item li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
        padding-left: 20px;
    }
    
.calendar-item li::before {
    content: '•';
    color: #1e3a8a;
    position: absolute;
    left: 0;
}

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

/* Exam Schedule Timeline */
.exam-schedule {
    padding: 80px 0;
}

.exam-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.exam-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1e3a8a, #3b82f6);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 100px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 30px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-date::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid #3b82f6;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.timeline-date .month {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.timeline-date .day {
    font-size: 1.5rem;
    font-weight: 700;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-grow: 1;
    position: relative;
}

.timeline-content h4 {
    color: #1e3a8a;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Study Tips Styles */
.study-tips {
    padding: 80px 0;
    background: #f8fafc;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tip-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.tip-card h3 {
    color: #1e3a8a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-card p {
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tip-card ul {
    list-style: none;
}

.tip-card li {
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 20px;
}

.tip-card li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Enhanced Syllabus Panel Styles */
.syllabus-panel {
    display: none;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.syllabus-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.syllabus-panel h3 {
    color: #1e3a8a;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.syllabus-panel h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 2px;
}

.subject-syllabus h4 {
    color: #1e3a8a;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    position: relative;
}

.subject-syllabus h4::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #1e3a8a;
}

.syllabus-topics h5 {
    color: #374151;
    font-size: 1.1rem;
    margin: 20px 0 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.syllabus-topics h5::before {
    content: '📚';
    font-size: 1rem;
}

.syllabus-topics ul {
    list-style: none;
    padding-left: 0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.syllabus-topics li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.syllabus-topics li:hover {
    background: #f1f5f9;
    border-radius: 4px;
    padding-left: 30px;
}

.syllabus-topics li::before {
    content: '→';
    color: #1e3a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.syllabus-topics li:hover::before {
    transform: translateX(5px);
}

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

/* Enhanced Tab Styles */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.tab-btn {
    padding: 15px 30px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #6b7280;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    transition: left 0.3s ease;
    z-index: -1;
}

.tab-btn:hover::before,
.tab-btn.active::before {
    left: 0;
}

.tab-btn:hover,
.tab-btn.active {
    color: #fff;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .exam-timeline::before {
        left: 30px;
    }
    
    .timeline-date {
        width: 80px;
        height: 60px;
        margin-right: 20px;
    }
    
    .timeline-date .day {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .calendar-item,
    .tip-card {
        padding: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .exam-timeline::before {
        display: none;
    }
    
    .syllabus-panel {
        padding: 20px;
    }
    
    .syllabus-topics ul {
        padding: 10px;
    }
} 