/* ============================================================
   ASIAN COLLEGE — ABOUT PAGE STYLESHEET
   File: CSS/About.css
   Theme: Luxury Academic (Red + Deep Blue + White)
   Extends: style.css (base variables & utilities inherited)
   ============================================================ */

@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;
}


:root {
    /* Core Palette */
    --primary-red: #C62828;
    --primary-red-hover: #b32424;
    --primary-blue: #0d366e;
    --secondary-blue: #163A70;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --accent-silver: #D9E2EC;
    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-body: #475569;
    --text-muted: #64748b;
    /* UI Elements */
    --shadow-sm: 0 4px 6px rgba(11, 31, 58, 0.05);
    --shadow-md: 0 10px 25px rgba(11, 31, 58, 0.08);
    --shadow-premium: 0 20px 40px rgba(11, 31, 58, 0.12);
    --shadow-red: 0 10px 25px rgba(198, 40, 40, 0.25);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Typography */
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Poppins', sans-serif;
}

/* ==============================
   MINI HERO SECTION
   ============================== */

/* ==============================
   PREMIUM ATTRACTIVE ABOUT HERO
============================== */

.about-mini-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: url('../Assets/Images/mini-hero.png') center center / cover no-repeat;
    overflow: hidden;
    padding: 90px 0 65px;
    border-bottom: 4px solid var(--primary-red);
    background-attachment:fixed;
}

/* Rich premium overlay */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    /*background: linear-gradient(115deg, rgba(3, 18, 48, 0.96) 0%, rgba(9, 44, 96, 0.92) 45%, rgba(198, 40, 40, 0.82) 100%);*/
    z-index: 1;
}

/* Decorative glow */
.about-mini-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    z-index: 1;
}

/* Watermark */
.about-hero-watermark {
    position: absolute;
    right: 6%;
    top: 52%;
    transform: translateY(-50%);
    font-size: 220px;
    color: rgba(255,255,255,0.045);
    z-index: 1;
    pointer-events: none;
}

/* Content */
.about-mini-hero .container {
    position: relative;
    z-index: 3;
}

.about-hero-inner {
    max-width: 760px;
}

/* ==============================
   BREADCRUMB
============================== */
.about-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0 0 18px;
}

.about-breadcrumb li {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

    .about-breadcrumb li a {
        color: rgba(255,255,255,0.82);
        text-decoration: none;
        font-weight: 500;
        transition: 0.3s ease;
    }

        .about-breadcrumb li a:hover {
            color: #ffb3b3;
        }

.about-breadcrumb .active {
    color: #ffffff;
    font-weight: 700;
}

/* ==============================
   LABEL
============================== */
.about-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.label-line {
    width: 28px;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

/* ==============================
   TITLE
============================== */
.about-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 6px 25px rgba(0,0,0,0.35);
}

    .about-hero-title span {
        color: var(--primary-red);
        position: relative;
    }

        .about-hero-title span::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #ed182c, transparent);
            border-radius: 10px;
        }

/* ==============================
   SUBTITLE
============================== */
.about-hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    max-width: 640px;
    margin-bottom: 34px;
}

/* ==============================
   PILLS
============================== */
.about-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

    .hero-pill i {
        color: #ff9b9b;
        font-size: 15px;
    }

    .hero-pill:hover {
        transform: translateY(-4px);
        background: rgba(198, 40, 40, 0.35);
        border-color: rgba(255,255,255,0.28);
    }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 991px) {
    .about-mini-hero {
        min-height: 320px;
        padding: 75px 0 55px;
    }

    .about-hero-title {
        font-size: 46px;
    }

    .about-hero-watermark {
        font-size: 170px;
    }
}

@media (max-width: 767px) {
    .about-mini-hero {
        min-height: auto;
        padding: 65px 0 45px;
    }

    .about-hero-title {
        font-size: 34px;
        line-height: 1.25;
    }

    .about-hero-subtitle {
        font-size: 15px;
    }

    .about-hero-watermark {
        display: none;
    }

    .hero-pill {
        font-size: 12px;
        padding: 10px 16px;
    }

    .about-hero-label {
        font-size: 10px;
        letter-spacing: 2px;
    }
}
/* ==============================
   INTRODUCTION SECTION
   ============================== */

.about-intro-collage {
    position: relative;
    height: 480px;
}

.collage-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 78%;
    height: 85%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
}

.collage-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48%;
    height: 55%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 5px solid var(--white);
}

.collage-badge {
    position: absolute;
    top: 28px;
    right: 0;
    background: var(--primary-red);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-red);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.collage-badge i {
    font-size: 24px;
}

.collage-badge span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* About text paragraph */
.about-para {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Checklist */
.about-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.check-item i {
    color: var(--primary-red);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* ==============================
   VISION & MISSION SECTION
   ============================== */

.vision-mission-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf5 100%);
}

