/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero,
.hero-wrapper {
    position: relative
}

.hero {
    overflow: hidden
}

.hero__image {
    display: block
}

.heading-block-image {
    display: block;
    margin-top: -50px;
    padding-bottom: 0;
}

.heading-block-image h1 {
    font-family: Poppins, sans-serif;
}

.heading-block-image h1:before {
    height: 40px;
    background: var(--color-primary);
    bottom: calc(50% - 20px);
}

/* Hero subtitle - Golden Ribbon Style */
.heading-block-image .hero-subtitle {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--main-color);
    background: linear-gradient(135deg,
            #d4a853 0%,
            #f4d785 25%,
            #d4a853 50%,
            #f4d785 75%,
            #d4a853 100%);
    background-size: 200% 100%;
    padding: 0.75rem 2.5rem;
    margin-top: 1rem;
    /*text-transform: uppercase;*/
    letter-spacing: 2px;
    position: relative;
    box-shadow:
        0 4px 15px rgba(212, 168, 83, 0.4),
        0 8px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    animation: goldenShimmer 3s ease-in-out infinite;
    border: none;
    border-radius: 0;
}

/* Ribbon fold effect - left side */
.heading-block-image .hero-subtitle::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-right: 15px solid #d4a853;
    filter: drop-shadow(-2px 0 3px rgba(0, 0, 0, 0.2));
}

/* Ribbon fold effect - right side */
.heading-block-image .hero-subtitle::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 15px solid #d4a853;
    filter: drop-shadow(2px 0 3px rgba(0, 0, 0, 0.2));
}

@keyframes goldenShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

[dir="rtl"] .heading-block-image .hero-subtitle {
    font-family: var(--font-family-arabic) !important;
    letter-spacing: 0;
    font-size: 1.4rem;
}

main img {
    max-width: 100%;
    height: auto;
}

.hero__video {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1920px;
    object-fit: cover;
    object-position: center;
}

/* Mobile: Crop video to fit viewport (cut sides) */
@media (max-width: 575px) {
    .hero__video {
        height: 350px;
        object-fit: cover;
        object-position: center;
        margin-bottom: 0;
    }

    .hero__image {
        display: none;
    }

    /* Position heading block below video - mobile */
    .heading-block-image {
        display: block;
        position: relative;
        padding: 0 1rem;
        background: transparent;
        z-index: 10;
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .heading-block-image h1 {
        font-size: 2.75rem !important;
        font-weight: 900;
        margin-bottom: 1rem;
        line-height: 1;
        padding: 0.75rem 2rem;
        background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 50%, var(--accent-color) 100%);
        background-size: 200% 200%;
        color: var(--main-color);
        border-radius: 8px;
        display: inline-block;
        position: relative;
        border: 3px solid rgba(255, 255, 255, 0.6);
        box-shadow:
            0 0 20px rgba(var(--accent-color-rgb), 0.6),
            0 0 40px rgba(var(--accent-color-rgb), 0.3),
            0 8px 30px rgba(var(--accent-color-rgb), 0.5),
            0 4px 15px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.1),
            0 2px 4px rgba(0, 0, 0, 0.1);
        animation: shimmer 3s ease-in-out infinite, heroGlow 2s ease-in-out infinite alternate;
        letter-spacing: 4px;
        overflow: hidden;
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    /* Light sweep effect */
    .heading-block-image h1::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 50%;
        height: 200%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.4),
                transparent);
        transform: skewX(-25deg);
        animation: lightSweep 4s ease-in-out infinite;
    }

    @keyframes lightSweep {

        0%,
        100% {
            left: -100%;
        }

        50% {
            left: 150%;
        }
    }

    @keyframes heroGlow {
        0% {
            box-shadow:
                0 0 20px rgba(var(--accent-color-rgb), 0.6),
                0 0 40px rgba(var(--accent-color-rgb), 0.3),
                0 8px 30px rgba(var(--accent-color-rgb), 0.5),
                0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
        }

        100% {
            box-shadow:
                0 0 30px rgba(var(--accent-color-rgb), 0.8),
                0 0 60px rgba(var(--accent-color-rgb), 0.4),
                0 8px 40px rgba(var(--accent-color-rgb), 0.6),
                0 4px 20px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
        }
    }

    @keyframes shimmer {

        0%,
        100% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }
    }

    .heading-block-image h1:before {
        display: none;
    }

    .heading-block-image .hero-subtitle {
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.5rem 1.75rem;
        margin: 0.75rem auto 0;
        line-height: 1.3;
        color: var(--main-color);
        background: linear-gradient(135deg,
                #d4a853 0%,
                #f4d785 25%,
                #d4a853 50%,
                #f4d785 75%,
                #d4a853 100%);
        background-size: 200% 100%;
        border-radius: 0;
        display: inline-block;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow:
            0 3px 10px rgba(212, 168, 83, 0.4),
            0 5px 20px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
        animation: goldenShimmer 3s ease-in-out infinite;
        position: relative;
    }

    .heading-block-image .hero-subtitle::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-right: 10px solid #d4a853;
    }

    .heading-block-image .hero-subtitle::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-left: 10px solid #d4a853;
    }

    [dir="rtl"] .heading-block-image .hero-subtitle {
        letter-spacing: 0;
        font-size: 0.85rem;
    }

    /* Hero Numbers - Same as desktop, only size adjustments */
    .hero__numbers {
        padding: 1.25rem 0.5rem;
        gap: 1rem;
    }

    .number__item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .number__value {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .number__text {
        font-size: 0.85rem !important;
    }
}

/* Tablet and Desktop: Show full video */
@media (min-width: 576px) {

    .hero__image,
    .heading-block-image {
        display: none;
    }

    .hero__video {
        display: block;
        height: auto;
        object-fit: contain;
    }
}

.hero__numbers {
    width: 100%;
    background: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hero__numbers {
        gap: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero__numbers {
        height: 50px;
        position: absolute;
        left: 0;
        bottom: 40px;
        display: flex;
        justify-content: center;
        background: transparent
    }

    .hero__numbers:before {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        background-color: var(--accent-color);
        mix-blend-mode: multiply
    }
}

.number__item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 5;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.number__item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .number__item {
        gap: 0.75rem;
    }
}

@media (min-width: 992px) {
    .number__item {
        flex-direction: row;
        height: 50px;
        margin: 0 10px;
        gap: 0;
    }
}

.number__text {
    display: block;
    font-size: 1rem;
    color: var(--color-neutral-gray);
    margin-top: 0.5rem;
}

.number__item .number__text {
    font-size: 0.9rem;
    line-height: 1.2em;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    text-align: center;
}

@media (min-width: 576px) {
    .number__item .number__text {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .number__item .number__text {
        font-size: 1.125rem;
    }
}

@media (min-width: 992px) {
    .number__item .number__text {
        font-size: 20px;
        width: 180px;
        padding: 0 20px;
        text-align: left;
    }
}

.number__value {
    background: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-weight: 900;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4);
}

@media (min-width: 576px) {
    .number__value {
        width: 70px;
        height: 70px;
        border-radius: 35px;
        font-size: 1.75rem;
    }
}

@media (min-width: 992px) {
    .number__value {
        width: 80px;
        height: 80px;
        border-radius: 40px;
        font-size: 30px
    }
}

.number__value:before {
    content: "";
    width: 60px;
    height: 60px;
    display: block;
    position: absolute;
    top: -5px;
    left: -5px;
    border-radius: 30px;
    background: rgba(var(--accent-color-rgb), 0.3);
    z-index: -6
}

