/* ===============================
   ADMISSION PAGE – BASE STYLES
   =============================== */

.admission-wrapper {
    background: #ffffff;
    padding: 40px 20px;
}

/* Two-column layout (desktop) */
.admission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Inner cards */
.admission-card {
    background: #fdeac6;
    padding: 25px;
    border-radius: 6px;
    box-sizing: border-box;
}

/* Titles */
.admission-title {
    color: #0072bc;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Admission poster */
.admission-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
}

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 16px;
    color: #000;
}

.contact-item strong {
    font-weight: 600;
}

/* Year heading */
.admission-year {
    margin: 40px 0 20px;
    font-size: 28px;
    color: #0072bc;
    font-weight: 700;
    text-align: center;
    white-space: nowrap; /* prevent breaking */
}

/* CTA button */
.cta-center {
    text-align: center;
    margin-bottom: 40px;
}

.cta-button {
    background: #0072bc;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
}

.cta-button:hover {
    background: #025a91;
    color: #ffffff;
}

/* Map */
.map-section iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 6px;
}

/* ===============================
   ADMISSION TABS / SECTIONS
   =============================== */

.admission-tabs {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.admission-tab {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.admission-tab-title {
    background: #eaf4ff;
    color: #0072bc;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 18px;
    cursor: pointer;
}

.admission-tab-content {
    padding: 18px;
    display: none;
    font-size: 16px;
    color: #000;
    line-height: 1.6;
}

.admission-tab.active .admission-tab-content {
    display: block;
}

/* Tables inside tabs */
.admission-tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admission-tab-content th,
.admission-tab-content td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.admission-tab-content th {
    background: #0072bc;
    color: #fff;
}


.admission-ad-wrapper {
    margin: 25px 0;
    text-align: center;
}

.admission-ad-image {
    width: 100%;
    max-width: 900px;   /* keeps it elegant on desktop */
    height: auto;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

/* ===============================
   MOBILE RESPONSIVE FIXES
   =============================== */

@media (max-width: 768px) {

    /* Reset outer spacing */
    .admission-wrapper {
        padding: 20px 0;
        background: #f4f6f8;
    }

    /* Remove grid math completely */
    .admission-grid {
        display: block;
        padding: 0 14px;
        max-width: 100%;
    }

    /* Force cards to fit perfectly */
    .admission-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px auto;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    /* Title sizing */
    .admission-title {
        font-size: 22px;
        text-align: left;
    }

    /* Year text scaling */
    .admission-year {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    /* CTA button scaling */
    .cta-button {
        font-size: 22px;
        padding: 12px 26px;
        width: auto;
    }

    /* Contact items spacing */
    .contact-item {
        font-size: 15px;
    }

    /* Map */
    .map-section iframe {
        height: 350px;
        border-radius: 0;
    }
	
	.admission-tabs {
        padding: 0 14px;
    }
	
	.admission-tab-title {
        font-size: 18px;
    }
}

/* ===============================
   SMALL DEVICES (VERY NARROW)
   =============================== */

@media (max-width: 400px) {

    .admission-title {
        font-size: 20px;
    }

    .admission-year {
        font-size: 20px;
    }

    .cta-button {
        font-size: 20px;
        padding: 10px 22px;
    }
}




