/* Ambitio Style CSS */
:root {
    --amb-primary: #B1060F;
    --amb-primary-dark: #8A0007;
    --amb-text-main: #212121;
    --amb-text-muted: #696969;
    --amb-bg-light: #FAFAFA;
}

body {
    background-color: var(--amb-bg-light);
    font-family: 'Jost', sans-serif;
}

.amb-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 100px;
    background: radial-gradient(circle at 50% 0%, #fff 0%, var(--amb-bg-light) 70%);
}

.amb-hero-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.amb-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.amb-pill {
    background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    border: 1px solid #FFFDFC;
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--amb-text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.amb-pill img {
    height: 20px;
}

.amb-h1 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    color: var(--amb-text-main);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.amb-highlight {
    font-family: 'Cormorant', serif;
    font-style: italic;
    background: linear-gradient(90deg, var(--amb-primary) 0%, var(--amb-primary-dark) 50%, var(--amb-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 4px;
}

.amb-subtext {
    font-size: clamp(16px, 2vw, 22px);
    color: #945B4D;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.amb-btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #773E32;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
    padding: 16px 40px;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: inset 0px 2px 0px -1px #DEDEDE, inset 0px -3px 0px -1px #FFFFFF, 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.amb-btn:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: inset 0px 2px 0px -1px #DEDEDE, inset 0px -3px 0px -1px #FFFFFF, 0 15px 25px rgba(0,0,0,0.1);
}

/* Impact Section */
.amb-impact {
    padding: 100px 20px;
    background: var(--amb-bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amb-impact-header {
    text-align: center;
    margin-bottom: 50px;
}

.amb-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--amb-text-muted);
    background: linear-gradient(180deg, #F3F3F3 0%, #FFFFFF 100%);
    border: 1.5px solid #F1F1F1;
    border-radius: 36px;
    padding: 6px 16px;
    margin-bottom: 15px;
}

.amb-impact-h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--amb-text-main);
    margin-bottom: 10px;
}

.amb-impact-p {
    font-size: 18px;
    color: var(--amb-text-muted);
}

.amb-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
}

.amb-card {
    background: #ffffff;
    border-radius: 16px;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
}

.amb-card:hover {
    transform: translateY(-10px);
}

.amb-card-top {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.amb-card-logo {
    height: 60px;
    object-fit: contain;
}

.amb-card-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.amb-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 45%;
}

.amb-stat-val {
    font-family: 'Cormorant', serif;
    font-size: 40px;
    line-height: 1;
    display: flex;
    align-items: flex-end;
}

.amb-stat-val span {
    font-size: 20px;
    margin-bottom: 4px;
}

.amb-stat-val.muted {
    background: linear-gradient(180deg, #696969 0%, rgba(105,105,105,0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amb-stat-val.primary {
    background: linear-gradient(180deg, var(--amb-primary) 0%, var(--amb-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amb-stat-label {
    font-size: 14px;
    color: #A0A0A0;
    margin-top: 5px;
}

.amb-stat-sub {
    font-size: 14px;
    font-weight: 600;
}

.amb-stat-sub.muted {
    color: #696969;
}

.amb-stat-sub.primary {
    color: var(--amb-primary);
}

.amb-stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, #D6D6D6 50%, transparent 100%);
}

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

.amb-card:hover .amb-card-img {
    transform: scale(1.1);
}

.amb-card-img-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px;
}

.amb-card-img-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
    z-index: 10;
}

/* Why Section */
.amb-why { padding: 100px 20px; background: #ffffff; text-align: center; }
.amb-why-h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin-bottom: 50px; color: var(--amb-text-main); }
.amb-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.amb-why-card { background: #FAFAFA; border: 1px solid #EFEFEF; border-radius: 16px; padding: 40px 30px; transition: transform 0.3s; text-align: left; }
.amb-why-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.amb-why-icon { font-size: 30px; margin-bottom: 20px; color: var(--amb-primary); }
.amb-why-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--amb-text-main); }
.amb-why-desc { font-size: 16px; color: var(--amb-text-muted); line-height: 1.6; }

/* Product Showcase */
.amb-product { padding: 100px 20px; background: #FAFAFA; text-align: center; }
.amb-product-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.amb-product-h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin-bottom: 20px; color: var(--amb-text-main); }
.amb-product-img { width: 100%; max-width: 900px; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); margin-top: 50px; border: 1px solid #EFEFEF; }

/* =========================================================
   GLOBAL OVERRIDES FOR OLD SECTIONS TO MATCH AMBITIO
   ========================================================= */
.video-section, .programmes, .journey, .promise, .footer, .intro {
    background-color: var(--amb-bg-light) !important;
    background-image: none !important;
}

/* Ensure headings and paragraphs are dark */
.intro-h, .vs-h, .prog-hdr h2, .journey-hdr h2, .prom-hdr h2, 
.intro-body, .vs-p, .prog-hdr p, .journey-hdr p, .prom-hdr p {
    color: var(--amb-text-main) !important;
}

.intro-h em, .vs-h em, .prog-hdr h2 em {
    color: var(--amb-primary) !important;
}

.video-section::before, .hero-bg, .hero-beam, .hero-grid, .hero-vignette {
    display: none !important;
}

/* Ensure inner texts are dark where they were light */
.vid-title, .vc-title, .prog-title, .prog-desc, .pillar h4, .pillar p {
    color: var(--amb-text-main) !important;
}

/* Make inner cards light with light borders */
.vid-main, .vid-card, .prog-card, .step-card {
    background: #ffffff !important;
    border: 1px solid #EFEFEF !important;
}

/* Overwrite gold buttons to ambitio red */
.btn-g, .play-btn, .play-sm {
    background: var(--amb-primary) !important;
    color: #ffffff !important;
    border-color: var(--amb-primary-dark) !important;
}

.btn-g:hover {
    background: var(--amb-primary-dark) !important;
    color: #ffffff !important;
}

/* Convert footer to match Ambitio's light footer */
.footer {
    background: #ffffff !important;
    color: var(--amb-text-main) !important;
    border-top: 1px solid #EFEFEF;
}
.footer * {
    color: var(--amb-text-main) !important;
}