@media (min-width: 992px) {
    .number__value:before {
        width: 100px;
        height: 100px;
        top: -10px;
        left: -10px;
        border-radius: 50px;
        background: rgba(var(--accent-color-rgb), 0.3);
    }
}

@media (min-width: 992px) {
    .number__value:after {
        content: "";
        width: 45px;
        height: 90px;
        display: block;
        position: absolute;
        top: -5px;
        right: -5px;
        border-bottom-right-radius: 45px;
        border-top-right-radius: 45px;
        z-index: -3;
        background: rgba(var(--accent-color-rgb), 0.5);
    }
}

/* RTL Support for Hero Numbers */
[dir="rtl"] .number__item .number__text {
    text-align: center;
}

@media (min-width: 992px) {
    [dir="rtl"] .number__item .number__text {
        text-align: right;
    }

    /* Flip decorative element for RTL */
    [dir="rtl"] .number__value:after {
        right: auto;
        left: -5px;
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 45px;
        border-top-left-radius: 45px;
    }

    [dir="rtl"] .number__value:before {
        left: auto;
        right: -10px;
    }
}

/* Keep numbers in LTR for Arabic */
[dir="rtl"] .number__value {
    direction: ltr;
    font-family: 'Outfit', 'Poppins', sans-serif;
}

/* ============================================================================
   SCROLL INDICATOR
   ============================================================================ */
.scroll-indicator {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    animation: scrollIndicatorFadeIn 1s ease-out 2s forwards;
    transition: opacity 0.3s ease;
}

@keyframes scrollIndicatorFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.scroll-arrow i {
    color: #fff;
    font-size: 60px;
    animation: scrollBounce 2s ease-in-out infinite;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.scroll-arrow i:nth-child(2) {
    margin-top: -20px;
    animation-delay: 0.15s;
    opacity: 0.7;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

.scroll-indicator:hover .scroll-arrow i {
    color: #fff;
}

/* Hide scroll indicator when scrolled */
.scroll-indicator.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

@media (max-width: 767px) {
    .scroll-indicator {
        display: none;
    }
}

/* ============================================================================
   WHATSAPP FLOATING BUTTON
   ============================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    z-index: 9999;
    box-shadow:
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 8px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow:
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 8px 40px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow:
            0 4px 30px rgba(37, 211, 102, 0.6),
            0 12px 50px rgba(0, 0, 0, 0.2),
            0 0 0 15px rgba(37, 211, 102, 0.1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
    color: #fff;
    animation: none;
    box-shadow:
        0 8px 30px rgba(37, 211, 102, 0.5),
        0 15px 50px rgba(0, 0, 0, 0.2);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* RTL Support - WhatsApp on RIGHT for Arabic */
[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 30px;
}

/* Mobile */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 20px;
        left: 20px;
    }

    [dir="rtl"] .whatsapp-float {
        left: auto;
        right: 20px;
    }
}

.slick-slider .slick-prev:before {
    content: "?";
    font-family: FontAwesome;
    font-size: 35px;
    color: #b7b6b6
}

.slick-slider .slick-next:before {
    content: "?";
    font-family: FontAwesome;
    font-size: 35px;
    color: #b7b6b6
}

@media (min-width: 992px) {
    .bleed {
        display: -ms-grid !important;
        display: grid !important;
        -ms-grid-columns: calc((100vw - 1400px) / 2) minmax(0, 1fr) minmax(0, 2fr) calc((100vw - 1400px) / 2);
        grid-template-columns: calc((100vw - 1400px) / 2) minmax(0, 1fr) minmax(0, 2fr) calc((100vw - 1400px) / 2);
        -ms-grid-rows: auto;
        grid-template-rows: auto
    }
}

/* ============================================================================
   ABOUT COMPANY SECTION - HOMEPAGE
   ============================================================================ */
.about-company-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--main-color) 0%, #1a3a6b 50%, var(--main-color) 100%);
    overflow: hidden;
}

.about-company-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.about-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--main-color-rgb), 0.92) 0%, rgba(var(--main-color-lighter-rgb), 0.88) 50%, rgba(var(--main-color-rgb), 0.92) 100%);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(var(--accent-color-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fff 0%, transparent 70%);
    bottom: -50px;
    left: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 70%);
    top: 50%;
    left: -50px;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.about-company-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-company-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 80px;
    }
}

.about-company-brand {
    text-align: center;
}

.brand-letters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.letter {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(50px, 10vw, 90px);
    font-weight: 900;
    color: #fff;
    position: relative;
    display: inline-block;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.letter::before {
    content: attr(data-letter);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-color);
    clip-path: inset(50% 0 0 0);
    transition: all 0.4s ease;
}

.letter:hover {
    transform: translateY(-10px) scale(1.1);
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.5);
}

.letter:hover::before {
    color: #fff;
}

/* Staggered animation */
.letter-b {
    animation: letterPop 0.6s ease-out 0.1s both;
}

.letter-a1 {
    animation: letterPop 0.6s ease-out 0.2s both;
}

.letter-m {
    animation: letterPop 0.6s ease-out 0.3s both;
}

.letter-a2 {
    animation: letterPop 0.6s ease-out 0.4s both;
}

.letter-k {
    animation: letterPop 0.6s ease-out 0.5s both;
}

@keyframes letterPop {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tagline-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
}

.tagline-line:last-child {
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.tagline-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.brand-since {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.brand-since i {
    color: var(--accent-color);
}

/* Content Side */
.about-company-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.content-header {
    margin-bottom: 25px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: var(--main-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Company Slogan - Left Side */
.company-slogan {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
}

.slogan-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.slogan-item:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.slogan-item i {
    color: var(--accent-color);
    font-size: clamp(12px, 1.5vw, 18px);
    transition: all 0.3s ease;
}

.slogan-item:hover i {
    transform: scale(1.2);
}

.slogan-dot {
    color: var(--accent-color);
    font-size: clamp(12px, 1.8vw, 20px);
    font-weight: bold;
    opacity: 0.6;
}

@media (max-width: 576px) {
    .company-slogan {
        gap: 8px;
        padding: 12px 18px;
    }

    .slogan-item {
        gap: 4px;
    }
}

.content-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

/* About CTA Button */
.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-color);
    color: var(--main-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.3);
}

.about-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(var(--accent-color-rgb), 0.4);
    color: var(--main-color);
}

.about-cta-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--main-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.about-cta-btn .btn-icon i {
    color: #fff;
    font-size: 12px;
}

.about-cta-btn:hover .btn-icon {
    transform: translateX(5px);
}

[dir="rtl"] .about-cta-btn:hover .btn-icon {
    transform: translateX(-5px);
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .about-company-section {
        padding: 60px 0;
    }

    .about-company-content {
        padding: 30px 20px;
    }

    .about-cta-btn {
        display: flex;
        width: fit-content;
        margin: 0 auto;
    }
}

/* ============================================================================
   SERVICES SECTION 
   ============================================================================ */
.services-nav {
    list-style-type: none;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 100%;
    justify-content: center;
}

.services-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: #fff;
    border-radius: 4px;
    border: 2px solid #e0e4e8;
    border-left: 4px solid var(--main-color);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 0.75rem;
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    position: relative;
    overflow: hidden;
}

.services-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(var(--main-color-rgb), 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--main-color-rgb), 0.02) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-nav-item:hover::before {
    opacity: 1;
}