.vm-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.vm-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-blue), #1a4f9e);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(13, 54, 110, 0.25);
}

.vm-mission .vm-icon-wrap {
    background: linear-gradient(135deg, var(--primary-red), #a01f1f);
    box-shadow: var(--shadow-red);
}

.vm-values .vm-icon-wrap {
    background: linear-gradient(135deg, #1a6b3c, #27ae60);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.25);
}

.vm-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.vm-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

.vm-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    transition: height 0.3s ease;
}

.vm-mission .vm-card-accent {
    background: var(--primary-red);
}

.vm-values .vm-card-accent {
    background: #27ae60;
}

.vm-card:hover .vm-card-accent {
    height: 6px;
}

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

.values-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--accent-silver);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list i {
    color: #27ae60;
    font-weight: 700;
}


/* ==============================
   TIMELINE SECTION
   ============================== */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Vertical centre line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-red));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    margin-bottom: 48px;
    position: relative;
}

.timeline-item.timeline-right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

/* Dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(13, 54, 110, 0.35);
    border: 3px solid var(--white);
    z-index: 2;
    transition: background 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--primary-red);
    box-shadow: var(--shadow-red);
}

/* Card */
.timeline-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    max-width: 360px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-item.timeline-right .timeline-card {
    border-left: none;
    border-right: 4px solid var(--primary-red);
}

.timeline-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.timeline-item.timeline-right .timeline-year {
    background: var(--primary-red);
}

.timeline-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

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


/* ==============================
   INFRASTRUCTURE SECTION
   ============================== */

.infra-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.infra-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.infra-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.infra-card-large .infra-img {
    height: 280px;
}

.infra-card:hover .infra-img {
    transform: scale(1.04);
}

.infra-card-body {
    padding: 22px 24px;
    flex: 1;
}

.infra-icon {
    font-size: 22px;
    color: var(--primary-red);
    margin-bottom: 10px;
    display: block;
}

.infra-card-body h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

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


/* ==============================
   WHY CHOOSE US SECTION
   ============================== */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-box:hover {
    border-color: var(--accent-silver);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.why-icon {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue), #1a4f9e);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 6px 15px rgba(13, 54, 110, 0.20);
}

.why-icon-red {
    background: linear-gradient(135deg, var(--primary-red), #a01f1f) !important;
    box-shadow: var(--shadow-red) !important;
}

.why-text h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 6px;
}

.why-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Image Block */
.why-image-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.why-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.why-stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: linear-gradient(to top, rgba(4, 22, 54, 0.92) 0%, transparent 100%);
    padding: 30px 24px 24px;
    gap: 10px;
    justify-content: space-around;
}

.why-stat {
    text-align: center;
    color: var(--white);
}

.why-stat h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.why-stat p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==============================
   ACCREDITATION STRIP
   ============================== */

.accreditation-strip {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0a2a60 100%);
    padding: 36px 0;
    border-top: 4px solid var(--primary-red);
}

.accred-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.accred-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.accred-label i {
    color: #ffd700;
    font-size: 18px;
}

.accred-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.accred-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.accred-badge i {
    font-size: 20px;
    color: #ffd700;
}

.accred-badge:hover {
    color: var(--white);
}

.accred-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.20);
}


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

@media (max-width: 991px) {
    .about-mini-hero {
        min-height: 360px;
        padding: 90px 0 60px;
    }

    .about-hero-title {
        font-size: 38px;
    }

    .about-hero-watermark {
        font-size: 160px;
        right: 0;
        opacity: 0.5;
    }

    .about-intro-collage {
        height: 360px;
        margin-bottom: 40px;
    }

    .about-checklist {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.timeline-right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 65px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-card {
        max-width: 100%;
        border-left: 4px solid var(--primary-blue) !important;
        border-right: none !important;
    }

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

    .why-main-img {
        height: 320px;
    }

    .accred-inner {
        flex-direction: column;
        gap: 20px;
    }

    .accred-divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .about-mini-hero {
        min-height: 320px;
        padding: 80px 0 50px;
        text-align: center;
    }

    .about-hero-inner {
        max-width: 100%;
    }

    .about-breadcrumb ol {
        justify-content: center;
    }

    .about-hero-label {
        justify-content: center;
    }

    .about-hero-title {
        font-size: 30px;
    }

    .about-hero-subtitle {
        font-size: 14px;
    }

    .about-hero-pills {
        justify-content: center;
    }

    .hero-pill {
        font-size: 12px;
        padding: 7px 14px;
    }

    .collage-primary {
        width: 100%;
        height: 70%;
    }

    .collage-secondary {
        width: 55%;
    }

    .why-stats-overlay {
        gap: 4px;
    }

    .why-stat h3 {
        font-size: 24px;
    }

    .accred-logos {
        gap: 16px;
    }
}
