/* ============================================================
   BA-LLB.css — B.A. LL.B Page Stylesheet
   Extends: CSS/style.css (global theme)
   Theme: Luxury Academic — Red + Deep Blue + White
   ============================================================ */

@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/cinzel-700.woff2') format('woff2');
    font-weight: 700;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-700.woff2') format('woff2');
    font-weight: 700;
}

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

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/CormorantGaramond-Regular.ttf') format('truetype');
    font-weight: 400;
}


/* ==============================
   MINI HERO SECTION
   Height: 28–32 vh (stylish & compact)
   ============================== */

.ballb-mini-hero {
    position: relative;
    height: clamp(260px, 30vh, 380px);
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../Assets/Images/LLB/hero-bg.jpg') center center / cover no-repeat;
}

.ballb-mini-hero {
    background: url('../Assets/Images/mini-hero.png') center center / cover no-repeat;
    background-attachment: fixed;
}

/* Layered gradient overlay — deep blue to crimson red */
.ballb-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Left decorative arc element */
.hero-deco-left {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.07);
    z-index: 2;
    pointer-events: none;
}

.hero-deco-left::before {
    content: '';
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    border: 1px solid rgba(198, 40, 40, 0.25);
}

/* Right decorative arc element */
.hero-deco-right {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 2;
    pointer-events: none;
}

.hero-deco-right::before {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,40,40,0.12) 0%, transparent 70%);
}

/* Content sits above overlay */
.ballb-mini-hero .container {
    position: relative;
    z-index: 3;
    height: 100%;
}

/* Breadcrumb */
.ballb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ballb-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ballb-breadcrumb a:hover {
    color: #ffffff;
}

.bc-sep {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
}

.ballb-breadcrumb > span:last-child {
    color: var(--primary-red);
    font-weight: 600;
}

/* Hero Badge pill */
.ballb-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(198, 40, 40, 0.18);
    border: 1px solid rgba(198, 40, 40, 0.45);
    color: #ffb3b3;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(6px);
    animation: heroBadgePulse 3s ease-in-out infinite;
}

@keyframes heroBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(198, 40, 40, 0); }
}

/* Hero Title */
.ballb-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(26px, 3.5vw, 46px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: heroFadeUp 0.9s ease both;
}

.ballb-hero-title span {
    color: var(--primary-red);
    font-style: italic;
}

/* Hero subtitle */
.ballb-hero-sub {
    font-size: clamp(13px, 1.1vw, 15px);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
    animation: heroFadeUp 1.1s ease 0.15s both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* ==============================
   PROGRAM OVERVIEW SECTION
   ============================== */

/* Image Collage */
.ballb-img-collage {
    position: relative;
    height: 500px;
}

.collage-img {
    position: absolute;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(11, 31, 58, 0.15);
}

.collage-main {
    width: 65%;
    height: 75%;
    top: 0;
    left: 0;
    z-index: 1;
    border: 5px solid #fff;
}

.collage-secondary {
    width: 50%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 5px solid #fff;
}

.collage-accent {
    width: 38%;
    height: 38%;
    top: 12%;
    right: 4%;
    z-index: 3;
    border: 5px solid #fff;
}

.collage-badge-card {
    position: absolute;
    bottom: 50px;
    left: -10px;
    background: var(--primary-blue);
    color: #fff;
    border-left: 4px solid var(--primary-red);
    padding: 16px 22px;
    border-radius: 8px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.collage-badge-card i {
    font-size: 24px;
    color: var(--primary-red);
}

/* Feature List */
.ballb-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.ballb-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(11, 31, 58, 0.07);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.ballb-feat-item:hover {
    border-left-color: var(--primary-red);
    transform: translateX(6px);
    box-shadow: 0 8px 22px rgba(11, 31, 58, 0.12);
}

.feat-icon-box {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), #163A70);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.ballb-feat-item:hover .feat-icon-box {
    background: linear-gradient(135deg, var(--primary-red), #b30000);
}

.ballb-feat-item h5 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.ballb-feat-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}


/* ==============================
   ELIGIBILITY SECTION
   ============================== */

.ballb-eligibility-section {
    background: var(--bg-soft);
}

.elig-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 30px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.elig-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 14px 14px 0 0;
}

.elig-blue::before  { background: var(--primary-blue); }
.elig-red::before   { background: var(--primary-red); }
.elig-dark::before  { background: linear-gradient(90deg, var(--primary-blue), var(--primary-red)); }