.services-nav-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent var(--accent-color) transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-nav-item:hover::after {
    opacity: 1;
}

.services-nav-item img,
.services-nav-item svg {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.services-nav-item i {
    font-size: 34px;
    color: var(--main-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.services-nav-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.services-nav-item:hover {
    background: #fff;
    border-color: var(--main-color);
    border-left-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(var(--main-color-rgb), 0.12);
    transform: translateY(-2px);
}

.services-nav-item:hover i {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Active State - Construction Marker Style */
.services-nav-item-active,
.services-nav-item--active {
    background: var(--main-color);
    border-color: var(--main-color);
    border-left-color: var(--accent-color);
    box-shadow: 0 6px 25px rgba(var(--main-color-rgb), 0.2);
}

.services-nav-item-active::after,
.services-nav-item--active::after {
    opacity: 1;
}

.services-nav-item-active i,
.services-nav-item--active i {
    color: var(--accent-color);
}

.services-nav-item-active span,
.services-nav-item--active span {
    color: var(--accent-color);
}

[dir='rtl'] .services-nav-item {
    border-left: 2px solid #e0e4e8;
    border-right: 4px solid var(--main-color);
}

[dir='rtl'] .services-nav-item:hover,
[dir='rtl'] .services-nav-item-active,
[dir='rtl'] .services-nav-item--active {
    border-right-color: var(--accent-color);
}

[dir='rtl'] .services-nav-item::after {
    right: auto;
    left: 0;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent transparent var(--accent-color);
}

/* Services Slider Container */
.services-slider-container {
    position: relative;
    overflow: hidden;
}

.services-slider {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid #e0e4e8;
    /* border-left: 5px solid var(--main-color); */
    position: relative;
}

/* Blueprint pattern on slider */
.services-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(var(--main-color-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--main-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

[dir='rtl'] .services-slider {
    border-left: 2px solid #e0e4e8;
    border-right: 5px solid var(--main-color);
}

/* Services Item (Individual Service Card in Slider) */
.services-item {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    text-decoration: none;
    color: inherit;
}

.services-item-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1.5rem;
    height: auto;
    min-height: 22em;
    background: #fff;
    position: relative;
    z-index: 1;
}

.services-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 8px;
    background-color: var(--main-color);
    position: relative;
    transition: all 0.3s ease;
}

/* Cut corner detail */
.services-item-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 16px 16px 0;
    border-color: transparent var(--accent-color) transparent transparent;
}

.services-item:hover .services-item-icon {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.25);
}

.services-item-icon i {
    font-size: 36px;
    color: #fff;
    transition: transform 0.3s ease;
}

.services-item:hover .services-item-icon i {
    transform: scale(1.1);
}

.services-item-title {
    font-size: 1.4rem;
    line-height: 1.3em;
    font-weight: 700;
    text-align: center;
    color: var(--main-color);
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1.75rem;
    letter-spacing: 1px;
}

/* Technical underline with measurement marks */
.services-item-title:before {
    content: "";
    width: 100px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}

.services-item-title:after {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -4px;
    transform: rotate(45deg);
}

.services-item-intro,
.services-item-intro p {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    color: #424a54;
    margin-bottom: 1.5rem;
}

.services-item-intro ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 15px;
    text-align: left;
}

[dir="rtl"] .services-item-intro ul {
    text-align: right;
}

.services-item-intro li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 500;
    color: #424a54;
}

[dir="rtl"] .services-item-intro li {
    padding-left: 0;
    padding-right: 30px;
}

.services-item-intro li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-success-green);
    font-size: 16px;
}

[dir="rtl"] .services-item-intro li::before {
    left: auto;
    right: 0;
}

.services-item-image {
    min-height: 250px;
    width: 100%;
    grid-column: 1;
    background-size: cover !important;
}

/* Tablet and Desktop - Services */
@media (min-width: 768px) {
    .services-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .services-nav-item {
        flex: 0 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .services-item {
        grid-template-columns: 2fr 3fr;
    }

    .services-item-wrap {
        grid-column: 1;
        padding: 3rem 2rem;
    }

    .services-item-image {
        grid-column: 2;
        min-height: 100%;
    }

    .services-item-icon {
        width: 100px;
        height: 100px;
    }

    .services-item-title {
        font-size: 2rem;
    }

    .services-item-intro,
    .services-item-intro p {
        font-size: 1.05rem;
    }
}

/* Desktop - Services Navigation - Engineering Style */
@media (min-width: 992px) {
    .services-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        max-width: 1400px;
        margin-bottom: 2em;
        gap: 0.5rem;
        position: relative;
        padding: 0 1rem;
    }

    /* Bottom connection line */
    .services-nav:before {
        content: "";
        display: block;
        position: absolute;
        width: 90%;
        height: 3px;
        left: 5%;
        bottom: -15px;
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    }

    /* Arrow indicator */
    .services-nav:after {
        content: "";
        display: block;
        position: absolute;
        width: 0;
        height: 0;
        bottom: -25px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid var(--accent-color);
        left: var(--arrow-position, 85px);
        margin-left: -10px;
        transition: left 0.3s ease-out;
    }

    .services-nav-item {
        text-align: center;
        padding: 1rem 1.25rem;
        flex-direction: column;
        flex: 1;
        max-width: none;
        background: #fff;
        border: 2px solid #e0e4e8;
        border-left: 4px solid var(--main-color);
        border-radius: 4px;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

    /* Blueprint grid on desktop */
    .services-nav-item::before {
        background-image:
            linear-gradient(rgba(var(--main-color-rgb), 0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(var(--main-color-rgb), 0.02) 1px, transparent 1px);
        background-size: 8px 8px;
    }

    /* Corner accent on desktop */
    .services-nav-item::after {
        border-width: 0 18px 18px 0;
    }

    .services-nav-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(var(--main-color-rgb), 0.15);
    }

    .services-nav-item img,
    .services-nav-item svg {
        width: 36px;
        height: 36px;
    }

    .services-nav-item i {
        font-size: 30px;
    }

    .services-nav-item span {
        font-size: 0.75rem;
        line-height: 1.2;
        font-weight: 700;
    }

    .services-nav-item-active,
    .services-nav-item--active {
        background: var(--main-color);
        border-color: var(--main-color);
        border-left-color: var(--accent-color);
        box-shadow: 0 6px 25px rgba(var(--main-color-rgb), 0.2);
    }

    [dir='rtl'] .services-nav-item {
        border-left: 2px solid #e0e4e8;
        border-right: 4px solid var(--main-color);
    }

    [dir='rtl'] .services-nav-item-active,
    [dir='rtl'] .services-nav-item--active {
        border-right-color: var(--accent-color);
    }

    .services-item {
        grid-template-columns: 2fr 3fr;
        height: 35em;
    }

    .services-item-wrap {
        grid-column: 1;
        height: 35em;
    }

    .services-item-image {
        grid-column: 2;
        min-height: 15em;
    }

    .services-item-icon {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
        flex-shrink: 0;
    }

    .services-item-title {
        font-size: 30px;
        margin-bottom: 30px;
        padding: 0 20px;
        line-height: 1.5;
    }

    .services-item-intro,
    .services-item-intro p {
        margin-bottom: 20px;
        max-width: 100% !important;
    }
}

/* ============================================================================
   WORKFLOW SECTION
   ============================================================================ */

.workflow-slider-wrapper {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.workflow-slider {
    /* padding: 20px 40px; */
    position: relative;
    display: block;
}

/* Workflow Slider Navigation Arrows */
.workflow-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    color: var(--main-color);
    font-size: 22px;
}

.workflow-slider-arrow:hover {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.3);
}

