/**
 * Centre for Ambition Case Study Styles
 * Route: /work/centre-for-ambition/
 *
 * @package AntigravityDigital
 * @version 1.0.0
 */

/* ==========================================================================
   01. ATMOSPHERIC BLUE HERO & GENERAL THEME
   ========================================================================== */
:root {
    --ambition-blue: #00F5FF;
    --ambition-sky: #38BDF8;
    --ambition-indigo: #6366F1;
    --ambition-blue-glow: rgba(0, 245, 255, 0.15);
}

.agy-cs-ambition-page {
    background-color: #0B090D;
    color: #F8FAFC;
    overflow-x: hidden;
}

.agy-cs-hero-section.ambition-hero {
    position: relative;
    padding: 160px 0 90px 0;
    overflow: hidden;
    background: radial-gradient(circle at 60% 15%, rgba(0, 245, 255, 0.1) 0%, rgba(99, 102, 241, 0.06) 40%, rgba(11, 9, 13, 0) 75%);
}

.ambition-hero .agy-cs-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.ambition-hero .agy-cs-hero-desc {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin-bottom: 36px;
}

/* Meta Pill Bar */
.agy-cs-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    background: rgba(18, 16, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    backdrop-filter: blur(16px);
    margin-top: 32px;
}

.agy-cs-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agy-cs-meta-label {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.agy-cs-meta-value {
    font-size: 0.9375rem;
    font-weight: 400;
    color: #FFFFFF;
}

/* Floating Hero Card */
.ambition-hero-frame {
    position: relative;
    background: #12101B;
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 245, 255, 0.12);
    animation: agyMockupFloat 6s ease-in-out infinite alternate;
}

.ambition-hero-img-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
}

.ambition-hero-img-box img {
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(0, 245, 255, 0.25));
}

/* ==========================================================================
   02. EDITORIAL TWO-COLUMN & CHALLENGE HIGHLIGHTS
   ========================================================================== */
.agy-cs-editorial-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.agy-cs-prose-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.agy-cs-blue-highlight {
    color: var(--ambition-blue);
    font-weight: 400;
}

.agy-cs-challenge-list {
    list-style: none;
    padding: 0;
    margin: 32px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agy-cs-challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 22px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.agy-cs-challenge-item:hover {
    transform: translateX(6px);
    border-color: rgba(0, 245, 255, 0.3);
}

.agy-cs-challenge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ambition-blue);
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--ambition-blue);
}

/* ==========================================================================
   03. CONNECTED OBJECTIVES (3 HORIZONTAL CARDS)
   ========================================================================== */
.agy-cs-connected-objectives {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.agy-cs-connected-objectives::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 245, 255, 0.4), rgba(99, 102, 241, 0.4));
    z-index: 0;
}

.agy-cs-objective-card {
    position: relative;
    z-index: 1;
    background: #110F18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.agy-cs-objective-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 245, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 255, 0.1);
}

.agy-cs-obj-num {
    display: inline-block;
    font-family: 'Caveat', cursive !important;
    font-size: 22px !important;
    font-weight: 400;
    color: var(--ambition-blue);
    margin-bottom: 14px;
}

.agy-cs-obj-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.agy-cs-obj-desc {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==========================================================================
   04. STRATEGY & EXECUTION (ALTERNATING 4 MODULES)
   ========================================================================== */
.agy-cs-workstream-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px;
}

.agy-cs-workstream-block.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.agy-cs-workstream-block.reversed > * {
    direction: ltr;
}

.agy-cs-stream-tag {
    display: inline-block;
    font-family: 'Caveat', cursive !important;
    font-size: 20px !important;
    color: var(--ambition-blue);
    margin-bottom: 10px;
}

.agy-cs-stream-title {
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.agy-cs-stream-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

/* Interactive Infographic Containers */
.agy-cs-interactive-mockup {
    background: #110F18;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.agy-cs-interactive-mockup::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.15) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
}

/* 1. Map Mockup */
.ambition-map-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-node {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.25s ease;
}

.map-node.active-node {
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.03);
}

.map-city {
    font-size: 1.15rem;
    font-weight: 400;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-pin {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ambition-blue);
    box-shadow: 0 0 12px var(--ambition-blue);
}

.map-meta {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* 2. Meta Ad / Lead Form Mockup */
.meta-feed-mockup {
    background: #171520;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    overflow: hidden;
}

.meta-ad-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ambition-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    color: #0B090D;
    font-size: 0.875rem;
}

.meta-ad-title-group h4 {
    margin: 0;
    font-size: 0.9375rem;
    color: #FFFFFF;
}

.meta-ad-title-group span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.meta-ad-body {
    padding: 16px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.meta-lead-fields {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-input-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
}

/* 3. Timeline Visual */
.ambition-timeline-flow {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline-step-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 20px;
}

.step-day-badge {
    background: rgba(0, 245, 255, 0.12);
    color: var(--ambition-blue);
    border: 1px solid rgba(0, 245, 255, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 400;
}

/* ==========================================================================
   05. CAMPAIGN JOURNEY (4 STAGES)
   ========================================================================== */
.agy-cs-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
    position: relative;
}

.agy-cs-journey-grid::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #00F5FF 0%, #6366F1 50%, #C9FF76 100%);
    opacity: 0.4;
    z-index: 0;
}

