/* Base Styles */
:root {
    --primary-color: #1a4b8e;
    --secondary-color: #f9a51a;
    --accent-color: #e53e3e;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #fff;
    --success-color: #28a745;
    --info-color: #17a2b8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 80px;
    margin-right: 20px;
}

.school-info h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.school-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.main-nav ul {
    display: flex;
    list-style: none;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--white);
    font-weight: 500;
}

.main-nav a:hover, .main-nav a.active {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Slider Styles */
.main-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    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-caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 20px;
    max-width: 500px;
    border-radius: 4px;
}

.slide-caption h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
}

.slider-controls button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Highlights Section */
.highlights {
    padding: 50px 0;
    background-color: var(--white);
}

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

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

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

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

/* Welcome Section */
.welcome-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.welcome-content {
    margin-bottom: 30px;
}

.welcome-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.welcome-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.welcome-content p {
    margin-bottom: 15px;
}

.welcome-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Quick Links Section */
.quick-links {
    padding: 50px 0;
    background-color: var(--white);
}

.quick-links h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.quick-links h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.link-card {
    padding: 30px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.link-card:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.link-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 50px 0 0;
}

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

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-column p, .footer-column li {
    margin-bottom: 10px;
    color: var(--text-light);
}

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

.footer-column a {
    color: var(--text-light);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--text-light);
}