.workflow-slider-arrow.slick-prev {
    left: 0;
}

.workflow-slider-arrow.slick-next {
    right: 0;
}

/* Hide default slick arrow pseudo-elements */
.workflow-slider-arrow:before {
    display: none !important;
}

[dir="rtl"] .workflow-slider-arrow.slick-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .workflow-slider-arrow.slick-next {
    right: auto;
    left: 0;
}

.workflow-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding-top: 10px;
}

/* Workflow Item */
.workflow-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5em 1em;
    min-height: 16em;
    position: relative;
    height: auto;
    width: calc(20% - 20px);
    min-width: 180px;
    max-width: 240px;
    flex: 0 0 auto;
    transition: all .3s ease-out 0s;
    border-radius: 16px;
    margin: 10px 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: visible !important;
    cursor: default !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.workflow-item:hover {
    z-index: 100 !important;
    transform: translateY(-10px) scale(1.02) !important;
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(var(--main-color-rgb), 0.35), 0 0 20px rgba(var(--accent-color-rgb), 0.2) !important;
}

/* Workflow Item Background */
.workflow-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.3s ease-out 0s;
    border-radius: 20px;
}

.workflow-item:hover .workflow-item-bg {
    opacity: 0.5;
}

/* Workflow Item Badge (Number) */
.workflow-item-badge {
    z-index: 10;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-top: 50px;
}

.workflow-item-badge .fa-circle {
    display: none !important;
}

.workflow-item-badge:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--main-color);
}

.workflow-item-number {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    z-index: 1;
}

.workflow-item:hover .workflow-item-number {
    color: var(--accent-color);
}

/* Workflow Item Title */
.workflow-item-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 1.4em;
    transition: all .3s ease-out 0s;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.workflow-item-title:before {
    content: "";
    width: 120px;
    height: 3px;
    background: var(--accent-color);
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -60px;
    transition: all .3s ease-out 0s;
}

/* Workflow Item Intro */
.workflow-item-intro {
    color: rgba(255, 255, 255, 0.95) !important;
    height: 90px;
    opacity: 1;
    max-width: 23em;
    transition: all .3s ease-out 0s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    z-index: 2;
}

/* Workflow Icon */
.workflow-icon {
    margin-top: 15px;
    font-size: 40px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.workflow-icon img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.workflow-item:hover .workflow-icon {
    transform: scale(1.2);
    color: #fff;
}

/* Workflow Arrow */
.workflow-item-arrow {
    position: absolute;
    top: 50%;
    right: -35px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 28px;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 900;
}

[dir="rtl"] .workflow-item-arrow {
    right: auto;
    left: -35px;
}

/* Arrow hover - golden color, white background stays */
.workflow-item:hover .workflow-item-arrow {
    color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.3);
}

.workflow-item-arrow i {
    animation: slideRightBounce 2s infinite;
}

[dir="rtl"] .workflow-item-arrow i {
    animation: slideLeftBounce 2s infinite;
}

/* Responsive Workflow */
@media (max-width: 992px) {
    .workflow-item {
        max-width: 100%;
        width: 100%;
        margin: 10px 3px;
    }

    .workflow-item-arrow {
        right: -25px;
        width: 50px;
        height: 50px;
    }

    .workflow-item-intro {
        font-size: 1rem !important;
        line-height: 1.5;
        padding: 0 5px;
    }

    .workflow-item-title {
        font-size: 1.25rem !important;
    }

    .workflow-item-badge {
        margin-top: 15px;
    }
}


/* WORKFLOW SECTION - Animations & Base Styles */
.workflow-section {
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
    overflow: hidden;
}


.h-workflow-arrow i {
    animation: slideRightBounce 2s infinite;
}

[dir="rtl"] .h-workflow-arrow i {
    animation: slideLeftBounce 2s infinite;
}

/* Mobile arrow styles removed as per request */
@keyframes slideRightBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(5px);
    }

    60% {
        transform: translateX(3px);
    }
}

@keyframes slideLeftBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }

    40% {
        transform: translateX(-5px);
    }

    60% {
        transform: translateX(-3px);
    }
}

@keyframes slideDownBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

/* ============================================
   SECTORS SECTION
   ============================================ */
.sectors-section {
    padding: 60px 0;
}

/* Sectors Grid - 4 items per row */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sectors-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Slider Support */
@media (max-width: 767px) {
    .sectors-grid.slick-initialized {
        display: block;
    }

    .sectors-grid .slick-slide {
        margin: 0 10px;
    }

    .sectors-grid .slick-list {
        margin: 0 -10px;
        min-height: 450px;
    }
}

/* Sector Card - Square Design */
.sector-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 420px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(var(--main-color-rgb), 0.08);
    border: 2px solid transparent;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--main-color-rgb), 0.12);
    background: var(--main-color);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* SECTORS - Card Styles */
.sector-card-image-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

.sector-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: ellipse(100% 60% at 50% 0%);
    transition: all 0.3s ease;
    transform-origin: top center;
}

.sector-card:hover .sector-card-image {
    clip-path: ellipse(100% 80% at 50% 0%);
    transform: scale(1.05);
}

.sector-card-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: -100px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sector-card:hover .sector-card-icon-wrapper {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    box-shadow: 0 10px 25px rgba(var(--accent-color-rgb), 0.25);
}

.sector-card-icon {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}

.sector-card-icon-fa {
    font-size: 40px;
    color: var(--main-color);
    transition: all 0.3s ease;
}

.sector-card:hover .sector-card-icon-fa {
    color: #ffffff;
}

.sector-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--main-color);
    text-shadow: none;
    margin: 0 20px 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
    z-index: 2;
    position: relative;
}

.sector-card:hover .sector-card-title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sector-card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 20px 20px;
    min-height: 50px;
    z-index: 2;
    position: relative;
}

.sector-card-tags .sector-tag {
    background: var(--accent-color);
    color: var(--main-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sector-card:hover .sector-card-tags .sector-tag {
    background: white;
    color: var(--main-color);
    border-color: rgba(var(--accent-color-rgb), 0.3);
    transform: translateY(-2px);
}

.sector-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--main-color) 0%, #1a3a6b 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin: auto 20px 25px;
    z-index: 1;
}

.sector-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    transition: left 0.4s ease;
    z-index: 0;
}

[dir="rtl"] .sector-card-btn::before {
    left: auto;
    right: -100%;
    transition: right 0.4s ease;
}

.sector-card-btn span,
.sector-card-btn i {
    position: relative;
    z-index: 1;
}

.sector-card:hover .sector-card-btn {
    color: var(--main-color) !important;
}

.sector-card:hover .sector-card-btn::before {
    left: 0;
}

[dir="rtl"] .sector-card:hover .sector-card-btn::before {
    right: 0;
}

.sector-card-btn i {
    transition: transform 0.3s ease;
}

.sector-card:hover .sector-card-btn i {
    transform: translateX(5px);
}

[dir="rtl"] .sector-card:hover .sector-card-btn i {
    transform: translateX(-5px);
}

.sector-card-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    border: 2px solid #ffffff;
    background: transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.sector-card:hover .sector-card-border {
    border-color: var(--main-color);
}

