﻿/* ============================================================
   REFRESH GLOBAL — HERO CAROUSEL (GLASS BUTTON VERSION)
   ------------------------------------------------------------
   Architecture Overview:
     1. Full-width wrapper (100vw breakout)
     2. Background-image slide system
     3. Microsoft-style dark overlay
     4. Centered caption system
     5. Corporate CTA button
     6. Floating glass control buttons (Back / Play / Pause / Forward)
     7. Fade transition (10% longer + 10% slower)
     8. Mobile optimization
   ============================================================ */


/* ============================================================
   1️⃣ HERO WRAPPER — ESCAPES BOOTSTRAP CONTAINER
   ============================================================ */
.hero-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.hero-section {
    margin-top: 0;
    padding-top: 0;
}


/* ============================================================
   2️⃣ HERO SLIDE — BACKGROUND IMAGE SYSTEM
   ============================================================ */
.hero-slide {
    height: 560px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}


    /* ============================================================
   3️⃣ DARK OVERLAY — MICROSOFT-STYLE DEPTH
   ============================================================ */
    .hero-slide::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
        z-index: 5;
    }


/* ============================================================
   4️⃣ HERO CAPTION — CENTERED TEXT SYSTEM
   ============================================================ */
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    color: #fff;
}

    .hero-caption h1 {
        font-size: 2.8rem;
        font-weight: 700;
    }

    .hero-caption p {
        font-size: 1.25rem;
        margin-top: 10px;
    }


/* ============================================================
   5️⃣ HERO CTA BUTTON — CORPORATE STYLE
   ============================================================ */
.hero-btn {
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

    .hero-btn:hover {
        background-color: #0056b3;
    }


/* ============================================================
   6️⃣ FLOATING GLASS CONTROL BUTTONS
   ============================================================ */
.hero-control-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 30;
}

.hero-control-btn {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.85;
}

    .hero-control-btn:hover {
        opacity: 1;
        transform: scale(1.15);
    }

    .hero-control-btn i {
        font-size: 0.95rem;
        color: #fff;
    }


/* ============================================================
   7️⃣ FADE TRANSITION — MICROSOFT SMOOTH EFFECT
   ============================================================ */
.carousel-fade .carousel-item {
    transition: opacity 1.32s cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* ============================================================
   8️⃣ RESPONSIVE ADJUSTMENTS — MOBILE OPTIMIZATION
   ============================================================ */
/* Add your media queries here */


/* ============================================================
   ULTRA‑THIN LINES FOR TITLES, SUBTITLES & HEADINGS
   ============================================================ */

/* ------------------------------
   SECTION TITLE — 1px line
   ------------------------------ */
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px; /* space above line */
}

    /* Ultra-thin line under title */
    .section-title::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 80px;
        height: 1px;
        background-color: #cfcfcf;
        transform: translateX(-50%);
    }


/* ------------------------------
   SECTION SUBTITLE — 0.5px line
   ------------------------------ */
.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 25px auto;
    position: relative;
    padding-bottom: 10px;
}

    /* Micro-line under subtitle */
    .section-subtitle::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -2px;
        width: 60px;
        height: 0.5px;
        background-color: #dcdcdc;
        transform: translateX(-50%);
    }


/* ------------------------------
   SOLUTION HEADING — thin divider
   ------------------------------ */
.solution-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

    /* Thin line under each solution heading */
    .solution-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 1px;
        background-color: #e0e0e0;
    }


/* ------------------------------
   LIST ITEMS — subtle separators
   ------------------------------ */
.solution-list li {
    margin-bottom: 18px;
    font-size: 0.98rem;
    line-height: 1.45rem;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #efefef; /* ultra-thin separator */
}

    /* Remove last line in each card */
    .solution-list li:last-child {
        border-bottom: none;
    }

/* ============================================================
   EQUAL HEIGHT SOLUTION CARDS
   ============================================================ */

/* Make all cards stretch to equal height */
.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Make the list take up available space */
.solution-list {
    flex-grow: 1;
}

/* Lock the image at the bottom */
.solution-image {
    margin-top: auto; /* pushes image to bottom */
}

/* Card base styling */
.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 10px;
    /* 🔹 Stronger, visible border */
    border: 1px solid #d4d7dd; /* soft industrial grey */
    /* Optional: subtle shadow */
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    padding: 25px 25px 30px 25px;
    transition: all 0.3s ease;
}

    /* Hover state for premium feel */
    .solution-card:hover {
        border-color: #b5bcc8; /* slightly darker on hover */
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        transform: translateY(-4px);
    }