.elig-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 31, 58, 0.14);
}

.elig-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.elig-blue .elig-icon  { background: rgba(13, 54, 110, 0.10); color: var(--primary-blue); }
.elig-red .elig-icon   { background: rgba(198, 40, 40, 0.10); color: var(--primary-red); }
.elig-dark .elig-icon  { background: linear-gradient(135deg, rgba(13,54,110,0.12), rgba(198,40,40,0.12)); color: var(--primary-blue); }

.elig-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.elig-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elig-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-body);
    border-bottom: 1px dashed var(--accent-silver);
}

.elig-card ul li:last-child {
    border-bottom: none;
}

.elig-card ul li i {
    color: var(--primary-red);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Admission Steps */
.admission-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adm-step {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-num {
    min-width: 34px;
    height: 34px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    flex-shrink: 0;
}

.adm-step p {
    font-size: 14px;
    color: var(--text-body);
    margin: 0;
    line-height: 1.5;
}

/* Fee Table */
.fee-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    font-size: 14px;
    color: var(--text-body);
    border-bottom: 1px dashed var(--accent-silver);
}

.fee-row:last-child { border-bottom: none; }

.fee-row span:last-child {
    font-weight: 600;
    color: var(--primary-blue);
}

.fee-row-total {
    background: rgba(13, 54, 110, 0.06);
    padding: 12px 10px;
    border-radius: 6px;
    margin-top: 5px;
    font-weight: 700;
    border-bottom: none !important;
}

.fee-row-total span:last-child {
    color: var(--primary-red);
}


/* ==============================
   CURRICULUM GRID
   ============================== */

.ballb-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.curr-year-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.curr-year-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.14);
}

.curr-year-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 4px;
}

.curr-y1 { background: linear-gradient(135deg, #0d366e, #1a4d8f); }
.curr-y2 { background: linear-gradient(135deg, #163A70, #1e5499); }
.curr-y3 { background: linear-gradient(135deg, #b71c1c, #C62828); }
.curr-y4 { background: linear-gradient(135deg, #C62828, #d43b3b); }
.curr-y5 { background: linear-gradient(135deg, #1a1a2e, #0d366e); }

.curr-year-num {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.curr-sem-tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.curr-subjects {
    list-style: none;
    padding: 18px 18px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.curr-subjects li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
}

.curr-subjects li i {
    color: var(--primary-red);
    font-size: 8px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Featured year (Year 5) */
.curr-year-card--featured {
    border: 2px solid rgba(13, 54, 110, 0.25);
}

.curr-featured-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}


/* ==============================
   GALLERY GRID
   ============================== */

.ballb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
}

.bg-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

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

.bg-item:hover img {
    transform: scale(1.07);
}

.bg-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,22,54,0.82) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.bg-item:hover .bg-caption {
    opacity: 1;
}

.bg-caption i {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

.bg-caption span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

.bg-large { grid-column: span 2; grid-row: span 2; }
.bg-tall  { grid-row: span 2; }
.bg-wide  { grid-column: span 2; }


/* ==============================
   CAREER CARDS
   ============================== */

.career-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(11, 31, 58, 0.07);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.career-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-red);
    box-shadow: 0 20px 45px rgba(11, 31, 58, 0.14);
}

.career-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(13, 54, 110, 0.08);
    color: var(--primary-blue);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: 0.3s ease;
}

.career-card:hover .career-icon {
    background: var(--primary-red);
    color: #fff;
}

.career-card h5 {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.career-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1199px) {
    .ballb-curriculum-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .ballb-mini-hero {
        height: auto;
        min-height: 240px;
        padding: 50px 0 60px;
    }

    .ballb-img-collage {
        height: 360px;
        margin-bottom: 40px;
    }

    .ballb-curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ballb-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .bg-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bg-tall {
        grid-row: span 1;
    }

    .bg-wide {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .ballb-hero-title {
        font-size: 28px;
    }

    .ballb-curriculum-grid {
        grid-template-columns: 1fr;
    }

    .ballb-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .bg-large,
    .bg-tall,
    .bg-wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .ballb-img-collage {
        height: 300px;
    }

    .collage-accent {
        display: none;
    }

    .hstat-item .hstat-num {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .ballb-mini-hero {
        min-height: 220px;
        padding: 40px 0 50px;
    }

    .elig-card {
        padding: 26px 22px;
    }
}