@media (max-width: 767px) {
    .sector-card-image-wrapper {
        height: 220px;
        margin-bottom: 0;
    }

    .sector-card-icon-wrapper {
        width: 80px;
        height: 80px;
        margin: -120px auto 15px;
    }

    .sector-card-icon-fa {
        font-size: 40px;
    }

    .sector-card-title {
        font-size: 19px;
        margin: 0 15px 12px;
    }

    .sector-card-tags {
        margin: 0 15px 15px;
        min-height: 45px;
    }

    .sector-card-btn {
        padding: 10px 24px;
        font-size: 13px;
        margin: auto 15px 20px;
    }
}


/* ============================================
   EXPERIENCES SECTION (Why Choose Us)
   ============================================ */
.experiences-section {
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.experiences-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.experience-item {
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.experience-watermark {
    position: absolute;
    bottom: -15px;
    right: 10px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(var(--main-color-rgb), 0.06);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s ease;
    font-family: 'Outfit', sans-serif;
}

.experience-item:hover .experience-watermark {
    color: rgba(var(--accent-color-rgb), 0.15);
    transform: scale(1.1);
}

[dir="rtl"] .experience-watermark {
    right: auto;
    left: 10px;
}

.experience-item:hover {
    transform: translateY(-15px) scale(1.05);
    background: #fff;
    border-color: var(--main-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.experience-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(var(--accent-color-rgb), 0.3);
}

.experience-item:hover .experience-icon-wrapper {
    background: linear-gradient(135deg, var(--main-color) 0%, #1a3a6b 100%);
    box-shadow: 0 0 0 0 rgba(var(--main-color-rgb), 0.7),
        0 0 0 10px rgba(var(--main-color-rgb), 0.4),
        0 0 0 20px rgba(var(--main-color-rgb), 0.2),
        0 12px 30px rgba(var(--main-color-rgb), 0.4);
    animation: iconPulseBlue 1.5s ease-in-out infinite;
}

@keyframes iconPulseBlue {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.experience-icon {
    font-size: 45px;
    color: var(--main-color);
    transition: all 0.3s ease;
}

.experience-item:hover .experience-icon {
    color: #fff;
    animation: iconBounce 0.6s ease;
}

.experience-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.experience-item:hover .experience-icon-img {
    transform: scale(1.1);
}

.experience-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-title {
    color: var(--accent-color);
}

.experience-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-description {
    color: #444;
}

@media (max-width: 1199px) {
    .experiences-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 991px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .experience-item {
        padding: 30px 15px;
    }
}

@media (max-width: 1200px) {
    .experiences-grid {
        display: block;
    }

    .experience-item {
        margin-bottom: 20px;
    }

    .experiences-grid.slick-initialized {
        display: block;
    }

    .experiences-grid .slick-slide {
        margin: 0 10px;
    }

    .experiences-grid .slick-list {
        margin: 0 -10px;
        padding: 20px 0 20px 0 !important;
    }

    .experiences-section {
        overflow: visible !important;
        padding-bottom: 60px !important;
    }

    .experiences-grid .slick-dots {
        bottom: -40px;
    }

    .experiences-grid .slick-dots li button:before {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .experiences-grid .slick-dots li.slick-active button:before {
        background-color: var(--main-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 576px) {
    .experience-icon-wrapper {
        width: 75px;
        height: 75px;
        margin: 0 auto 25px;
    }

    .experience-icon {
        font-size: 35px;
    }

    .experience-title {
        font-size: 18px;
    }

    .experience-description {
        font-size: 13px;
    }
}

/* ============================================================================
   BLOG SECTION
   ============================================================================ */
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), #ff6b6b, var(--main-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--main-color), #ff6b6b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(216, 38, 47, 0.2);
}

.blog-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.15);
    filter: brightness(0.9);
}

.blog-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-card-gradient {
    opacity: 1;
}

.blog-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff80;
    justify-content: center;
    color: var(--main-color);
    padding: 8px 15px;
    border-radius: 50px;
    border: 2px solid var(--main-color);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgb(235 0 50 / 40%);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.blog-featured-badge i {
    font-size: 14px;
}

[dir="rtl"] .blog-featured-badge {
    right: auto;
    left: 15px;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i,
.blog-read-time i {
    color: var(--main-color);
    font-size: 14px;
}

.blog-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: var(--main-color);
    transform: translateX(5px);
}

[dir="rtl"] .blog-card:hover .blog-card-title {
    transform: translateX(-5px);
}

.blog-card-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--main-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    position: relative;
    padding: 12px 0;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-read-more::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--main-color), #ff6b6b);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-read-more::before {
    width: 100%;
}

.read-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.blog-card:hover .read-more-icon {
    transform: translateX(8px) rotate(360deg);
    background: linear-gradient(135deg, var(--main-color), #ff6b6b);
}

[dir="rtl"] .blog-card:hover .read-more-icon {
    transform: translateX(-8px) rotate(-360deg);
}

.btn-visit-blog {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--main-color) 0%, #b01e26 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(216, 38, 47, 0.3);
}

.btn-visit-blog::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-visit-blog:hover::before {
    width: 300px;
    height: 300px;
}

.btn-visit-blog:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(216, 38, 47, 0.4);
    color: #fff;
}

.btn-visit-blog i {
    transition: transform 0.3s ease;
}

.btn-visit-blog:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .btn-visit-blog:hover i {
    transform: translateX(-5px);
}

/* Simple View Details Button */
.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-view-details .read-more-text {
    transition: all 0.3s ease;
}

.btn-view-details .read-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-view-details .read-more-icon i {
    font-size: 12px;
}

.h-metodo__item:hover .btn-view-details .read-more-text {
    color: var(--accent-color, var(--accent-color));
}

.h-metodo__item:hover .btn-view-details .read-more-icon {
    background: var(--accent-color, var(--accent-color));
    transform: translateX(5px);
}

[dir="rtl"] .h-metodo__item:hover .btn-view-details .read-more-icon {
    transform: translateX(-5px);
}

/* Services item hover for btn-view-details */
.services-item .btn-view-details {
    background: var(--main-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.services-item .btn-view-details .read-more-text {
    color: #fff;
}

.services-item .btn-view-details .read-more-icon {
    background: var(--accent-color);
    color: var(--main-color);
}

.services-item:hover .btn-view-details {
    background: var(--accent-color);
    border-left-color: var(--main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.3);
}

.services-item:hover .btn-view-details .read-more-text {
    color: var(--main-color);
}

.services-item:hover .btn-view-details .read-more-icon {
    background: var(--main-color);
    color: #fff;
    transform: translateX(5px);
}

[dir="rtl"] .services-item .btn-view-details {
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

[dir="rtl"] .services-item:hover .btn-view-details {
    border-right-color: var(--main-color);
}

[dir="rtl"] .services-item:hover .btn-view-details .read-more-icon {
    transform: translateX(-5px);
}

@media (max-width: 992px) {
    .blog-card-image-wrapper {
        height: 220px;
    }

    .blog-card-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .blog-card-image-wrapper {
        height: 200px;
    }

    .blog-card-title {
        font-size: 18px;
    }

    .blog-card-excerpt {
        font-size: 14px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .blog-card-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-card {
        margin-bottom: 20px;
    }

    .blog-card-image-wrapper {
        height: 180px;
    }

    .btn-visit-blog {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

/* Modern Engineering Background */
.cta-engineering-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.cta-engineering-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('/images/Logo-transparent.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.02;
    pointer-events: none;
}

/* Engineering Grid Pattern */
.engineering-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(var(--main-color-rgb), 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--main-color-rgb), 0.04) 1px, transparent 1px), linear-gradient(rgba(var(--accent-color-rgb), 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    opacity: 0.6;
}

/* Engineering Tools Base */
.engineering-tool {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
}

/* Ruler - Horizontal */
.tool-ruler {
    width: 300px;
    height: 40px;
    background: linear-gradient(to right, var(--main-color) 0%, var(--main-color) 2%, transparent 2%, transparent 8%, var(--main-color) 8%, var(--main-color) 10%, transparent 10%);
    background-size: 30px 100%;
    border: 2px solid var(--main-color);
    border-radius: 4px;
    top: 10%;
    right: -100px;
    transform: rotate(-15deg);
    animation: floatRuler 25s ease-in-out infinite;
}

/* Compass - Circle with legs */
.tool-compass {
    width: 120px;
    height: 120px;
    top: 60%;
    left: -60px;
    animation: floatCompass 20s ease-in-out infinite;
}

.tool-compass::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    border-style: dashed;
}

.tool-compass::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 80px;
    background: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    transform-origin: top center;
}

/* Triangle - Set Square */
.tool-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--main-color);
    top: 20%;
    left: 5%;
    transform: rotate(25deg);
    animation: floatTriangle 30s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(var(--main-color-rgb), 0.2));
}

/* Pencil */
.tool-pencil {
    width: 200px;
    height: 20px;
    background: linear-gradient(to right, var(--accent-color) 0%, var(--accent-color) 70%, #2c3e50 70%, #2c3e50 75%, var(--main-color) 75%);
    border-radius: 10px;
    bottom: 15%;
    right: 10%;
    transform: rotate(-45deg);
    animation: floatPencil 18s ease-in-out infinite;
}

.tool-pencil::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid var(--main-color);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Protractor - Half Circle */
.tool-protractor {
    width: 180px;
    height: 90px;
    border: 3px solid var(--accent-color);
    border-bottom: none;
    border-radius: 180px 180px 0 0;
    bottom: 25%;
    left: 15%;
    transform: rotate(-20deg);
    animation: floatProtractor 22s ease-in-out infinite;
    position: relative;
}

.tool-protractor::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.tool-protractor::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 90px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Animations */
@keyframes floatRuler {

    0%,
    100% {
        transform: translate(0, 0) rotate(-15deg);
    }

    50% {
        transform: translate(-150px, 80px) rotate(-5deg);
    }
}

@keyframes floatCompass {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(100px, -50px) rotate(180deg);
    }
}

@keyframes floatTriangle {

    0%,
    100% {
        transform: translate(0, 0) rotate(25deg);
    }

    33% {
        transform: translate(50px, 60px) rotate(35deg);
    }

    66% {
        transform: translate(-30px, 40px) rotate(15deg);
    }
}

@keyframes floatPencil {

    0%,
    100% {
        transform: translate(0, 0) rotate(-45deg);
    }

    50% {
        transform: translate(-80px, 60px) rotate(-35deg);
    }
}

@keyframes floatProtractor {

    0%,
    100% {
        transform: translate(0, 0) rotate(-20deg);
    }

    50% {
        transform: translate(70px, -40px) rotate(-10deg);
    }
}

/* Architectural Elements - Roof Shapes from Logo */
.architectural-element {
    position: absolute;
    pointer-events: none;
    opacity: 0.06;
    will-change: transform;
}

/* Roof Shape 1 - Large */
.roof-1 {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 150px solid var(--main-color);
    top: 5%;
    right: 8%;
    animation: floatRoof1 35s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(var(--main-color-rgb), 0.15));
}

