/* ============================================================
   Contact.css — Contact Page Stylesheet
   Extends  : style.css (Site Master Theme)
   Matches  : LLM.css naming conventions & patterns
   Theme    : Red + Deep Blue + White | Luxury Academic
   ============================================================ */

/* @font-face blocks intentionally omitted —
   all fonts are already declared in style.css              */


/* ==============================
   MINI HERO SECTION
   ============================== */
.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;
    /*    background: linear-gradient( 110deg, rgba(4, 22, 54, 0.93) 0%, rgba(13, 54, 110, 0.88) 45%, rgba(198, 40, 40, 0.70) 100% );
*/ 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);
    }



/* 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;
    }



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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right-side stat stack */
.ballb-hero-stat-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 20px 28px;
    backdrop-filter: blur(10px);
    animation: heroFadeUp 1s ease 0.2s both;
}

.hstat-item {
    text-align: center;
    padding: 10px 0;
}

.hstat-num {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.hstat-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.hstat-divider {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 4px auto;
}


/* ══════════════════════════════════════════════════════════
   2. SNAPSHOT STRIP
   (uses .llm-snapshot-strip already defined in LLM.css)
══════════════════════════════════════════════════════════ */
/* No new rules needed — all snapshot classes come from LLM.css */


/* ══════════════════════════════════════════════════════════
   3. MAIN CONTACT SECTION
   (.contact-premium-section, .contact-premium-card,
    .contact-icon-box, .contact-flex, .map-premium-wrapper,
    .map-overlay-card, .btn-red-sm  — all from style.css)
══════════════════════════════════════════════════════════ */

/* Background decorative blob — page-specific addition */
.contact-bg-deco {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(13, 54, 110, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

/* Override h3 inside contact cards (style.css defines h4 variant) */
.contact-premium-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* Phone / email / website links inside cards */
.contact-premium-card a {
    display: flex;
    align-items: center;
    color: var(--text-body);
    text-decoration: none;
    margin-bottom: 6px;
    font-size: 15px;
    transition: var(--transition);
}

.contact-premium-card a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* Paragraph text inside cards */
.contact-premium-card p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/* Icon alternation by child order:
   Card 1 (City Office)    → blue  (default from style.css)
   Card 2 (Campus)         → red   (nth-child(2) from style.css)
   Card 3 (Phone)          → blue  (nth-child(3) — needs explicit override)
   Card 4 (Email/Website)  → red   (nth-child(4) from style.css) */
.contact-info-wrapper .contact-premium-card:nth-child(3) .contact-icon-box {
    background: linear-gradient(135deg, var(--primary-blue), #0d2f66);
}


/* ══════════════════════════════════════════════════════════
   4. SOCIAL CARDS STRIP
══════════════════════════════════════════════════════════ */
.contact-social-strip {
    background: var(--white);
}

/* Base card */
.contact-social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #F8FAFC;
    border: 1px solid var(--accent-silver);
    border-radius: 18px;
    padding: 26px 24px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Hover lift & shadow */
.contact-social-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: transparent;
    color: var(--white);
}

/* Top accent line */
.contact-social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 18px 18px 0 0;
    transition: height 0.35s ease;
}

.contact-social-card:hover::before {
    height: 100%;
    border-radius: 18px;
    z-index: 0;
}

/* Icon wrapper */
.csoc-icon {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Text block */
.csoc-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.csoc-platform {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    transition: color 0.3s ease;
    display: block;
}

.csoc-handle {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

/* Arrow icon */
.csoc-arrow {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-social-card:hover .csoc-arrow {
    color: rgba(255,255,255,0.8);
    transform: translateX(4px);
}

.contact-social-card:hover .csoc-platform,
.contact-social-card:hover .csoc-handle {
    color: rgba(255,255,255,0.95);
}

.contact-social-card:hover .csoc-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* ── Facebook ── */
.contact-social-fb::before {
    background: #1877f2;
}

.contact-social-fb .csoc-icon {
    background: rgba(24,119,242,0.1);
    color: #1877f2;
}

/* ── LinkedIn ── */
.contact-social-li::before {
    background: #0077b5;
}

.contact-social-li .csoc-icon {
    background: rgba(0,119,181,0.1);
    color: #0077b5;
}

/* ── Twitter / X ── */
.contact-social-tw::before {
    background: #14171a;
}

.contact-social-tw .csoc-icon {
    background: rgba(20,23,26,0.08);
    color: #14171a;
}

/* ── Instagram ── */
.contact-social-ig::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-social-ig .csoc-icon {
    background: rgba(220,39,67,0.08);
    color: #dc2743;
}


/* ══════════════════════════════════════════════════════════
   5. ANIMATION HELPERS
   (mirrors the pattern used in LLM.aspx / style.css)
══════════════════════════════════════════════════════════ */
.pre-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.pre-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
[data-delay="100"].pre-animate { transition-delay: 0.10s; }
[data-delay="200"].pre-animate { transition-delay: 0.20s; }
[data-delay="300"].pre-animate { transition-delay: 0.30s; }


/* ══════════════════════════════════════════════════════════
   6. RESPONSIVE — 991px (Tablet)
══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    /* Hero */
    .contact-mini-hero {
        background-attachment: scroll;
    }

    /* Snapshot strip — stack items vertically */
    .snapshot-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .snapshot-item:last-child {
        border-bottom: none;
    }

    /* Map height */
    .map-premium-wrapper {
        min-height: 450px;
        margin-top: 30px;
    }

    .map-overlay-card {
        left: 20px;
        right: 20px;
        max-width: unset;
    }

    /* Social cards: 2-column */
    .contact-social-card {
        padding: 20px 18px;
    }
}


/* ══════════════════════════════════════════════════════════
   7. RESPONSIVE — 767px (Mobile)
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    /* Hero */
    .contact-mini-hero {
        height: clamp(220px, 42vw, 300px);
        min-height: 220px;
        background-attachment: scroll;
    }

    /* Contact cards */
    .contact-premium-card {
        padding: 22px 18px;
    }

    .contact-premium-card h3 {
        font-size: 16px;
    }

    .contact-premium-card a,
    .contact-premium-card p {
        font-size: 14px;
    }

    .contact-icon-box {
        min-width: 52px;
        height: 52px;
        font-size: 20px;
        border-radius: 14px;
    }

    /* Map */
    .map-premium-wrapper {
        min-height: 360px;
    }

    .map-overlay-card {
        bottom: 16px;
        left: 12px;
        right: 12px;
        padding: 18px;
    }

    /* Social cards: single column */
    .contact-social-card {
        padding: 18px 16px;
        gap: 14px;
    }

    .csoc-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .csoc-platform {
        font-size: 14px;
    }
}


/* ══════════════════════════════════════════════════════════
   8. RESPONSIVE — 480px (Extra Small)
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .contact-mini-hero {
        height: clamp(200px, 50vw, 260px);
        min-height: 200px;
    }

    .contact-premium-card {
        padding: 18px 14px;
    }

    .contact-icon-box {
        min-width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .map-premium-wrapper {
        min-height: 300px;
    }

    .map-overlay-card h5 {
        font-size: 16px;
    }

    .map-overlay-card p {
        font-size: 13px;
    }
}
