


@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll !important;
        background-size: cover !important;
    }

    .page-header {
        background-attachment: scroll !important;
        background-size: cover !important;
    }
}


body {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}


.process-section {
    padding: var(--section-padding);
    background-color: var(--off-white);
}

.process-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.timeline-track {
    position: absolute;
    top: 25px;
    left: calc(12.5% + 25px);
    right: calc(12.5% + 25px);
    height: 2px;
    background: var(--gray-light);
    z-index: 0;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.step-card-body {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 22px 18px;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0,0,0,0.04);
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.step-card-body:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step-card-body h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-card-body p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}


.apply-cta-section {
    padding: 60px 0;
    background-color: var(--off-white);
}

.apply-cta-card {
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    text-align: center;
    color: var(--white);
}

.apply-cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.apply-cta-card p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.apply-cta-card .btn {
    font-size: 1rem;
    padding: 14px 36px;
}

.requirements-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.requirement-card {
    background-color: var(--white);
    padding: 32px 28px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.requirement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.req-icon {
    width: 52px;
    height: 52px;
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent-color);
}

.req-icon svg {
    width: 24px;
    height: 24px;
}

.requirement-card h4 {
    font-family: var(--font-display);
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.requirement-card p {
    color: var(--text-light);
    line-height: 1.65;
    font-size: 0.9rem;
    margin: 0;
}

.age-section {
    padding: var(--section-padding);
    background-color: var(--off-white);
}

.age-table {
    max-width: 900px;
    margin: 40px auto 0;
    overflow-x: auto;
}

.age-table table {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.age-table th,
.age-table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid var(--gray-light);
}

.age-table thead {
    background-color: var(--accent-color);
    color: var(--white);
}

.age-table th {
    font-weight: 600;
}

.age-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
}

.age-table tbody tr:last-child {
    border-bottom: none;
}

.age-table tbody tr:hover {
    background-color: var(--off-white);
}


.tuition-section {
    padding: var(--section-padding);
    background-color: var(--white);
}

.tuition-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
}

.fee-notes {
    max-width: 700px;
    margin: 40px auto 50px;
    padding: 20px 30px;
    background-color: var(--off-white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.fee-notes ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fee-notes li {
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.fee-notes li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
}

.tuition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tuition-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-light);
}

.tuition-header {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.tuition-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.tuition-body {
    padding: 25px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.fee-item:last-of-type {
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px;
}

.fee-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.fee-amount {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.fee-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-top: 5px;
}

.fee-total:not(:last-child) {
    border-bottom: 1px solid var(--gray-light);
}

.total-label {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.total-amount {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}


.reregistration-section {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.reregistration-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.reregistration-table {
    overflow-x: auto;
}

.reregistration-table table {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.reregistration-table th,
.reregistration-table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid var(--gray-light);
}

.reregistration-table thead {
    background-color: var(--accent-color);
    color: var(--white);
}

.reregistration-table th {
    font-weight: 600;
}

.reregistration-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
}

.reregistration-table tbody tr:last-child {
    border-bottom: none;
}

.reregistration-table tbody tr:hover {
    background-color: var(--off-white);
}


.uniform-section {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.uniform-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.uniform-table {
    overflow-x: auto;
}

.uniform-table table {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.uniform-table th,
.uniform-table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid var(--gray-light);
}

.uniform-table thead {
    background-color: var(--accent-color);
    color: var(--white);
}

.uniform-table th {
    font-weight: 600;
}

.uniform-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
}

.uniform-table tbody tr:last-child {
    border-bottom: none;
}

.uniform-table tbody tr:hover {
    background-color: var(--off-white);
}


.contact-section {
    padding: var(--section-padding);
    background-color: var(--off-white);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.contact-item {
    text-align: center;
    padding: 36px 28px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--primary-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-family: var(--font-display);
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item .location-link {
    text-decoration: underline !important;
}

.contact-item .location-link:hover {
    text-decoration: none !important;
}


.page-header {
    background-image: url('/media/default_page_media/admissions.webp');
    background-size: 100%;
    background-position: top; 
    background-attachment: fixed;
    padding: 200px 0;
    text-align: center;
    color: var(--white);
    position: relative;
}


.page-header.zoom-active {
    animation: slowZoomBackground 5s ease-out forwards;
}

@keyframes slowZoomBackground {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 115%;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1024px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tuition-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .timeline-track {
        display: none;
    }

    .process-timeline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        align-items: stretch;
    }

    .timeline-step {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    body {
        background-size: auto 100%;
        background-position: center center;
    }

    .page-header {
        background-size: auto 100%;
        background-position: center center;
        padding: 150px 0;
        animation: none;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .requirements-grid,
    .tuition-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .timeline-step {
        flex: unset;
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }

    .step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .step-card-body {
        text-align: left;
    }

    .age-table,
    .uniform-table,
    .reregistration-table {
        font-size: 0.9rem;
    }

    .age-table th,
    .age-table td,
    .uniform-table th,
    .uniform-table td,
    .reregistration-table th,
    .reregistration-table td {
        padding: 12px 10px;
    }
}