.roof-1::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-bottom: 135px solid var(--accent-color);
    top: 10px;
    left: -180px;
}

.roof-1::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 80px;
    background: var(--main-color);
    top: 150px;
    left: -20px;
    border-radius: 0 0 4px 4px;
}

/* Roof Shape 2 - Medium */
.roof-2 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 110px solid var(--accent-color);
    bottom: 15%;
    left: 10%;
    animation: floatRoof2 28s ease-in-out infinite;
    filter: drop-shadow(0 0 25px rgba(var(--accent-color-rgb), 0.15));
}

.roof-2::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 135px solid transparent;
    border-right: 135px solid transparent;
    border-bottom: 100px solid var(--main-color);
    top: 8px;
    left: -135px;
}

/* Roof Shape 3 - Small */
.roof-3 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 90px solid var(--main-color);
    top: 50%;
    right: 15%;
    animation: floatRoof3 32s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(var(--main-color-rgb), 0.12));
}

.roof-3::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 108px solid transparent;
    border-right: 108px solid transparent;
    border-bottom: 81px solid var(--accent-color);
    top: 7px;
    left: -108px;
}

/* Roof Animations */
@keyframes floatRoof1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-60px, 40px) rotate(-3deg);
    }

    50% {
        transform: translate(-30px, 80px) rotate(2deg);
    }

    75% {
        transform: translate(40px, 50px) rotate(-2deg);
    }
}

@keyframes floatRoof2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, -30px) rotate(4deg);
    }

    66% {
        transform: translate(-40px, -60px) rotate(-3deg);
    }
}

@keyframes floatRoof3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    40% {
        transform: translate(-50px, 30px) rotate(-4deg);
    }

    80% {
        transform: translate(30px, -40px) rotate(3deg);
    }
}

/* White CTA Wrapper - Glassmorphism Style */
.cta-wrapper-white {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(var(--main-color-rgb), 0.1), 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-wrapper-white:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 12px 40px rgba(var(--main-color-rgb), 0.15), 0 0 0 1px rgba(255, 255, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

/* CTA Icon */
.cta-icon-wrapper {
    margin-bottom: 25px;
}

.cta-icon-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(var(--main-color-rgb), 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.3), 0 0 0 8px rgba(var(--accent-color-rgb), 0.1), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    animation: pulse-icon 2s ease-in-out infinite;
    position: relative;
}

.cta-icon-white::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    opacity: 0.3;
    animation: pulse-ring-white 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.cta-icon-white i {
    font-size: 40px;
    color: #fff;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-ring-white {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* CTA Title */
.cta-title-dark {
    font-size: 48px;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 4px rgba(var(--main-color-rgb), 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Description */
.cta-description-dark {
    font-size: 20px;
    color: #5a6c7d;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.cta-button-wrapper {
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button-red {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--main-color);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.3), 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
}

.cta-button-red::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.cta-button-red:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button-text,
.cta-button-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-button-red:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--accent-color);
    border-color: var(--main-color);
    box-shadow: 0 15px 45px rgba(var(--main-color-rgb), 0.4), 0 0 0 6px rgba(var(--accent-color-rgb), 0.2);
    color: var(--main-color);
}

.cta-button-icon i {
    transition: transform 0.3s ease;
}

.cta-button-red:hover .cta-button-icon i {
    transform: translateX(5px);
}

[dir="rtl"] .cta-button-red:hover .cta-button-icon i {
    transform: translateX(-5px);
}

/* CTA Quick Stats */
.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.cta-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    border-left: 5px solid var(--main-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--main-color-rgb), 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-stat-item:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: var(--main-color);
    border-left-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.15), 0 0 0 3px rgba(var(--accent-color-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 12px;
    border: 2px solid var(--main-color);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(var(--accent-color-rgb), 0.3);
}

.cta-stat-icon i {
    font-size: 24px;
    color: var(--main-color);
}

.cta-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.cta-stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-stat-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 700;
}

