/* ==========================================================================
   ATPL Page — Oman Aviation Academy
   Aligned with site branding: #1782c5, Titillium Web / Roboto
   ========================================================================== */

/* ── Hero ── */
.atpl-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.atpl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.atpl-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.atpl-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(23, 130, 197, 0.88) 0%, rgba(20, 33, 43, 0.85) 100%);
    z-index: 2;
}

.atpl-hero .container {
    position: relative;
    z-index: 3;
}

.atpl-hero__content {
    padding: 120px 0;
    max-width: 640px;
}

.atpl-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.atpl-hero__breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.atpl-hero__breadcrumb a:hover { opacity: 0.7; color: #fff; }

.atpl-hero__breadcrumb i.fa-chevron-right {
    font-size: 0.7rem;
    opacity: 0.6;
}

.atpl-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-family: 'Titillium Web', sans-serif;
    color: #fff;
}

.atpl-hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 520px;
}

/* ── Programs Section ── */
.atpl-programs {
    background: #F6F6F6;
}

.atpl-programs .site-heading {
    margin-bottom: 50px;
}

.atpl-intro {
    color: #757F95;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 12px auto 0;
}

/* Program Cards (side-by-side) */
.atpl-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.atpl-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.atpl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(23, 130, 197, 0.12);
}

.atpl-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.atpl-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.atpl-card:hover .atpl-card__img img {
    transform: scale(1.05);
}

.atpl-card__img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: #fff;
    padding: 20px;
}

.atpl-card__img-overlay h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
    color: #fff;
}

.atpl-card__img-overlay p {
    margin: 4px 0 0;
    opacity: 0.85;
    font-size: 0.85rem;
}

.atpl-card__highlights {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.atpl-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.atpl-highlight i {
    font-size: 1.15rem;
    color: #1782c5;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.atpl-highlight__label {
    font-size: 0.78rem;
    color: #757F95;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.atpl-highlight__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #182333;
    margin-left: auto;
    font-family: 'Titillium Web', sans-serif;
}

/* ── Training Structure ── */
.atpl-structure {
    margin-bottom: 50px;
}

.atpl-structure .site-heading {
    margin-bottom: 30px;
}

.atpl-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.atpl-phase {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.atpl-phase:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(23, 130, 197, 0.1);
}

.atpl-phase__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #1782c5;
    color: #fff;
}

.atpl-phase__icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #fff;
}

.atpl-phase__header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-phase__duration {
    font-size: 0.82rem;
    opacity: 0.85;
    color: #fff;
    display: block;
    margin-top: 2px;
}

.atpl-phase__body {
    padding: 24px;
}

.atpl-phase__progress {
    margin-bottom: 20px;
}

.atpl-phase__bar {
    height: 6px;
    background: #F6F6F6;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}

.atpl-phase__bar > div {
    height: 100%;
    background: linear-gradient(90deg, #1782c5, #1470a9);
    border-radius: 3px;
}

.atpl-phase__progress > span {
    font-size: 0.8rem;
    color: #757F95;
}

.atpl-phase__details {
    display: grid;
    gap: 20px;
}

.atpl-phase__group h5 {
    color: #1782c5;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-phase__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atpl-phase__group li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: #757F95;
}

.atpl-phase__group li i {
    color: #1782c5;
    font-size: 0.78rem;
    flex-shrink: 0;
}

/* ── Inclusions ── */
.atpl-inclusions {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.atpl-inclusions > h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #182333;
    margin-bottom: 20px;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-inclusions > h3 i {
    color: #1782c5;
    margin-right: 8px;
}

.atpl-inclusions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.atpl-inclusion {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #F6F6F6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.atpl-inclusion:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(23, 130, 197, 0.1);
}

.atpl-inclusion i {
    color: #1782c5;
    font-size: 1rem;
    flex-shrink: 0;
}

.atpl-inclusion span {
    font-size: 0.9rem;
    color: #182333;
}

/* ── Key Differences (Dark Section) ── */
.atpl-differences {
    padding: 100px 0;
    background: linear-gradient(135deg, #182333 0%, #1a2a3a 100%);
    color: #fff;
}

.atpl-differences .site-heading {
    margin-bottom: 50px;
}

.atpl-diff-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 12px auto 0;
}

.atpl-diff-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.atpl-diff {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px;
    text-align: center;
    transition: all 0.35s ease;
}

.atpl-diff:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.atpl-diff__icon {
    width: 60px;
    height: 60px;
    background: #1782c5;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.atpl-diff:hover .atpl-diff__icon {
    transform: scale(1.08);
}

.atpl-diff h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-diff__compare {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atpl-diff__item {
    padding: 12px 14px;
    border-radius: 8px;
    text-align: left;
}

.atpl-diff__item--caa {
    background: rgba(23, 130, 197, 0.15);
    border-left: 3px solid #1782c5;
}

.atpl-diff__item--easa {
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.atpl-diff__item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
}

.atpl-diff__item p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* ── Which Program (Choose) ── */
.atpl-choose {
    background: #F6F6F6;
}

.atpl-choose .site-heading {
    margin-bottom: 50px;
}

.atpl-choice {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
}

.atpl-choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(23, 130, 197, 0.1);
}

.atpl-choice--caa { border-left: 4px solid #1782c5; }
.atpl-choice--easa { border-left: 4px solid #182333; }

.atpl-choice__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.atpl-choice__header i {
    color: #1782c5;
    font-size: 1.5rem;
}

.atpl-choice__header h4 {
    color: #182333;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-choice__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atpl-choice__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding-left 0.3s ease;
}

.atpl-choice__list li:hover { padding-left: 6px; }
.atpl-choice__list li:last-child { border-bottom: none; }

.atpl-choice__list li i {
    color: #1782c5;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.atpl-choice__list li span {
    color: #182333;
    font-size: 0.93rem;
}

/* ── Eligibility (Dark Section) ── */
.atpl-eligibility {
    padding: 100px 0;
    background: linear-gradient(135deg, #182333 0%, #1a2a3a 100%);
    color: #fff;
}

.atpl-eligibility .site-heading {
    margin-bottom: 50px;
}

.atpl-elig-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 400px;
    margin: 12px auto 0;
}

.atpl-criteria {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    transition: all 0.35s ease;
}

.atpl-criteria:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
}

.atpl-criteria__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1782c5;
}

.atpl-criteria__header i {
    color: #1782c5;
    font-size: 1.4rem;
}

.atpl-criteria__header h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-criteria__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atpl-criteria__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding-left 0.3s ease;
}

.atpl-criteria__list li:hover { padding-left: 6px; }
.atpl-criteria__list li:last-child { border-bottom: none; }

.atpl-criteria__list li i {
    color: #1782c5;
    font-size: 1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.atpl-criteria__list li span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.93rem;
}

/* ── Overview Cards ── */
.atpl-overview {
    background: #fff;
}

.atpl-overview .site-heading {
    margin-bottom: 50px;
}

.atpl-overview-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.35s ease;
}

.atpl-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(23, 130, 197, 0.1);
}

