/* Page Hero Section */
.page-hero {
    height: 350px;
    background: linear-gradient(135deg, #1a5d3a 0%, #14472d 100%),
                url('/images/supportimages\ \(5\).jpeg') center/cover;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
    margin-top: 0;
}

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

.page-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Page Styles */
.about-intro,
.admission-intro,
.curriculum-intro,
.contact-intro,
.gallery-section,
.yearbook {
    padding: 3rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.intro-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Mission Vision Values */
.mission-vision {
    padding: 4rem 0;
}

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

.mvv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 4px solid #7cb342;
    transition: all 0.3s ease;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.mvv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mvv-card h3 {
    color: #1a5d3a;
    margin-bottom: 1.5rem;
}

.mvv-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

.values-list {
    list-style: none;
    text-align: left;
}

.values-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.values-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7cb342;
    font-weight: bold;
}

/* Achievements */
.achievements {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

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

.achievement-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.achievement-number {
    font-size: 2.5rem;
    color: #7cb342;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: #1a5d3a;
    font-weight: 600;
}

/* Leadership Section */
.leadership {
    padding: 4rem 0;
}

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

.leadership-card {
    text-align: center;
    transition: all 0.3s ease;
}

.leadership-image {
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    height: 300px;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.leadership-card h3 {
    color: #1a5d3a;
    margin-bottom: 0.5rem;
}

.position {
    color: #7cb342;
    font-weight: 600;
    margin-bottom: 1rem !important;
}

.bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Facilities */
.facilities {
    padding: 4rem 0;
}

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

.facility-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.facility-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.facility-card h3 {
    color: #1a5d3a;
}

.facility-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Academics Page */
.curriculum-intro {
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.programs-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-detail {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #7cb342;
}

.program-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.program-detail h3 {
    color: #1a5d3a;
}

.program-detail p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    text-align: left;
    color: #666;
    font-size: 0.9rem;
}

.features-list li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li:before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #7cb342;
    font-weight: bold;
}

/* Teaching Methods */
.teaching-methods {
    padding: 4rem 0;
}

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

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-8px);
    background: #f0f7f3;
}

.method-card h3 {
    color: #1a5d3a;
}

.method-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Co-curricular */
.cocurricular {
    padding: 4rem 0;
}

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

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.activity-card h3 {
    color: #1a5d3a;
    margin-bottom: 1rem;
}

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

.activity-card li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.activity-card li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #7cb342;
    font-weight: bold;
}

/* Admissions */
.admission-process {
    padding: 4rem 0;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.step {
    background: white;
    border: 2px solid #7cb342;
    border-radius: 12px;
    padding: 2rem;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    box-shadow: 0 8px 20px rgba(124, 179, 66, 0.25);
    transform: translateY(-5px);
}

.step-number {
    background: #7cb342;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1a5d3a;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

.step-arrow {
    font-size: 1.5rem;
    color: #7cb342;
    font-weight: bold;
}

/* Required Documents */
.required-documents {
    padding: 4rem 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.document-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.doc-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.document-card h3 {
    color: #1a5d3a;
}

.document-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Tuition & Fees */
.tuition-fees {
    padding: 4rem 0;
}

.fees-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

th {
    background-color: #1a5d3a;
    color: white;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    color: #555;
}

tr:hover {
    background-color: #f9f9f9;
}

.total-row {
    background-color: #f0f7f3;
}

.total-row td {
    border-bottom: 2px solid #7cb342;
    color: #1a5d3a;
}

.fees-note h4 {
    color: #1a5d3a;
    margin-bottom: 1rem;
}

.fees-note ul {
    list-style: none;
}

.fees-note li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.fees-note li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7cb342;
    font-weight: bold;
}

/* Scholarships */
.scholarships {
    padding: 4rem 0;
}

.scholarship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.scholarship-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #7cb342;
    transition: all 0.3s ease;
}

.scholarship-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.scholarship-card h3 {
    color: #1a5d3a;
}

.scholarship-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Important Dates */
.important-dates {
    padding: 4rem 0;
}

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

.date-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #7cb342;
}

.date-item h4 {
    color: #1a5d3a;
    margin-bottom: 0.5rem;
}

.date-item p {
    color: #7cb342;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact CTA */
.contact-cta {
    padding: 3rem 0;
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 93, 58, 0.9), transparent);
    padding: 2rem 1rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    margin: 0;
    font-weight: 600;
}

/* Photo Categories */
.photo-categories {
    padding: 4rem 0;
}

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

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

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

.category-card h3 {
    color: #1a5d3a;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Yearbook */
.yearbook {
    text-align: center;
    padding: 3rem 0;
}

.yearbook-content {
    max-width: 600px;
    margin: 0 auto;
}

.yearbook-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Contact Page */
.contact-main {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-section {
    margin-bottom: 2rem;
}

.info-section h3 {
    color: #1a5d3a;
    margin-bottom: 0.5rem;
}

.info-section p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: #1a5d3a;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7cb342;
    box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Departments */
.departments {
    padding: 4rem 0;
}

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

.department-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #7cb342;
}

.department-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.department-card h3 {
    color: #1a5d3a;
}

.department-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ */
.faq {
    padding: 4rem 0;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #7cb342;
}

.faq-item h4 {
    color: #1a5d3a;
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .intro-content,
    .contact-grid,
    .fees-content {
        grid-template-columns: 1fr;
    }

    .intro-image img {
        height: 300px;
    }

    .page-hero {
        height: 250px;
    }

    .page-hero-content h1 {
        font-size: 1.8rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .mvv-grid,
    .programs-detail-grid,
    .methods-grid,
    .activities-grid,
    .documents-grid,
    .scholarship-grid,
    .dates-grid,
    .departments-grid,
    .faq-grid,
    .gallery-grid,
    .categories-grid,
    .leadership-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 200px;
    }

    .page-hero-content h1 {
        font-size: 1.3rem;
    }

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

    .step {
        width: 90%;
        max-width: 100%;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.75rem;
    }
}
