/* Page-Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        #E74C3C 10px,
        #E74C3C 20px,
        transparent 20px,
        transparent 50px
    );
    opacity: 0.05;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    overflow: hidden;
    z-index: 1;
    position: relative;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Page Content */
.page-content {
    padding: 60px 20px;
    background: white;
}

.page-content h2 {
    color: #003DA5;
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #E74C3C, #003DA5);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* About Page */
.about-grid {
    margin-bottom: 60px;
}

.about-section {
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

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

.stat-box {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 14px;
    opacity: 0.9;
}

/* MVV Section */
.mvv-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.mvv-card {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.mvv-card:hover {
    border-color: #E74C3C;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mvv-card i {
    font-size: 40px;
    color: #003DA5;
    margin-bottom: 15px;
}

.mvv-card h3 {
    color: #003DA5;
    margin-bottom: 15px;
}

.mvv-card p {
    color: #666;
    line-height: 1.6;
}

/* History/Timeline */
.history-section {
    margin: 60px 0;
    padding: 40px;
    background: #F8F9FA;
    border-radius: 10px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

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

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 100%;
    width: 2px;
    height: 30px;
    background: #003DA5;
}

.timeline-date {
    min-width: 120px;
    background: #003DA5;
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    margin-right: 30px;
}

.timeline-content {
    flex: 1;
    padding: 15px 20px;
    background: white;
    border-left: 4px solid #E74C3C;
    border-radius: 5px;
}

.timeline-content h4 {
    color: #003DA5;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-section {
    margin: 60px 0;
}

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

.leader-card {
    background: white;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

.leader-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.leader-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-image i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
}

.leader-card h3 {
    color: #003DA5;
    margin: 20px;
    font-size: 18px;
}

.leader-card p {
    margin: 5px 20px;
    color: #666;
    font-size: 14px;
}

.leader-card .bio {
    padding: 15px 20px;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid #E0E0E0;
}

/* Academics Page */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.subject-card {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.subject-card:hover {
    border-color: #003DA5;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subject-card i {
    font-size: 36px;
    color: #003DA5;
    margin-bottom: 15px;
}

.subject-card h3 {
    color: #003DA5;
    margin-bottom: 10px;
}

.subject-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Programs Section */
.programs-section {
    margin: 40px 0;
    padding: 40px;
    background: #F8F9FA;
    border-radius: 10px;
}

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

.program-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #E74C3C;
}

.program-item h3 {
    color: #003DA5;
    margin-bottom: 10px;
}

.program-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Co-curricular Activities */
.cocurricular-section {
    margin: 60px 0;
}

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

.activity-card {
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(231, 76, 60, 0.05) 100%);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.activity-card:hover {
    border-color: #E74C3C;
    transform: scale(1.05);
}

.activity-card i {
    font-size: 32px;
    color: #003DA5;
    margin-bottom: 15px;
}

.activity-card h3 {
    color: #003DA5;
    margin-bottom: 10px;
    font-size: 16px;
}

.activity-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Facilities */
.facilities-section {
    margin: 60px 0;
}

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

.facility {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.facility:hover {
    border-color: #003DA5;
    box-shadow: 0 8px 20px rgba(0, 61, 165, 0.15);
}

.facility i {
    font-size: 40px;
    color: #E74C3C;
    margin-bottom: 15px;
}

.facility h3 {
    color: #003DA5;
    margin-bottom: 10px;
}

.facility p {
    color: #666;
    font-size: 14px;
}

/* Excellence Section */
.excellence-section {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
    padding: 50px;
    border-radius: 10px;
    margin: 60px 0;
}

.excellence-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.excellence-stat h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #E74C3C;
}

.excellence-stat p {
    font-size: 16px;
    opacity: 0.9;
}

/* Admissions Page */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.requirement-card {
    background: white;
    border: 2px solid #E0E0E0;
    border-left: 4px solid #E74C3C;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.requirement-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.requirement-card i {
    font-size: 28px;
    color: #003DA5;
    margin-bottom: 15px;
}

.requirement-card h3 {
    color: #003DA5;
    margin-bottom: 15px;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card li {
    color: #666;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #E0E0E0;
}

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

/* Timeline for Admissions */
.timeline-section {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
}

.timeline-section .timeline {
    margin: 0;
}

/* Fees Section */
.fees-section {
    background: white;
    padding: 40px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    margin: 40px 0;
}

.fees-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.fee-box {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.fee-box h3 {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.fee-box p {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #E74C3C;
}

.fee-box .subtitle {
    font-size: 12px;
    opacity: 0.8;
    color: white;
}

.note {
    font-size: 12px;
    color: #E74C3C;
    font-style: italic;
}

/* Means of Payment Section */
.payment-section {
    background: white;
    padding: 40px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    margin: 40px 0;
}

.payment-content {
    margin-top: 20px;
}

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

.payment-method {
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.05) 0%, rgba(231, 76, 60, 0.05) 100%);
    border: 2px solid #E0E0E0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #003DA5;
    box-shadow: 0 8px 20px rgba(0, 61, 165, 0.15);
    transform: translateY(-5px);
}

.payment-method i {
    font-size: 40px;
    color: #003DA5;
    margin-bottom: 15px;
}

.payment-method h3 {
    color: #003DA5;
    font-size: 18px;
    margin-bottom: 15px;
}

.payment-method p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.payment-method p:last-child {
    margin-bottom: 0;
}

.payment-method strong {
    color: #E74C3C;
}

/* Admission Form */
.form-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    border: 2px solid #E0E0E0;
}

.admission-form,
.contact-form {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #003DA5;
    font-weight: 600;
    font-size: 14px;
}

.form-group label:has(input[type="checkbox"]) {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input {
    width: auto;
    margin-right: 8px;
}

/* FAQ */
.faq-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
}

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

.faq-item {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #E74C3C;
}

.faq-item h3 {
    color: #003DA5;
    margin-bottom: 12px;
    font-size: 16px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h2 {
    color: white;
    border-bottom: none;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Contact Page */
.contact-info-section {
    margin: 40px 0;
}

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

.info-card {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #003DA5;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 32px;
    color: #E74C3C;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #003DA5;
    margin-bottom: 12px;
}

.info-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Contact Form Section */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.form-container,
.map-container {
    background: white;
    padding: 30px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
}

.form-container h2,
.map-container h2 {
    color: #003DA5;
    margin-bottom: 20px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8EAF6 100%);
    border: 2px dashed #DDDDDD;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
}

.map-placeholder p {
    margin: 5px 0;
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: none;
}

.leaflet-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: none;
    z-index: 1;
}

/* Departments */
.departments-section {
    margin: 60px 0;
}

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

.department-card {
    background: white;
    border: 2px solid #E0E0E0;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.department-card:hover {
    border-color: #E74C3C;
    transform: scale(1.05);
}

.department-card h3 {
    color: #003DA5;
    margin-bottom: 15px;
}

.department-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.department-card strong {
    color: #003DA5;
}

/* Office Hours */
.hours-section {
    background: #F8F9FA;
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
}

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

.hours-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #E74C3C;
    text-align: center;
}

.hours-card h3 {
    color: #003DA5;
    margin-bottom: 10px;
}

.hours-card p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

/* Social Section */
.social-section {
    text-align: center;
    padding: 40px;
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    margin: 40px 0;
}

.social-section h2 {
    color: #003DA5;
}

.social-section p {
    color: #666;
    margin: 15px 0 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-btn.facebook {
    background: #003DA5;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.instagram {
    background: #E74C3C;
}

.social-btn.youtube {
    background: #FF0000;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* Fees Section */
.fees-section {
    margin: 60px 0;
    padding: 40px;
    background: #F8F9FA;
    border-radius: 10px;
}

.fees-section h2 {
    color: #003DA5;
    margin-bottom: 20px;
    text-align: center;
    font-size: 32px;
}

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

.fees-content > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Fee Table Styles */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.fee-table thead {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
}

.fee-table thead tr {
    height: auto;
}

.fee-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #E74C3C;
}

.fee-table tbody tr {
    border-bottom: 1px solid #E0E0E0;
    transition: background 0.2s ease;
}

.fee-table tbody tr:hover {
    background: #F0F8FF;
}

.fee-table tbody tr.header-row {
    background: #E8F1FF;
    font-weight: 600;
    color: #003DA5;
}

.fee-table tbody tr.total-row {
    background: linear-gradient(135deg, #003DA5 0%, #002966 100%);
    color: white;
    font-weight: bold;
}

.fee-table td {
    padding: 14px 12px;
    font-size: 14px;
    color: #333;
}

.fee-table tbody tr.total-row td {
    color: white;
}

.fee-table tbody tr.header-row td {
    color: #003DA5;
}

.fee-table tbody tr:nth-child(even):not(.header-row):not(.total-row) {
    background: #FAFBFC;
}

.note {
    color: #E74C3C;
    font-size: 13px;
    font-style: italic;
    margin-top: 20px;
    padding: 15px;
    background: #FFE8E8;
    border-left: 4px solid #E74C3C;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-content h2 {
        font-size: 24px;
    }

    .subjects-grid,
    .activities-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .map-placeholder {
        height: 250px;
    }

    .google-map {
        height: 250px;
    }

    .leaflet-map {
        height: 250px;
    }

    /* Responsive Fee Table */
    .fee-table {
        font-size: 12px;
    }

    .fee-table th,
    .fee-table td {
        padding: 10px 8px;
        font-size: 11px;
    }

    .fee-table th {
        font-size: 11px;
    }

    .note {
        font-size: 12px;
        padding: 10px;
    }

    .fees-section {
        padding: 20px;
    }

    .fees-section h2 {
        font-size: 22px;
    }

    /* Responsive Payment Section */
    .payment-section {
        padding: 20px;
    }

    .payment-section h2 {
        font-size: 22px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .payment-method {
        padding: 20px;
    }

    .payment-method i {
        font-size: 32px;
    }

    .payment-method h3 {
        font-size: 16px;
    }

    .payment-method p {
        font-size: 13px;
    }
}
