﻿/* ============================================================
   REFRESH GLOBAL — CENTERED HERO SYSTEM
   Clean, corporate, SPI‑aligned hero with rotating captions.
   ============================================================ */

/* Full-width breakout container */
.hero-breakout {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Main hero container */
.hero {
    position: relative;
    width: 100%;
    height: 560px; /* 1920×560 standard */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Dark overlay for readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Centered caption container */
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* TRUE CENTER */
    z-index: 2;
    text-align: center; /* Center text */
    width: 80%;
    max-width: 1000px;
}

/* Individual caption slide */
.caption {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    animation: captionFade 24s infinite;
}

    /* Title styling */
    .caption h1 {
        font-size: 48px;
        font-weight: 700;
        color: #ffffff;
        margin: 0 0 10px 0;
        letter-spacing: 1px;
    }

    /* Subtitle styling */
    .caption p {
        font-size: 20px;
        color: #e6e6e6;
        margin: 0;
    }

    /* ============================
   ROTATION TIMING (4 captions)
   ============================ */

    .caption:nth-child(1) {
        animation-delay: 0s;
    }

    .caption:nth-child(2) {
        animation-delay: 6s;
    }

    .caption:nth-child(3) {
        animation-delay: 12s;
    }

    .caption:nth-child(4) {
        animation-delay: 18s;
    }

/* ============================
   ANIMATION KEYFRAMES
   ============================ */

@keyframes captionFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
    }
}

/* ============================
   RESPONSIVE BEHAVIOR
   ============================ */

@media (max-width: 992px) {
    .hero {
        height: 420px;
    }

    .caption h1 {
        font-size: 34px;
    }

    .caption p {
        font-size: 18px;
    }

    .hero-caption {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 360px;
    }

    .caption h1 {
        font-size: 26px;
    }

    .caption p {
        font-size: 16px;
    }

    .hero-caption {
        width: 95%;
    }
}


/* ============================================================
   CONTACT INFO STRIP — LIGHT GRAY VERSION
   ------------------------------------------------------------
   Purpose:
     • Clean, neutral, enterprise-grade contact bar
     • Replaces black with a soft engineering gray
     • Matches REFRESH GLOBAL’s corporate tone
   ============================================================ */

.contact-info-strip {
    background: #f2f2f2; /* Light gray — clean, modern, premium */
    padding: 12px 0;
    color: #333; /* Dark gray text for readability */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-line {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between items */
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

    .contact-info-line span {
        display: flex;
        align-items: center;
        gap: 8px; /* Space between icon and text */
        color: #333;
    }

    .contact-info-line i {
        font-size: 1.2rem;
        color: #007bff; /* Blue accent for icons */
    }

/* ============================================================
   RESPONSIVE BEHAVIOR
   ------------------------------------------------------------
   On mobile:
     • Stack vertically
     • Center-align
   ============================================================ */
@media (max-width: 768px) {
    .contact-info-line {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

        .contact-info-line span {
            justify-content: center;
        }
}


