/* ================================================================
   admission_procedure.css  —  LNMS College Admission Procedure Page
   Design system: same tokens, fonts & patterns as home.css
   Sections:
     1. Mini Hero
     2. AOS Scroll Reveal
     3. Content Area Shell
     4. Section Title
     5. Steps Timeline
     6. Documents Checklist (inside Step 1)
     7. Alert Badge
     8. Oath Section
     9. Responsive
   ================================================================ */

/* ── Font import ─────────────────────────────────────────────── */
@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

/* ── Design token mirror ─────────────────────────────────────── */
:root {
    --blue:        #1E3A8A;
    --blue-dark:   #162d6e;
    --blue-mid:    #2a4fa8;
    --blue-light:  #dbeafe;
    --green:       #22C55E;
    --green-dark:  #16a34a;
    --green-light: #dcfce7;
    --amber:       #F59E0B;
    --amber-light: #fef3c7;
    --bg:          #F8FAFC;
    --card:        #ffffff;
    --text:        #0F172A;
    --text-muted:  #475569;
    --border:      #e2e8f0;
    --shadow-sm:   0 2px 10px rgba(15,23,42,.08);
    --shadow-md:   0 6px 24px rgba(15,23,42,.12);
    --shadow-lg:   0 16px 48px rgba(15,23,42,.18);
    --shadow-blue: 0 8px 28px rgba(30,58,138,.28);
    --r-sm:        8px;
    --r-md:        14px;
    --r-lg:        20px;
    --r-xl:        28px;
    --r-pill:      50px;
    --t:           0.3s ease;
    --font:        'Poppins','Noto Sans Devanagari',sans-serif;
    --font-deva:   'Noto Sans Devanagari','Poppins',sans-serif;
}


/* ================================================================
   1. MINI HERO  (identical structure to principals_list)
   ================================================================ */
.ap-mini-hero {
    position: relative;
    width: 100%;
    height: 320px;
    min-height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1E3A8A 55%, #2a4fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}

/* Noise overlay */
.ap-mini-hero__overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.22;
    pointer-events: none;
    z-index: 1;
}

/* Decorative rings */
.ap-mini-hero__ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}
.ap-mini-hero__ring--lg {
    top: -90px; right: -90px;
    width: 340px; height: 340px;
    border: 64px solid rgba(30,58,138,.22);
}
.ap-mini-hero__ring--sm {
    bottom: -55px; left: -55px;
    width: 210px; height: 210px;
    border: 42px solid rgba(34,197,94,.10);
}

/* Animated grid */
.ap-mini-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: apGridDrift 18s linear infinite;
}
@keyframes apGridDrift {
    from { background-position: 0 0; }
    to   { background-position: 48px 48px; }
}

/* Content */
.ap-mini-hero__body {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Breadcrumb */
.ap-mini-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(12px);
    animation: apFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}
.ap-mini-hero__bc-link {
    font-size: .78rem;
    font-weight: 500;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color .2s ease;
}
.ap-mini-hero__bc-link:hover { color: var(--green); text-decoration: none; }
.ap-mini-hero__bc-sep     { color: rgba(255,255,255,.25); font-size: .78rem; }
.ap-mini-hero__bc-current { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.80); }

/* Eyebrow badge */
.ap-mini-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.45);
    color: var(--green);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: var(--r-pill);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(14px);
    animation: apFadeUp 0.65s cubic-bezier(0.22,1,0.36,1) 0.25s forwards;
}
.ap-mini-hero__badge-dot {
    width: 6px; height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: apPulse 2s ease-in-out infinite;
}

/* Heading */
.ap-mini-hero__heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: apFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.42s forwards;
}
.ap-mini-hero__heading em {
    font-style: normal;
    color: var(--green);
    position: relative;
}
.ap-mini-hero__heading em::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 100%; height: 3px;
    background: var(--green);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    animation: apUnderline 0.55s cubic-bezier(0.22,1,0.36,1) 1.1s forwards;
}

