/* =========================================================
   GLOBAL SECTION SPACING & CONTAINERS
========================================================= */

/* ================================
   GLOBAL RESET (FIXES SPACING)
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.section {
    padding: 90px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    color: #111;
}


/* =========================================================
   SECTION TITLES — USER-VISIBLE ANIMATION
========================================================= */

.section-title,
.section-title-left {
    font-size: 38px;
    font-weight: 700;
    color: #0053A9;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.section-title {
    text-align: center;
}

.section-title-left {
    text-align: left;
}

/* Animate only when allowed + visible */
.animate-title.visible {
    opacity: 1;
    transform: translateY(0);
}



/* =========================================================
   HERO SECTION — VIDEO
========================================================= */
.hero {
    position: relative;
    height: 92vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    pointer-events: none; /* 🔑 REQUIRED */
}


.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 800px;
    margin: auto;
    padding-top: 25vh;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin: 18px 0 30px;
}

.hero-btn {
    padding: 12px 30px;
    background: white;
    color: black;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.25s;
}

.hero-btn:hover {
    opacity: 0.85;
}

/* =========================================================
   OUR STORY
========================================================= */
.section-desc {
    text-align: center;
    max-width: 900px;
    margin: 15px auto 25px;
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}

.link-more {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: #0053A9;
    text-decoration: none;
    transition: 0.2s;
}

.link-more:hover {
    opacity: 0.7;
}

/* =========================================================
   OUR NETWORK — COUNT-UP METRICS
========================================================= */
.network {
    background: #fafafa;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.metric-box {
    text-align: center;
}

.metric-box h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.metric-box p {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

/* underline under each metric */
.metric-line {
    width: 60%;
    height: 2px;
    background: #000;
    margin: 10px auto 0;
}

/* =========================================================
   OUR BRANDS — CONTINUOUS SLIDER
========================================================= */

.brands-header {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brands-header .see-all {
    color: #0053A9;
    font-weight: 600;
    text-decoration: none;
}

.brands-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brands-slider {
    display: flex;
    will-change: transform;
}

/* Card base */
.brand-card {
    position: relative;
    height: 300px;
    flex: 0 0 25%;
    overflow: hidden;
    text-decoration: none;
}

/* Responsive card widths */
@media (max-width: 1024px) {
    .brand-card { flex: 0 0 50%; }
}
@media (max-width: 600px) {
    .brand-card { flex: 0 0 100%; }
}

/* Reset link styles */
.brand-card:link,
.brand-card:visited {
    color: inherit;
    text-decoration: none;
}

/* Image */
.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.brand-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

/* Brand name */
.brand-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    font-size: 26px;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 5;
}

.left-arrow { left: 12px; }
.right-arrow { right: 12px; }




/* =========================================================
   DISTRIBUTION & SERVICES
========================================================= */
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 12px;
}

.service-desc {
    margin: 15px 0 20px;
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}

/* =========================================================
   NEWSROOM — VALNET STYLE
========================================================= */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Card */
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.news-info {
    padding: 14px;
}

.news-info h3 {
    font-size: 18px;
    color: #111;
    font-weight: 600;
}

/* Remove underline from See More News link */
.news-header .see-all {
    color: #0053A9;
    font-weight: 600;
    text-decoration: none;
}

.news-header .see-all:hover {
    opacity: 0.7;
}

/* =========================================================
   RESPONSIVE STYLES
========================================================= */
@media (max-width: 900px) {

    .metrics-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-wrapper,
    .services-wrapper {
        grid-template-columns: 1fr;
    }

    .brand-slide {
        height: 320px;
    }
}

@media (max-width: 600px) {

    .metrics-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .brand-slide {
        height: 260px;
    }
}
/* ===============================
   MOBILE: Move section buttons below
================================ */
/* =====================================
   MOBILE: Force section CTAs below heading
===================================== */
@media (max-width: 768px) {

    /* Our Brands */
    .brands-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .brands-header h2 {
        width: 100%;
    }

    .brands-header .see-all {
        width: 100%;
        margin-top: 6px;
        margin-left: 0;
        text-align: left;
        font-size: 14px;
    }

    /* Newsroom */
    .news-header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .news-header h2 {
        width: 100%;
    }

    .news-header .see-all {
        width: 100%;
        margin-top: 6px;
        margin-left: 0;
        text-align: left;
        font-size: 14px;
    }
}

/* =========================================================
   FINAL RESPONSIVE PASS — MOBILE & TABLET
   (SAFE ADD-ON, NO BREAKING CHANGES)
========================================================= */

/* ---------- TABLET (<= 1024px) ---------- */
@media (max-width: 1024px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        height: 85vh;
    }

    .hero-content {
        padding-top: 22vh;
        max-width: 700px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .services-wrapper {
        gap: 30px;
    }

    .brand-card {
        height: 280px;
    }
}


/* ---------- MOBILE (<= 768px) ---------- */
@media (max-width: 768px) {

    .section {
        padding: 60px 0;
    }

    /* HERO */
    .hero {
        height: 80vh;
    }

    .hero-content {
        padding-top: 20vh;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-btn {
        padding: 12px 26px;
        font-size: 15px;
    }

    /* SERVICES */
    .service-desc {
        font-size: 16px;
    }

    /* BRANDS */
    .brand-card {
        height: 260px;
    }

    .brand-label {
        font-size: 22px;
    }

    /* NEWS */
    .news-info h3 {
        font-size: 16px;
    }
}


/* ---------- SMALL PHONES (<= 480px) ---------- */
@media (max-width: 480px) {

    .section {
        padding: 50px 0;
    }

    .hero {
        height: 75vh;
    }

    .hero-content {
        padding-top: 18vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .brand-card {
        height: 230px;
    }

    .brand-label {
        font-size: 20px;
        bottom: 16px;
        left: 16px;
    }

    .news-card img {
        height: 170px;
    }
}
