/* =========================================
   BRAND COLOR PALETTE
========================================= */
:root {
    --zaha-navy: #0B2D4A;        /* خلفية الكحلي الداكن جداً */
    --zaha-dark-blue: #0F4C81;  /* الأزرار والعناصر التفاعلية */
    --zaha-cyan: #32B6C8;       /* لون مساعد */
    
    --zaha-bg-light: #F1F4F6; 
    --zaha-border-light: #D9E3EA;
    
    --zaha-soft-teal: #88D2D8;
    
    --zaha-text-dark: #0F2C4A;
    --zaha-white: #FFFFFF;
}

/* =========================================
   HERO CLEAN SECTION (FULL RESET)
========================================= */
.hero-clean-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: var(--zaha-navy) !important; /* خلفية كحلية صافية */
    background-image: none !important;
    color: var(--zaha-white);
}

.hero-clean-section::before,
.hero-clean-section::after {
    content: "" !important;
    display: none !important; 
    background: none !important;
}

/* =========================================
   LAYOUT
========================================= */

.hero-clean-section .carousel {
    position: relative;
    z-index: 2;
}

.hero-padding {
    padding-top: clamp(2.25rem, 5vw, 3.5rem) !important;
    padding-bottom: clamp(2rem, 5vw, 3.5rem) !important;
    height: auto;
}


.hero-slide {
    max-width: 1100px;
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.hero-visual-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-visual-card {
    background: #ffffff;
    padding: 0.75rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: clamp(300px, 50vw, 7000px);
}

.hero-img {
    width: clamp(250px, 40vw, 650px);
    height: clamp(190px, 28vw, 310px);
    object-fit: cover;
    border-radius: 1.1rem;
    display: block;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

/* =========================================
   TEXT
========================================= */
.hero-copy {
    max-width: 560px;
    overflow-wrap: anywhere;
}


.hero-title {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 800;
    color: var(--zaha-white);
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--zaha-soft-teal);
}

.hero-description {
    font-size: 1rem;
    color: var(--zaha-soft-teal);
    opacity: 0.92;
}

/* =========================================
   BADGE
========================================= */
.hero-badge {
    color: var(--zaha-soft-teal);
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* =========================================
   CTA BUTTON
========================================= */
.hero-cta {
    background-color: var(--zaha-dark-blue);
    border-color: var(--zaha-dark-blue);
    color: var(--zaha-white);
    font-weight: 700;
    border-radius: 999px;
    padding-inline: 1.75rem !important;
    /* box-shadow: 0 10px 24px rgba(15, 76, 129, 0.26); */
}

.hero-cta:hover,
.hero-cta:focus {
    background-color: #0C3C68;
    border-color: #0C3C68;
    color: #fff;
}

/* =========================================
   INDICATORS
========================================= */
.carousel-indicators {
    justify-content: center !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 1.5rem !important;
}

.carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.55) !important;
}

.carousel-indicators .active {
    background-color: var(--zaha-dark-blue) !important;
    transform: scale(1.2);
}

/* =========================================
   FLOAT ANIMATION
========================================= */
@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   ENTRY ANIMATION
========================================= */
.hero-title,
.hero-description,
.hero-subtitle,
.hero-badge {
    opacity: 1;
    transform: none;
}

.carousel-item.active .hero-title,
.carousel-item.active .hero-description,
.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-badge {
    animation: fadeSlide .9s ease forwards;
    opacity: 0;
    transform: translateY(18px);
}

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991.98px) {
    .hero-padding {
        padding-top: 2.25rem !important;
        padding-bottom: 2rem !important;
    }

    .hero-visual-card {
        max-width: 320px;
    }
}

/* =========================================
   FEATURE CARDS IN NEXT SECTION
========================================= */
.feature-card {
    background: var(--zaha-bg-light);
    border: 1px solid var(--zaha-border-light);
    border-radius: 14px;
}
/* ===== TEXT COLORS TO PURE WHITE ===== */
.hero-title,
.hero-subtitle,
.hero-description {
    color: #FFFFFF !important;
}

/* ===== BADGE (لو بدك تخليه أبيض برضو خبريني) ===== */


/* ===== CTA BUTTON NEW COLORS ===== */
.hero-cta {
    background-color: rgb(41, 171, 227) !important;  
    border-color: rgb(41, 171, 227) !important;
    color: var(--zaha-navy) !important;             
    font-weight: 700;
    border-radius: 999px;
    padding-inline: 1.75rem !important;
    /* box-shadow: 0 10px 24px rgba(41, 171, 227, 0.35) !important; */
}

/* Hover */
.hero-cta:hover,
.hero-cta:focus {
    background-color: rgb(31, 150, 200) !important; 
    border-color: rgb(31, 150, 200) !important;
    color: var(--zaha-navy) !important;
}
/* =========================================
   MOBILE HERO (single source of truth)
========================================= */
@media (max-width: 767.98px) {
    .hero-clean-section .container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-clean-section .carousel-inner {
        overflow: hidden !important;
    }

    .hero-clean-section .carousel-item {
        min-height: auto !important;
        height: auto !important;
    }

    .hero-padding {
        min-height: auto !important;
        padding-top: 1.25rem !important;
        padding-bottom: 4rem !important;
        display: block !important;
    }

    .hero-slide {
        width: 100% !important;
        padding-inline: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }

    .hero-copy {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem !important;
        text-align: center !important;
    }

    .hero-visual-card {
        width: min(340px, 90vw) !important;
        max-width: 340px !important;
        margin-inline: auto !important;
    }

    .hero-img {
        width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
    }

    .hero-clean-section .carousel-control-prev,
    .hero-clean-section .carousel-control-next {
        width: 2.75rem !important;
        top: 46% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 5 !important;
    }

    .hero-clean-section .carousel-control-prev {
        inset-inline-start: .5rem !important;
    }

    .hero-clean-section .carousel-control-next {
        inset-inline-end: .5rem !important;
    }

    .hero-clean-section .carousel-indicators {
        bottom: 0.75rem !important;
    }
}