/* Sub */
.ap-mini-hero__sub {
    color: rgba(255,255,255,.62);
    font-size: clamp(.85rem, 1.6vw, 1rem);
    font-weight: 300;
    max-width: 480px;
    line-height: 1.65;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    animation: apFadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.58s forwards;
}

/* Hero keyframes */
@keyframes apFadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes apUnderline { to { transform: scaleX(1); } }
@keyframes apPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}

/* Hero responsive */
@media (max-width: 768px) {
    .ap-mini-hero { height: 260px; min-height: 220px; }
    .ap-mini-hero__ring--lg { width: 200px; height: 200px; border-width: 40px; top: -60px; right: -60px; }
}
@media (max-width: 480px) {
    .ap-mini-hero { height: 230px; }
    .ap-mini-hero__sub { display: none; }
}


/* ================================================================
   2. AOS SCROLL REVEAL
   ================================================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
                transform 0.65s cubic-bezier(0.22,1,0.36,1);
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================================
   3. CONTENT AREA SHELL
   ================================================================ */
.ap-area {
    background: var(--bg);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Dot-grid texture */
.ap-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(30,58,138,.05) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

.ap-area .container {
    position: relative;
    z-index: 1;
}


/* ================================================================
   4. SECTION TITLE
   ================================================================ */
.ap-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.ap-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-light);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 14px;
}

.ap-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 12px;
}

.ap-sub {
    font-family: var(--font-deva);
    font-size: clamp(.88rem, 1.5vw, 1rem);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}


/* ================================================================
   5. STEPS TIMELINE
   ================================================================ */
.ap-steps {
    max-width: 820px;
    margin: 0 auto 72px;
    display: flex;
    flex-direction: column;
    gap: 0;                 /* gap handled by connector height */
}

/* ── Single step row ── */
.ap-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0 20px;
    position: relative;
}

/* ── Left marker column ── */
.ap-step__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Number circle */
.ap-step__num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    position: relative;
    z-index: 2;
    transition: transform var(--t), background var(--t);
}

/* Alternate steps use green */
.ap-step:nth-child(even) .ap-step__num {
    background: var(--green-dark);
    box-shadow: 0 8px 28px rgba(22,163,74,.28);
}

.ap-step:hover .ap-step__num { transform: scale(1.1); }

/* Vertical connector line between circles */
.ap-step__connector {
    flex: 1;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue-light) 0%, var(--border) 100%);
    margin: 6px 0;
    min-height: 24px;
}

.ap-step:nth-child(even) .ap-step__connector {
    background: linear-gradient(to bottom, var(--green-light) 0%, var(--border) 100%);
}

/* ── Card (right column) ── */
.ap-step__card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}

/* Left accent strip */
.ap-step__card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--green) 100%);
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    transition: width var(--t);
}

.ap-step:nth-child(even) .ap-step__card::before {
    background: linear-gradient(180deg, var(--green) 0%, var(--blue) 100%);
}

.ap-step:hover .ap-step__card {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-light);
    transform: translateX(4px);
}
.ap-step:hover .ap-step__card::before { width: 6px; }

/* Card inner top row */
.ap-step__card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