.atpl-overview-card__header {
    padding: 24px;
    background: #1782c5;
    color: #fff;
    text-align: center;
}

.atpl-overview-card__header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Titillium Web', sans-serif;
    color: #fff;
}

.atpl-overview-card__header p {
    margin: 4px 0 0;
    opacity: 0.9;
    font-size: 0.88rem;
}

.atpl-overview-card__body {
    padding: 20px;
}

.atpl-overview-card__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #F6F6F6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.atpl-overview-card__feature:hover {
    transform: translateX(4px);
    background: rgba(23, 130, 197, 0.06);
}

.atpl-overview-card__feature:last-child { margin-bottom: 0; }

.atpl-overview-card__feature i {
    color: #28a745;
    font-size: 1rem;
    flex-shrink: 0;
}

.atpl-overview-card__feature span {
    font-size: 0.9rem;
    color: #182333;
}

/* ── Comparison Table ── */
.atpl-table {
    margin-top: 10px;
}

.atpl-table table {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    border-collapse: collapse;
}

.atpl-table thead th {
    background: #182333;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    font-family: 'Titillium Web', sans-serif;
    text-align: left;
}

.atpl-table thead th:first-child {
    border-radius: 14px 0 0 0;
}

.atpl-table thead th:last-child {
    border-radius: 0 14px 0 0;
}

.atpl-table tbody td {
    padding: 14px 20px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: #757F95;
}

.atpl-table tbody td strong {
    color: #1782c5;
    font-weight: 600;
}

.atpl-table tbody tr {
    transition: background 0.2s ease;
}

.atpl-table tbody tr:hover {
    background: rgba(23, 130, 197, 0.04);
}

.atpl-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── E-Book Banner ── */
.atpl-ebook {
    padding: 80px 0;
    background: #F6F6F6;
}

.atpl-ebook__card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px 40px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}

.atpl-ebook__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 130, 197, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.atpl-ebook__icon i {
    font-size: 1.6rem;
    color: #1782c5;
}

.atpl-ebook__text {
    flex: 1;
    min-width: 200px;
}

.atpl-ebook__text h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #182333;
    margin-bottom: 4px;
    font-family: 'Titillium Web', sans-serif;
}

.atpl-ebook__text p {
    color: #757F95;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.atpl-ebook .theme-btn {
    padding: 12px 24px;
    font-size: 14px;
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .atpl-hero__content { padding: 80px 0; }
    .atpl-hero__title { font-size: 2.8rem; }

    .atpl-cards {
        grid-template-columns: 1fr;
    }

    .atpl-diff-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .atpl-differences,
    .atpl-eligibility {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .atpl-hero { min-height: auto; }
    .atpl-hero__content { padding: 80px 0 40px; }
    .atpl-hero__title { font-size: 2.2rem; }
    .atpl-hero__subtitle { font-size: 1rem; }

    .atpl-phases {
        grid-template-columns: 1fr;
    }

    .atpl-inclusions__grid {
        grid-template-columns: 1fr;
    }

    .atpl-ebook__card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .atpl-table table {
        font-size: 0.82rem;
    }

    .atpl-table thead th,
    .atpl-table tbody td {
        padding: 10px 12px;
    }

    .atpl-differences,
    .atpl-eligibility {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .atpl-hero__title { font-size: 1.85rem; }

    .atpl-card__img { height: 180px; }
}