/* ------------------------About Page Specific Styles------------------------------------- */
.page-banner {
    background: linear-gradient(rgba(26, 75, 142, 0.8), rgba(26, 75, 142, 0.8)), url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.about-section {
    padding: 60px 0;
    display: flex;
}

.about-content {
    flex: 2;
    padding-right: 40px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.quick-facts {
    flex: 1;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    align-self: flex-start;
}

.quick-facts h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.quick-facts table {
    width: 100%;
    border-collapse: collapse;
}

.quick-facts td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.quick-facts td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.mission-section {
    padding: 40px 0;
    background: var(--light-color);
}

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

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.mission-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .quick-facts {
        margin-top: 30px;
    }
}


/* --------------------Admissions Page Specific Styles--------------------------- */
.admission-welcome {
    padding: 50px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.admission-welcome h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.academic-offerings {
    padding: 50px 0;
}

.academic-offerings h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.offering-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.offering-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.admission-process {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.admission-process h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

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

.documents-list {
    list-style-type: none;
    margin: 15px 0;
}

.documents-list li {
    margin-bottom: 5px;
    padding-left: 25px;
    position: relative;
}

.documents-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.rte-section {
    padding: 50px 0;
    text-align: center;
}

.rte-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.rte-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.rte-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.admission-contact {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.admission-contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.contact-method {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.cta-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
}

.cta-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ---------------------Fee Structure Page Specific Styles--------------------------- */
.fee-intro {
    padding: 50px 0;
    text-align: center;
}

.fee-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.academic-session {
    display: inline-flex;
    align-items: center;
    background: var(--light-color);
    padding: 15px 25px;
    border-radius: 50px;
    margin-top: 30px;
}

.academic-session span {
    font-size: 1.5rem;
    margin-right: 15px;
}

.fee-details {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.fee-details h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.table-container {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.fee-table th, .fee-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.fee-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.fee-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.fee-table tr:hover {
    background-color: #e9e9e9;
}

.table-note {
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    color: var(--text-light);
}

.transport-section {
    padding: 50px 0;
}

.transport-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.transport-details {
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.transport-icon {
    font-size: 3rem;
    margin-right: 30px;
}

.fee-rte {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.fee-rte h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.rte-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.rte-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.fee-notes {
    padding: 50px 0;
}

.fee-notes h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.notes-list {
    max-width: 700px;
    margin: 0 auto;
    list-style-type: none;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.notes-list li {
    padding: 10px 15px 10px 40px;
    position: relative;
    margin-bottom: 10px;
}

.notes-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 15px;
    top: 5px;
}

.fee-contact {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.fee-contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.contact-method {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .transport-details {
        flex-direction: column;
        text-align: center;
    }
    
    .transport-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .fee-table th, .fee-table td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
}

/* ------------------------Facilities Page Specific Styles------------------------------- */
.facilities-intro {
    padding: 50px 0;
    text-align: center;
}

.facilities-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.facilities-grid {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.facility-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.facility-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

.facility-card ul {
    list-style-type: none;
    padding-left: 0;
}

.facility-card li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.facility-card li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 5px;
    top: -3px;
}

.holistic-section {
    padding: 50px 0;
    text-align: center;
}

.holistic-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 30px auto;
}

.activity-item {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
}

.commitment-section {
    padding: 50px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.commitment-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 30px auto;
}

.commitment-item {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.commitment-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.commitment-item h3 {
    color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .facilities-container {
        grid-template-columns: 1fr;
    }
    
    .activities-grid, .commitment-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .activities-grid, .commitment-grid {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------Gallery Page Specific Styles-------------------------------- */
.gallery-intro {
    padding: 50px 0;
    text-align: center;
}

.gallery-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.gallery-categories {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.gallery-categories h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

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

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

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gallery-filter {
    padding: 30px 0;
    background-color: var(--primary-color);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: white;
    color: var(--primary-color);
}

.photo-gallery {
    padding: 50px 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    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 ease;
}

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

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

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

.gallery-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
}

.gallery-organization {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.gallery-organization h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.org-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.org-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

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

/* Lightgallery Overrides */
.lg-outer .lg-img-wrap {
    padding: 60px 0;
}

.lg-outer .lg-sub-html {
    background: rgba(0,0,0,0.7);
    padding: 15px;
    bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .filter-options {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .categories-grid, .organization-grid {
        grid-template-columns: 1fr;
    }
}


/* ------------------------Notifications Page Specific Styles------------------------------------ */
.notices-intro {
    padding: 50px 0;
    text-align: center;
}

.notices-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.drive-link {
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    background: #f1f1f1;
    padding: 12px 25px;
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
}

.drive-link i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #4285F4;
}

.drive-link a {
    color: inherit;
    text-decoration: none;
}

.drive-link:hover {
    background: #e1e1e1;
}

.notice-types {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.notice-types h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

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

.type-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.type-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.type-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.type-card ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.type-card li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.type-card li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 5px;
    top: -3px;
}

.notices-filter {
    padding: 20px 0;
    background-color: var(--primary-color);
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: white;
    color: var(--primary-color);
}

.notices-list {
    padding: 50px 0;
}

.notice-container {
    max-width: 800px;
    margin: 0 auto;
}

.notice-card {
    display: flex;
    margin-bottom: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.notice-date {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.notice-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin: 5px 0;
}

.notice-date .year {
    font-size: 0.8rem;
}

.notice-content {
    padding: 20px;
    flex-grow: 1;
}

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

.notice-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.notice-type {
    font-size: 0.8rem;
    background: #f1f1f1;
    padding: 3px 10px;
    border-radius: 50px;
}

.download-btn {
    font-size: 0.8rem;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.download-btn i {
    margin-right: 5px;
}

.download-btn:hover {
    color: var(--secondary-color);
}

.notice-ticker {
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 10px 0;
    margin-bottom: 50px;
}

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

.ticker-label {
    font-weight: bold;
    margin-right: 15px;
    white-space: nowrap;
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
}

marquee {
    padding: 5px 0;
}

/* Notice Category Colors */
.notice-card.exam .notice-date { background: #e53935; }
.notice-card.admission .notice-date { background: #8e24aa; }
.notice-card.event .notice-date { background: #039be5; }
.notice-card.holiday .notice-date { background: #43a047; }
.notice-card.general .notice-date { background: #fb8c00; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notice-card {
        flex-direction: column;
    }
    
    .notice-date {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    .notice-date .day, 
    .notice-date .month, 
    .notice-date .year {
        display: inline-block;
        font-size: 1rem;
        margin: 0 5px;
    }
    
    .notice-date .day {
        font-size: 1.2rem;
    }
    
    .filter-options {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 5px 12px;
        font-size: 0.8rem;
    }
    
    .notice-ticker .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ticker-label {
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .notice-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .download-btn {
        margin-top: 10px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
}


/* ----------------------------------------Contact Page Specific Styles----------------------------- */
.contact-intro {
    padding: 50px 0;
    text-align: center;
}

.contact-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    padding: 50px 0;
    background-color: #f8f9fa;
}

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

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

address {
    font-style: normal;
    line-height: 1.6;
}

address i {
    margin-right: 8px;
    color: var(--primary-color);
}

.contact-info {
    list-style-type: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    min-width: 20px;
}

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

.contact-info a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link.fb { background: #3b5998; }
.social-link.ig { background: #e4405f; }
.social-link.tw { background: #1da1f2; }
.social-link.wa { background: #25d366; }
.social-link.yt { background: #cd201f; }

.map-section {
    padding: 50px 0;
}

.map-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.contact-form-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.submit-btn i {
    margin-right: 10px;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
}


/* ----------------------------------------Results Page Specific Styles------------------------------ */
.results-intro {
    padding: 50px 0;
    text-align: center;
}

.results-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.results-filter {
    padding: 30px 0;
    background-color: #f8f9fa;
}

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

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.filter-select, .search-box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 40px;
}

#search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#search-btn:hover {
    background: var(--secondary-color);
}

.results-display {
    padding: 50px 0;
}

.no-results {
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.no-results p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.result-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.result-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.print-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.print-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.result-body {
    padding: 20px;
}

.student-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-item {
    margin-bottom: 5px;
}

.info-item strong {
    color: var(--primary-color);
    margin-right: 5px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.result-table th, .result-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.result-table th {
    background-color: #f1f1f1;
    color: var(--primary-color);
}

.result-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.summary-item {
    text-align: center;
}

.summary-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.summary-item p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.result-notes {
    margin-top: 30px;
    padding: 20px;
    background: #fff8e1;
    border-left: 4px solid var(--secondary-color);
}

.result-notes p {
    margin-bottom: 10px;
}

.result-notes a {
    color: var(--primary-color);
}

/* Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    #print-area, #print-area * {
        visibility: visible;
    }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 20px;
    }
    .print-result {
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    .print-header {
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .print-header img {
        height: 80px;
    }
    .print-header h2 {
        margin: 0;
        font-size: 1.5rem;
    }
    .print-footer {
        margin-top: 30px;
        font-size: 0.8rem;
        text-align: center;
        color: #666;
    }
    .no-print {
        display: none !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .filter-container {
        grid-template-columns: 1fr;
    }
    
    .result-table {
        font-size: 0.9rem;
    }
    
    .result-table th, .result-table td {
        padding: 8px 5px;
    }
    
    .print-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .student-info, .result-summary {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ----------------------------------Additional CSSS for result section --------------- */
/* Enhanced Print Styles */
@media print {
    body * {
        visibility: hidden;
    }
    .print-result, .print-result * {
        visibility: visible;
    }
    .print-result {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 20px;
        font-size: 14px;
    }
    .no-print {
        display: none !important;
    }
    
    /* Ensure proper page breaks */
    .result-card {
        page-break-inside: avoid;
    }
    
    /* Print header styling */
    .print-header {
        text-align: center;
        margin-bottom: 20px;
        border-bottom: 2px solid #000;
        padding-bottom: 15px;
    }
    
    .print-header img {
        max-height: 70px;
    }
    
    /* Table styling for print */
    .result-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .result-table th,
    .result-table td {
        border: 1px solid #000;
        padding: 6px;
        text-align: center;
    }
    
    .result-table th {
        background-color: #f0f0f0 !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

/* Print-specific classes */
.print-header {
    display: none;
}

@media print {
    .print-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
    }
}

/* Signature area for print */
.signature-area {
    display: none;
}

@media print {
    .signature-area {
        display: flex;
        justify-content: space-around;
        margin-top: 50px;
    }
    
    .signature {
        border-top: 1px solid #000;
        width: 200px;
        text-align: center;
        padding-top: 5px;
    }
}