.agy-cs-journey-step {
    position: relative;
    z-index: 1;
    background: #110F18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px 22px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.agy-cs-journey-step:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 245, 255, 0.35);
}

.agy-cs-step-indicator {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #171523;
    border: 2px solid var(--ambition-blue);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
    font-size: 0.875rem;
    font-weight: 400;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.agy-cs-step-name {
    font-size: 1.125rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.agy-cs-step-summary {
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ==========================================================================
   06. KEY MARKETING INSIGHT (AGRA VS GREATER NOIDA COMPARISON)
   ========================================================================== */
.agy-cs-insight-box {
    background: radial-gradient(circle at 50% 0%, rgba(0, 245, 255, 0.1) 0%, rgba(17, 15, 24, 0.95) 70%);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 28px;
    padding: clamp(36px, 5vw, 64px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 45px rgba(0, 245, 255, 0.08);
    margin-top: 48px;
}

.agy-cs-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 40px;
}

.agy-cs-location-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    transition: border-color 0.3s ease;
}

.agy-cs-location-card.highlighted {
    border-color: rgba(0, 245, 255, 0.4);
    background: rgba(0, 245, 255, 0.03);
}

.agy-cs-loc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.agy-cs-loc-name {
    font-size: 1.35rem;
    font-weight: 400;
    color: #FFFFFF;
}

.agy-cs-loc-badge {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--ambition-blue);
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.agy-cs-loc-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agy-cs-loc-points li {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 20px;
    position: relative;
}

.agy-cs-loc-points li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--ambition-blue);
}

/* ==========================================================================
   07. ROLE & LEARNING PILLARS
   ========================================================================== */
.agy-cs-role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.agy-cs-resp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.agy-cs-resp-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 8px 18px;
    font-size: 0.875rem;
    color: #FFFFFF;
}

.agy-cs-learnings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.agy-cs-learning-card {
    background: #110F18;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px 24px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.agy-cs-learning-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 255, 0.3);
}

/* ==========================================================================
   08. CLOSING BANNER
   ========================================================================== */
.ambition-closing-box {
    background: radial-gradient(circle at 50% 100%, rgba(0, 245, 255, 0.12) 0%, rgba(17, 15, 24, 0.95) 70%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 48px);
    text-align: center;
}

.ambition-closing-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .agy-cs-editorial-grid,
    .agy-cs-workstream-block,
    .agy-cs-workstream-block.reversed,
    .agy-cs-role-grid,
    .agy-cs-comparison-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .agy-cs-workstream-block.reversed {
        direction: ltr;
    }
    .agy-cs-connected-objectives,
    .agy-cs-journey-grid,
    .agy-cs-learnings-grid {
        grid-template-columns: 1fr;
    }
    .agy-cs-connected-objectives::before,
    .agy-cs-journey-grid::before {
        display: none;
    }
}
/* Unified Pacifico Eyebrow & Unboxed Badges */
.ambition-hero .agy-cs-eyebrow,
.ambition-hero .agy-cs-eyebrow-accent,
.ambition-hero .agy-cs-eyebrow-text {
    font-family: "Pacifico", cursive !important;
    font-size: clamp(1.2rem, 2vw, 1.45rem) !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    background: linear-gradient(90deg, #D6D2DC 0%, #A78BFA 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.ambition-hero .agy-cs-hero-title {
    font-weight: 400 !important;
}

.ambition-hero .agy-cs-hero-title .agy-handwritten {
    font-family: "Caveat", cursive !important;
    font-weight: 500 !important;
    font-size: 1.15em !important;
    color: #FFFFFF !important;
    display: inline-block !important;
    transform: rotate(-1deg);
    margin-right: 4px;
}

/* ==========================================================================
   ENHANCED MOBILE RESPONSIVENESS (CENTRE FOR AMBITION CASE STUDY)
   ========================================================================== */
@media (max-width: 768px) {
    .agy-cs-hero-section.ambition-hero {
        padding: 120px 0 50px 0 !important;
    }
    .ambition-hero .agy-cs-hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
        line-height: 1.2 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        margin-bottom: 18px !important;
    }
    .ambition-hero .agy-cs-hero-desc {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
    }
    .agy-cs-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 12px !important;
        padding: 16px 14px !important;
        border-radius: 14px !important;
        margin-top: 24px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .agy-cs-meta-item {
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .agy-cs-meta-value {
        font-size: 0.8125rem !important;
        line-height: 1.35 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .ambition-hero-frame {
        padding: 18px 14px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 480px) {
    .agy-cs-hero-section.ambition-hero {
        padding: 110px 0 40px 0 !important;
    }
    .ambition-hero .agy-cs-hero-title {
        font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
        line-height: 1.22 !important;
    }
    .ambition-hero .agy-cs-hero-desc {
        font-size: 0.9375rem !important;
        line-height: 1.55 !important;
    }
    .agy-cs-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px 10px !important;
        padding: 14px 10px !important;
    }
    .agy-cs-meta-label {
        font-size: 0.65rem !important;
    }
    .agy-cs-meta-value {
        font-size: 0.775rem !important;
        line-height: 1.3 !important;
    }
}
