/* Common styles for About Us pages (Definition of Learning, Vision & Mission, Policies, etc.) */

/* Uses shared variables from common.css and the global font stack from layout */

/* Hero Section */
.dl-hero {
    background: linear-gradient(rgba(26, 102, 166, 0.88), rgba(26, 102, 166, 0.92)),
        url('https://images.unsplash.com/photo-1580582932707-520aed937b7b?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 3rem 0;
    text-align: center;
}

.dl-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.dl-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 760px;
    margin: 0 auto 0.75rem;
    line-height: 1.7;
}

.dl-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.dl-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dl-hero__breadcrumb a:hover {
    color: #fff;
}

.dl-hero__breadcrumb .active {
    color: #fff;
}

.dl-hero__home-icon {
    font-size: 0.85rem;
}

/* Page Layout */
.dl-page {
    background: #fff;
}

.dl-page__container {
    max-width: 1140px;
}

.dl-page__main img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.75rem;
}

.dl-page__main h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dl-blue);
    margin-bottom: 1rem;
}

.dl-page__main h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dl-blue);
    /* margin: 1.5rem 0 0.75rem; */
}

.dl-page__main p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dl-text);
    margin-bottom: 1rem;
}

.dl-page__main a.cis-link,
.dl-page__main strong a {
    color: var(--dl-maroon);
    font-weight: 700;
    text-decoration: none;
}

/* Sidebar Navigation */
.dl-sidebar-nav {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.dl-sidebar-nav li {
    border-bottom: 1px solid var(--dl-border);
}

.dl-sidebar-nav li:first-child {
    border-top: 1px solid var(--dl-border);
}

.dl-sidebar-nav a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dl-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dl-sidebar-nav a:hover {
    color: var(--dl-blue-dark);
}

.dl-sidebar-nav a.is-active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Enquiry Form Sidebar */
.dl-enquiry {
    background: var(--dl-blue);
    border-radius: 8px;
    padding: 1.5rem 1.25rem 1.75rem;
    position: sticky;
    top: 90px;
}

.dl-enquiry__title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin: 0 0 1.25rem;
}

.dl-enquiry__field {
    margin-bottom: 0.75rem;
}

.dl-enquiry__field input,
.dl-enquiry__field select {
    width: 100%;
    height: 43px;
    padding: 0 14px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dl-enquiry__field input::placeholder {
    color: rgba(0, 0, 0, 0.45);
}

.dl-enquiry__field input:focus,
.dl-enquiry__field select:focus {
    border-color: var(--dl-blue);
    box-shadow: 0 0 0 2px rgba(26, 102, 166, 0.15);
}

.dl-enquiry__phone {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 4px;
    height: 43px;
}

.dl-enquiry__phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 10px;
    height: 100%;
    border-right: 1px solid #ececec;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.dl-enquiry__phone-prefix img {
    width: 20px;
    height: auto;
}

.dl-enquiry__phone input {
    flex: 1;
    border: none;
    height: 100%;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.dl-enquiry__submit {
    margin-top: 0.5rem;
}

.dl-enquiry__submit button {
    min-width: 120px;
    height: 41px;
    padding: 0 20px;
    border: none;
    border-radius: 4px;
    background: var(--dl-blue-dark);
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dl-enquiry__submit button:hover {
    background: #0f4d7a;
}

/* Location Section */
.dl-location {
    text-align: center;
    background: #fff;
}

.dl-location p {
    font-size: 0.95rem;
    color: var(--dl-text);
    margin: 0;
    line-height: 1.6;
}

.dl-location a {
    color: var(--dl-blue);
    text-decoration: none;
}

.dl-location a:hover {
    text-decoration: underline;
}

/* Admission Tab (Fixed) */
.dl-admission-tab {
    position: fixed;
    right: 0;
    top: 37%;
    z-index: 1020;
    transform: rotate(-90deg) translateY(75px);
    transform-origin: right center;
}

.dl-admission-tab a {
    display: block;
    padding: 0.65rem 1.25rem;
    background: var(--dl-yellow);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.dl-admission-tab a:hover {
    background: #e5a820;
    color: #1a1a1a;
}

/* Vision & Mission Specific Styles */
.vm-card {
    display: flex;
    background: #f8f9fa;
    border-radius: 50px 15px 15px 50px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.vm-card__image {
    flex: 0 0 300px;
    height: 180px;
}

.vm-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px 0 0 50px;
}

.vm-card__content {
    flex: 1;
    padding: 1.5rem 2rem;
}

.vm-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dl-blue);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.vm-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dl-text);
    margin: 0;
}

.strategic-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.strategic-graphic img {
    max-width: 100%;
    height: auto;
}

.strategic-content h3 {
    color: var(--dl-blue);
    margin-bottom: 1.5rem;
}

.strategic-list h4 {
    font-size: 1.1rem;
    color: var(--dl-blue);
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Policies Specific Styles */
.policies-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policies-table th {
    background-color: #f8f9fa;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    border-bottom: 2px solid #ddd;
}

.policies-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 0.95rem;
}

.policies-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

.policies-table .doc-btn {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid #a90707;
    color: #a90707;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.policies-table .doc-btn:hover {
    background-color: #a90707;
    color: #fff;
}

/* Parents Page */
.parents-page {
    background: #ececec;
    padding-bottom: 3rem;
}

.parents-page__container {
    max-width: 1320px;
}

.parents-page__intro {
    max-width: 1080px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.parents-page__intro h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.parents-page__intro p {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.parents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.parents-card {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(260px, 1fr);
    background: #fff;
    border-radius: 2.75rem;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
}

.parents-card--feature {
    grid-column: 1 / 2;
}

.parents-card__media {
    min-height: 100%;
}

.parents-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parents-card__body {
    padding: 2rem 2rem 1.8rem;
}

.parents-card__body h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--dl-blue);
}

.parents-card__body p {
    margin-bottom: 1rem;
    color: var(--dl-text);
    line-height: 1.75;
}

.parents-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    padding: 0.8rem 1.2rem;
    border-radius: 0.45rem;
    background: var(--dl-blue);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.parents-card__button:hover {
    background: var(--dl-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Media Queries */
@media (max-width: 991.98px) {
    .dl-enquiry {
        position: static;
        margin-top: 0.5rem;
    }

    .dl-admission-tab a {
        font-size: 10px;
        padding: 0.5rem 0.85rem;
    }

    .vm-card {
        flex-direction: column;
        border-radius: 15px;
    }

    .vm-card__image {
        flex: 0 0 auto;
        height: 200px;
    }

    .vm-card__image img {
        border-radius: 15px 15px 0 0;
    }

    .parents-grid {
        grid-template-columns: 1fr;
    }

    .parents-card,
    .parents-card--feature {
        grid-column: auto;
        grid-template-columns: 1fr;
        border-radius: 2rem;
    }

    .parents-card__media {
        min-height: 260px;
    }
}

@media (max-width: 767.98px) {
    .dl-hero {
        padding: 2rem 0;
    }

    .parents-page__intro {
        margin-bottom: 1.75rem;
    }

    .parents-card__body {
        padding: 1.5rem 1.35rem;
    }
}