/* ============================================
   Admissions Page — Premium Professional Design
   ============================================ */

/* ---- Badge ---- */
.adm-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(11, 61, 46, 0.07), rgba(201, 162, 77, 0.07));
    color: var(--primary);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 18px;
    border: 1px solid rgba(11, 61, 46, 0.1);
}

.adm-badge i {
    color: var(--gold);
    font-size: 0.8rem;
}

/* ---- Common Titles ---- */
.adm-title {
    font-size: 2.3rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.adm-desc {
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.adm-title-tight {
    margin-bottom: 12px;
}

.adm-desc-center {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

/* ---- Buttons ---- */
.adm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.adm-btn-primary {
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(11, 61, 46, 0.2);
}

.adm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(11, 61, 46, 0.3);
    color: #fff;
}

.adm-btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: rgba(11, 61, 46, 0.2);
}

.adm-btn-outline:hover {
    background: rgba(11, 61, 46, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: var(--primary);
}

.adm-btn-gold {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
    box-shadow: 0 6px 24px rgba(201, 162, 77, 0.3);
}

.adm-btn-gold:hover {
    background: #dcb35c;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(201, 162, 77, 0.4);
    color: var(--primary);
}

.adm-btn-outline-light {
    background: transparent;
    color: var(--gold);
    border-color: rgba(201, 162, 77, 0.4);
}

.adm-btn-outline-light:hover {
    background: rgba(201, 162, 77, 0.1);
    border-color: var(--gold);
    transform: translateY(-3px);
    color: var(--gold);
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.adm-welcome-section {
    background: #fff;
}

.adm-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.adm-welcome-text .adm-desc {
    margin-bottom: 14px;
}

.adm-welcome-text .adm-desc:last-of-type {
    margin-bottom: 30px;
}

.adm-welcome-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Stat Cards Grid */
.adm-stat-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.adm-stat-card {
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.06);
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 6px 20px rgba(11, 61, 46, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.adm-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.adm-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(11, 61, 46, 0.1);
}

.adm-stat-card:hover::before {
    transform: scaleX(1);
}

.adm-stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(11, 61, 46, 0.2);
    transition: transform 0.4s ease;
}

.adm-stat-card:hover .adm-stat-icon {
    transform: scale(1.08) rotate(-3deg);
}

.adm-stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.adm-stat-label {
    font-size: 0.78rem;
    color: #6a6a6a;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   PROCESS TIMELINE SECTION
   ============================================ */
.adm-process-section {
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.adm-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.adm-timeline-line {
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--gold), var(--primary-light));
    border-radius: 3px;
    opacity: 0.25;
}

.adm-step {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 36px;
    position: relative;
}

.adm-step:last-child {
    margin-bottom: 0;
}

.adm-step-number {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(11, 61, 46, 0.25);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-step:hover .adm-step-number {
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 8px 28px rgba(11, 61, 46, 0.35);
}

.adm-step-content {
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px;
    border: 1px solid rgba(11, 61, 46, 0.06);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(11, 61, 46, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.adm-step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold) 50%, var(--primary-light));
    border-radius: 18px 18px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.adm-step:hover .adm-step-content {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(11, 61, 46, 0.08);
}

.adm-step:hover .adm-step-content::before {
    transform: scaleX(1);
}

.adm-step-icon {
    width: 42px;
    height: 42px;
    background: rgba(11, 61, 46, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 14px;
    transition: all 0.4s ease;
}

.adm-step:hover .adm-step-icon {
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    color: var(--gold);
}

.adm-step-content h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.adm-step-content p {
    color: #5a5a5a;
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   WHY CAMBRIDGE SECTION
   ============================================ */
.adm-why-section {
    background: #fff;
}

.adm-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.adm-why-card {
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.06);
    border-radius: 20px;
    padding: 34px 28px;
    text-align: center;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(11, 61, 46, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.adm-why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.adm-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.1);
}

.adm-why-card:hover::before {
    transform: scaleX(1);
}

.adm-why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.3rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(11, 61, 46, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-why-card:hover .adm-why-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 22px rgba(11, 61, 46, 0.3);
}

.adm-why-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.adm-why-card p {
    color: #5a5a5a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   GATEWAY LINKS SECTION
   ============================================ */
.adm-gateway-section {
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.adm-gateway-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.adm-gateway-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(11, 61, 46, 0.06);
    border-radius: 20px;
    padding: 34px 30px;
    text-decoration: none;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 4px 16px rgba(11, 61, 46, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.adm-gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.adm-gateway-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(11, 61, 46, 0.1);
}

.adm-gateway-card:hover::before {
    transform: scaleX(1);
}

.adm-gateway-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(11, 61, 46, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.adm-gateway-card:hover .adm-gateway-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 22px rgba(11, 61, 46, 0.3);
}

.adm-gateway-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.adm-gateway-card p {
    color: #5a5a5a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.adm-gateway-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.adm-gateway-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.adm-gateway-card:hover .adm-gateway-link {
    color: var(--gold);
}

.adm-gateway-card:hover .adm-gateway-link i {
    transform: translateX(4px);
}

/* ============================================
   CTA SECTION
   ============================================ */
.adm-cta-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0a3526 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.adm-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 77, 0.1), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.05), transparent 50%);
    pointer-events: none;
}

.adm-cta-container {
    position: relative;
    z-index: 1;
}

.adm-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.adm-cta-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(201, 162, 77, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 1.6rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.adm-cta-content:hover .adm-cta-icon {
    transform: rotate(-5deg) scale(1.05);
}

.adm-cta-content h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.adm-cta-content > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.adm-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .adm-title {
        font-size: 1.9rem;
    }

    .adm-welcome-grid {
        gap: 40px;
    }

    .adm-why-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .adm-why-card {
        padding: 28px 22px;
    }
}

@media (max-width: 768px) {
    .adm-title {
        font-size: 1.6rem;
    }

    .adm-welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .adm-stat-cards {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .adm-timeline-line {
        left: 28px;
    }

    .adm-step-number {
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 1.1rem;
        border-radius: 16px;
    }

    .adm-step {
        gap: 18px;
    }

    .adm-step-content {
        padding: 22px;
    }

    .adm-why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .adm-gateway-grid {
        grid-template-columns: 1fr;
    }

    .adm-cta-section {
        padding: 60px 0;
    }

    .adm-cta-content h2 {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .adm-title {
        font-size: 1.35rem;
    }

    .adm-desc-center {
        margin-bottom: 30px;
    }

    .adm-welcome-btns {
        flex-direction: column;
    }

    .adm-welcome-btns .adm-btn {
        justify-content: center;
    }

    .adm-stat-cards {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .adm-stat-card {
        padding: 20px 14px;
    }

    .adm-stat-number {
        font-size: 1.3rem;
    }

    .adm-timeline-line {
        display: none;
    }

    .adm-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .adm-step-content {
        padding: 20px 16px;
    }

    .adm-step-icon {
        margin-left: auto;
        margin-right: auto;
    }

    .adm-why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .adm-why-card {
        padding: 26px 20px;
    }

    .adm-gateway-card {
        padding: 26px 22px;
    }

    .adm-cta-content h2 {
        font-size: 1.4rem;
    }

    .adm-cta-icon {
        width: 58px;
        height: 58px;
        font-size: 1.3rem;
    }

    .adm-cta-buttons .adm-btn {
        width: 100%;
        justify-content: center;
    }
}