/* CTA Trust Badges */
.cta-trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 15px;
    border-top: 3px solid var(--accent-color);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.cta-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 25px;
    border: 2px solid rgba(var(--main-color-rgb), 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(var(--main-color-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-badge:hover {
    background: rgba(var(--accent-color-rgb), 0.9);
    backdrop-filter: blur(10px);
    border-color: var(--main-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(var(--accent-color-rgb), 0.3), 0 0 0 3px rgba(var(--main-color-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-badge i {
    font-size: 18px;
    color: var(--main-color);
    transition: color 0.3s ease;
}

.cta-badge:hover i {
    color: var(--main-color);
}

.cta-badge span {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-badge:hover span {
    color: var(--main-color);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-wrapper-white {
        padding: 50px 30px;
        max-width: 100%;
    }

    .cta-title-dark {
        font-size: 38px;
    }

    .cta-description-dark {
        font-size: 18px;
    }

    .cta-stats {
        gap: 20px;
    }

    .architectural-element {
        opacity: 0.04;
    }
}

@media (max-width: 768px) {
    .cta-wrapper-white {
        padding: 40px 25px;
        border-radius: 20px;
        max-width: 100%;
    }

    .cta-icon-white {
        width: 75px;
        height: 75px;
    }

    .cta-icon-white i {
        font-size: 35px;
    }

    .cta-title-dark {
        font-size: 32px;
    }

    .cta-description-dark {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-button-red {
        padding: 15px 35px;
        font-size: 16px;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cta-stat-item {
        padding: 15px;
    }

    .cta-trust-badges {
        gap: 15px;
    }

    .architectural-element,
    .engineering-tool {
        display: none;
    }
}

@media (max-width: 576px) {
    .cta-wrapper-white {
        padding: 35px 20px;
        max-width: 100%;
    }

    .cta-icon-white {
        width: 65px;
        height: 65px;
    }

    .cta-icon-white i {
        font-size: 30px;
    }

    .cta-title-dark {
        font-size: 28px;
    }

    .cta-description-dark {
        font-size: 15px;
    }

    .cta-button-red {
        width: 100%;
        justify-content: center;
    }

    .cta-stats {
        margin-bottom: 25px;
    }

    .cta-stat-icon {
        width: 45px;
        height: 45px;
    }

    .cta-stat-icon i {
        font-size: 20px;
    }

    .cta-stat-label {
        font-size: 12px;
    }

    .cta-stat-value {
        font-size: 14px;
    }

    .cta-trust-badges {
        flex-direction: column;
        gap: 12px;
    }

    .cta-badge {
        width: 100%;
        justify-content: center;
    }

    .bubble {
        display: none;
    }
}

/* ============================================================================
   OUR TEAM SECTION 
   ============================================================================ */

/* Section Container */
.our-team-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

/* Team Header */
.team-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.team-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--main-color, var(--main-color));
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.team-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color, var(--accent-color)), var(--main-color, var(--main-color)));
    border-radius: 2px;
}

.team-section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 1.5rem auto 0;
    text-align: center;
}

/* RTL Support for Team Header */
[dir="rtl"] .team-section-description {
    text-align: center;
}

/* Team Statistics Grid */
.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.team-stat-card {
    background: var(--main-color, var(--main-color));
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(var(--main-color-rgb), 0.2);
}

.team-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(var(--main-color-rgb), 0.3);
}

.team-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color, var(--accent-color));
}

.team-stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color, var(--accent-color));
    line-height: 1;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.team-stat-number .plus-sign {
    font-size: 2rem;
    color: var(--accent-color, var(--accent-color));
}

.team-stat-card .team-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.team-stat-bg-icon {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.08);
    z-index: 1;
    transition: all 0.4s ease;
}

[dir="rtl"] .team-stat-bg-icon {
    right: auto;
    left: -10px;
}

.team-stat-card:hover .team-stat-bg-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(255, 255, 255, 0.12);
}

/* Team Marquee Slider */
.team-marquee-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 2rem 0 2rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(var(--main-color-rgb), 0.03) 50%, transparent 100%);
}

.team-marquee {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    cursor: grab;
    padding: 15px 0;
    /* Space for hover scale effect */
}

.team-marquee:active {
    cursor: grabbing;
}

/* Team Marquee Track - Auto-Scrolling on All Devices */
.team-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.5rem;
    width: max-content;
    padding: 0 1rem;
    animation: team-marquee-scroll 35s linear infinite;
}

/* RTL: Reverse animation direction */
[dir="rtl"] .team-marquee-track {
    animation-name: team-marquee-scroll-rtl;
}

/* Pause animation on hover/touch */
.team-marquee:hover .team-marquee-track,
.team-marquee:active .team-marquee-track {
    animation-play-state: paused;
}

/* Show all duplicate items for seamless loop */
.team-member-hex:nth-child(n+10) {
    display: flex;
}

/* Tablet and Mobile: Faster animation */
@media (max-width: 991px) {
    .team-marquee-track {
        animation-duration: 25s;
    }
}

/* Auto-scroll animation for team marquee - LTR */
@keyframes team-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* RTL animation - content starts visible and scrolls to the right */
@keyframes team-marquee-scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Team Member Hexagon */
.team-member-hex {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 15px;
    margin: -15px;
}

.team-member-hex:hover {
    transform: translateY(-5px);
    /* Soft golden glow effect on hover */
    filter: drop-shadow(0 0 8px rgba(var(--accent-color-rgb), 0.4)) drop-shadow(0 0 18px rgba(var(--accent-color-rgb), 0.25));
}

.hex-wrapper {
    width: 120px;
    height: 138px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, var(--accent-color, var(--accent-color)) 0%, var(--accent-color-darker) 100%);
    padding: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
}

/* Glow effect using pseudo-element */
.hex-wrapper::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--accent-color, var(--accent-color)) 0%, var(--accent-color-darker) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.4s ease;
}

.team-member-hex:hover .hex-wrapper::before {
    opacity: 0.7;
}

.team-member-hex:hover .hex-wrapper {
    transform: scale(1.05);
}

.hex-image {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}

/* Subtle brightness and contrast enhancement on hover */
.team-member-hex:hover .hex-image {
    filter: brightness(1.08) contrast(1.05);
}