/* Icon box */
.ap-step__icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: var(--r-sm);
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background var(--t), color var(--t);
}
.ap-step__icon--green {
    background: var(--green-light);
    color: var(--green-dark);
}
.ap-step:hover .ap-step__icon            { background: var(--blue); color: #fff; }
.ap-step:hover .ap-step__icon--green     { background: var(--green-dark); color: #fff; }

.ap-step__card-header { flex: 1; min-width: 0; }

.ap-step__title {
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
    line-height: 1.3;
    transition: color var(--t);
}
.ap-step:hover .ap-step__title { color: var(--blue); }

.ap-step__desc {
    font-family: var(--font-deva);
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* Last step: no bottom margin on card */
.ap-step--last .ap-step__card { margin-bottom: 0; }


/* ================================================================
   6. DOCUMENTS CHECKLIST  (inside Step 1 card)
   ================================================================ */
.ap-docs {
    margin-top: 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.ap-docs__label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-light);
    color: var(--blue);
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 8px 16px;
}

.ap-docs__list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.ap-docs__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--t);
    font-family: var(--font-deva);
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.ap-docs__item:last-child { border-bottom: none; }
.ap-docs__item:hover { background: var(--blue-light); }

.ap-docs__alpha {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-family: var(--font-deva);
    font-size: .78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}


/* ================================================================
   7. ALERT BADGE  (warning strip inside Step 3 card)
   ================================================================ */
.ap-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: var(--r-md);
    font-family: var(--font-deva);
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.5;
}

.ap-alert--warning {
    background: var(--amber-light);
    color: #92400e;
    border: 1px solid #fde68a;
}

.ap-alert--warning i {
    color: var(--amber);
    font-size: 1rem;
    flex-shrink: 0;
}


/* ================================================================
   8. OATH SECTION
   ================================================================ */
.ap-oath-section {
    padding-top: 20px;
}

/* Section label above oath cards */
.ap-oath-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 28px;
}

/* Oath cards grid */
.ap-oath-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── Single oath card ── */
.ap-oath-card {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
    border-radius: var(--r-xl);
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-blue);
    transition: transform var(--t), box-shadow var(--t);
}

/* Decorative ring inside each card */
.ap-oath-card::after {
    content: '';
    position: absolute;
    bottom: -55px; right: -55px;
    width: 180px; height: 180px;
    border-radius: 50%;
    border: 40px solid rgba(34,197,94,.10);
    pointer-events: none;
}

/* Green variant for guardian */
.ap-oath-card--guardian {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
}
.ap-oath-card--guardian::after {
    border-color: rgba(255,255,255,.08);
}

.ap-oath-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Header row */
.ap-oath-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ap-oath-card__avatar {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(34,197,94,.18);
    border: 1px solid rgba(34,197,94,.40);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.ap-oath-card__avatar--green {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    color: #fff;
}

.ap-oath-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 3px;
    line-height: 1.2;
}

.ap-oath-card__sub {
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.50);
}

/* Quote text */
.ap-oath-card__text {
    font-family: var(--font-deva);
    font-size: .92rem;
    font-weight: 400;
    color: rgba(255,255,255,.80);
    line-height: 1.9;
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}

/* Signature row */
.ap-oath-card__footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.ap-oath-card__sig-line {
    height: 1px;
    width: 140px;
    background: rgba(255,255,255,.30);
    border-radius: 1px;
}

.ap-oath-card__sig-label {
    font-family: 'DM Sans', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: rgba(255,255,255,.45);
}


/* ================================================================
   9. RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
    .ap-area { padding: 64px 0 72px; }
    .ap-oath-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 767px) {
    .ap-area { padding: 50px 0 60px; }
    .ap-section-title { margin-bottom: 36px; }

    .ap-step { grid-template-columns: 56px 1fr; }
    .ap-step__num { width: 44px; height: 44px; font-size: .9rem; }
    .ap-step__card { padding: 18px 16px; }
    .ap-step__icon { width: 40px; height: 40px; font-size: 1rem; }
    .ap-step__title { font-size: .96rem; }

    .ap-steps { margin-bottom: 48px; }
    .ap-oath-card { padding: 24px 20px 20px; }
}

@media (max-width: 480px) {
    .ap-step { grid-template-columns: 48px 1fr; gap: 0 14px; }
    .ap-step__num { width: 38px; height: 38px; font-size: .82rem; }
    .ap-step__card-top { flex-direction: column; gap: 10px; }
    .ap-oath-card__text { font-size: .87rem; }
}
