/* =========================
   GLOBAL ABOUT STYLES
========================= */

/* =========================
   BASE HERO
========================= */
.hero-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

/* =========================
   HERO IMAGE
========================= */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center; /* tuned for services image */
    z-index: 0;
    animation: heroBgZoom 10s ease-in-out infinite alternate;

}

/* =========================
   HERO OVERLAY (TUNED FOR YOUR IMAGE)
========================= */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.60) 28%,
        rgba(0, 0, 0, 0.35) 48%,
        rgba(0, 0, 0, 0.15) 65%,
        rgba(0, 0, 0, 0.00) 82%
    );
    z-index: 1;
}

/* =========================
   HERO CONTENT LAYER
========================= */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO TEXT MICRO-ANIMATIONS
========================= */
.hero-title,
.hero-text,
.hero-actions {
    opacity: 0;
    transform: translateY(24px);
}

.hero-section .hero-title {
    animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}

.hero-section .hero-text {
    animation: heroFadeUp 0.8s ease-out 0.45s forwards;
}

.hero-section .hero-actions {
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* @media (max-width: 576px) {
    .hero-img {
        object-position: 70% center;
    }
} */



/* ===========================
   COMPANY OVERVIEW 
============================= */
.about-section {
    padding: 5rem 0;
}

.section-tag {
    display: inline-block;
    font-weight: 600;
    color: #fca311;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-weight: 700;
}

/* =========================
   IMAGE FRAME
========================= */

.image-frame {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   CORE VALUES
========================= */

.value-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;

    /* NEW: Equal height fix */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-card i {
    font-size: 2.2rem;
    color: #fca311;
    margin-bottom: 1rem;
}

.value-card h5 {
    font-weight: 600;
    color: #0d6efd;
}

.value-card p {
    margin-top: auto; /* Push content down for balance */
}

/* =========================
   WHY US
========================= */

.why-us-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.08);
}

.why-image {
    position: relative;
    height: 100%;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom right,
        rgba(252,163,17,0.18),
        rgba(13,110,253,0.15)
    );
}

.why-content {
    padding: 3rem;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.why-list i {
    color: #fca311;
}

/* =========================
   CTA
========================= */

.cta-section {
    background: linear-gradient(
        to right,
        #0d6efd,
        #003f88
    );
}

.btn-accent {
    background-color: #fca311;
    color: #000;
    border: none;
}

.btn-accent:hover {
    background-color: #e69500;
    color: #000;
}