.member-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--main-color, var(--main-color));
    text-align: center;
    margin: 0;
    padding: 0.4rem 0.6rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    max-width: 130px;
    line-height: 1.3;
    /* Allow 2 lines of text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    transition: all 0.3s ease;
}

.team-member-hex:hover .member-title {
    background: var(--main-color, var(--main-color));
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--main-color-rgb), 0.3);
}

/* Responsive Styles for Team Section */
@media (max-width: 991px) {
    .team-section-title {
        font-size: 2rem;
    }

    .team-section-description {
        font-size: 1rem;
    }

    .team-stats-grid {
        gap: 1rem;
    }

    .team-stat-number {
        font-size: 2.5rem;
    }

    .team-stat-card .team-stat-label {
        font-size: 0.85rem;
    }

    .team-stat-bg-icon {
        font-size: 4rem;
    }

    /* Keep hex-wrapper size consistent */

    .team-marquee-track {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .team-stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .team-stat-card {
        padding: 1.25rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team-stat-number {
        font-size: 2rem;
    }

    .team-stat-number .plus-sign {
        font-size: 1.5rem;
    }

    .team-stat-bg-icon {
        font-size: 3rem;
        bottom: 50%;
        right: 10px;
        transform: translateY(50%);
        opacity: 0.5;
    }

    [dir="rtl"] .team-stat-bg-icon {
        right: auto;
        left: 10px;
    }

    .team-section-title {
        font-size: 1.75rem;
    }

    .team-section-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Keep hex-wrapper size consistent */

    .team-marquee-track {
        gap: 1rem;
        animation-duration: 20s;
    }
}

@media (max-width: 575px) {
    .team-header {
        margin-bottom: 2rem;
    }

    .team-section-title {
        font-size: 1.5rem;
    }

    .team-section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Keep hex-wrapper size consistent */

    .team-marquee-wrapper {
        padding: 1.5rem 0;
    }
}

/* ============================================================================
   PROJECTS SHOWCASE SECTION - ARCHITECTURAL PORTFOLIO
   ============================================================================ */
.projects-showcase-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.projects-showcase-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Blueprint Lines Effect */
.blueprint-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--main-color-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--main-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.architectural-accent {
    position: absolute;
    background: linear-gradient(135deg, var(--accent-color) 0%, rgba(var(--accent-color-rgb), 0) 70%);
    border-radius: 50%;
    opacity: 0.1;
}

.accent-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.accent-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

/* Section Header */
.projects-showcase-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.projects-showcase-header .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--main-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.projects-showcase-header .header-badge i {
    font-size: 16px;
}

.projects-showcase-header .showcase-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--main-color);
    margin: 0 0 15px;
    text-transform: uppercase;
}

.projects-showcase-header .showcase-subtitle {
    font-size: 1.1rem;
    color: var(--color-neutral-gray);
    max-width: 600px;
    margin: 0 auto 25px;
}

.header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-line .line-segment {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.header-line i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

/* Projects Portfolio Grid */
.projects-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Portfolio Card */
.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: cardFadeIn 0.6s ease-out calc(var(--card-index) * 0.15s) both;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(var(--main-color-rgb), 0.2);
}

.portfolio-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Image Container */
.portfolio-image-container {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.portfolio-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.1);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(var(--main-color-rgb), 0) 0%,
            rgba(var(--main-color-rgb), 0.4) 50%,
            rgba(var(--main-color-rgb), 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-card:hover .overlay-content {
    transform: translateY(0);
}

.project-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(var(--accent-color-rgb), 0.3);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.project-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: var(--main-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(var(--accent-color-rgb), 0.4);
}

[dir="rtl"] .view-project-btn:hover {
    transform: translateX(-5px);
}

/* Blueprint Grid Overlay */
.blueprint-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--accent-color-rgb), 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--accent-color-rgb), 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .blueprint-grid-overlay {
    opacity: 1;
}

/* Featured Badge */
.featured-star-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--main-color);
    box-shadow: 0 5px 20px rgba(var(--accent-color-rgb), 0.5);
    z-index: 3;
    animation: badgePulse 2s ease-in-out infinite;
}

[dir="rtl"] .featured-star-badge {
    right: auto;
    left: 20px;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(var(--accent-color-rgb), 0.5);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 30px rgba(var(--accent-color-rgb), 0.7);
    }
}

/* Card Footer */
.portfolio-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px;
    background: #fff;
    border-top: 3px solid var(--accent-color);
}

.project-info {
    flex: 1;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
    margin: 0 0 8px;
    transition: color 0.3s ease;
}

.portfolio-card:hover .project-title {
    color: var(--accent-color);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-neutral-gray);
}

.meta-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.arrow-indicator {
    width: 45px;
    height: 45px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.portfolio-card:hover .arrow-indicator {
    background: var(--accent-color);
    color: var(--main-color);
    transform: translateX(5px);
}

[dir="rtl"] .portfolio-card:hover .arrow-indicator {
    transform: translateX(-5px);
}

/* CTA Section */
.projects-showcase-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--main-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(var(--main-color-rgb), 0.3);
}

.explore-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(var(--main-color-rgb), 0.4);
    color: #fff;
}

.explore-all-btn .btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.explore-all-btn .btn-content i {
    color: var(--accent-color);
}

.explore-all-btn .btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    border-radius: 50%;
    color: var(--main-color);
    transition: all 0.3s ease;
}

.explore-all-btn:hover .btn-arrow {
    transform: translateX(5px);
}

[dir="rtl"] .explore-all-btn:hover .btn-arrow {
    transform: translateX(-5px);
}

.total-projects-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(var(--accent-color-rgb), 0.15);
    border: 2px solid var(--accent-color);
    padding: 15px 25px;
    border-radius: 15px;
}

.total-projects-badge .count {
    font-size: 2rem;
    font-weight: 900;
    color: var(--main-color);
    line-height: 1;
}

.total-projects-badge .label {
    font-size: 0.85rem;
    color: var(--color-neutral-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
    .projects-showcase-section {
        padding: 80px 0;
    }

    .projects-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .portfolio-image-container {
        height: 280px;
    }

    .projects-showcase-cta {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .projects-showcase-section {
        padding: 60px 0;
    }

    .projects-showcase-header {
        margin-bottom: 40px;
    }

    .projects-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .portfolio-image-container {
        height: 260px;
    }

    .portfolio-card-footer {
        padding: 20px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .explore-all-btn {
        padding: 15px 30px;
        font-size: 0.95rem;
    }
}

/* ============================================================================
   GALLERY MARQUEE - Smooth Infinite Image Carousel
   ============================================================================ */
.gallery-marquee-section {
    margin: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.gallery-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Gradient fade edges */
}

.gallery-marquee::before,
.gallery-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 10;
    pointer-events: none;
}

.gallery-marquee::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.gallery-marquee::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.gallery-marquee-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: gallery-marquee-scroll 40s linear infinite;
}

.gallery-marquee:hover .gallery-marquee-track {
    animation-play-state: paused;
}

/* RTL: Reverse animation direction */
[dir="rtl"] .gallery-marquee-track {
    animation-name: gallery-marquee-scroll-rtl;
}

@keyframes gallery-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes gallery-marquee-scroll-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.gallery-marquee-item {
    flex-shrink: 0;
    text-decoration: none;
    display: block;
}

.gallery-image-wrapper {
    position: relative;
    width: 280px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-marquee-item:hover .gallery-image-wrapper {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(var(--main-color-rgb), 0.25);
}

.gallery-marquee-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

/* Overlay */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            transparent 30%,
            rgba(var(--main-color-rgb), 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-marquee-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-marquee-item:hover .gallery-title {
    transform: translateY(0);
}

.gallery-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    border-radius: 50%;
    color: var(--main-color);
    font-size: 0.85rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
}

.gallery-marquee-item:hover .gallery-icon {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .gallery-marquee-section {
        margin: 50px 0 30px;
    }

    .gallery-image-wrapper {
        width: 240px;
        height: 160px;
    }

    .gallery-marquee::before,
    .gallery-marquee::after {
        width: 50px;
    }

    .gallery-marquee-track {
        animation-duration: 30s;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .gallery-marquee-section {
        margin: 40px 0 25px;
    }

    .gallery-image-wrapper {
        width: 200px;
        height: 140px;
        border-radius: 10px;
    }

    .gallery-marquee::before,
    .gallery-marquee::after {
        width: 30px;
    }

    .gallery-marquee-track {
        animation-duration: 25s;
        gap: 10px;
    }

    .gallery-title {
        font-size: 0.8rem;
    }

    .gallery-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .gallery-overlay {
        padding: 15px 10px;
    }
}