/*
Theme Name: Clavera Home Main
Theme URI: https://claverahome.com
Author: Clavera Saudi
Author URI: https://claverahome.com
Description: A custom WordPress theme for Clavera Saudi Group - Premium protective solutions
Version: 1.1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clavera-saudi
*/

/* ============================================
   Theme Color Variables
   ============================================ */
:root {
    --primary-green: #a8d930;
    --primary-green-dark: #8fb825;
    --primary-green-light: #c4e85a;
    --dark-navy: #0e1f31;
    --text-dark: #333333;
    --text-gray: #6b6b6b;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

/* ============================================
   Global Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

html {
    overflow-x: clip;
}

body.front-page {
    padding-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-green-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.clavera-honeypot {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 1px !important;
    height: 1px !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* ============================================
   Header & Navigation
   ============================================ */
.main-header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow-lg);
}

.main-header.scrolled .navbar-nav .nav-link {
    color: var(--text-dark);
}

.main-header.scrolled .navbar-nav .nav-link:hover,
.main-header.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-green);
}

.navbar {
    padding: 1.5rem 0;
    transition: padding 0.3s ease;
}

.main-header.scrolled .navbar {
    padding: 1rem 0;
}

.navbar-brand {
    padding: 0;
}

.logo-img, .footer-logo-img {
    height: 80px;
    width: auto;
    max-height: 90px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.main-header.scrolled .logo-img {
    height: 60px;
    max-height: 70px;
    filter: none;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.main-header.scrolled .navbar-nav .nav-link {
    color: var(--text-dark);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-green);
    background: rgba(168, 217, 48, 0.1);
}

.main-header.scrolled .navbar-nav .nav-link:hover,
.main-header.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-green);
    background: rgba(168, 217, 48, 0.1);
}

.btn-cta {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--primary-green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(168, 217, 48, 0.3);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-header.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2814, 31, 49, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .main-header.menu-open,
    .main-header:has(.navbar-collapse.show),
    .main-header:has(.navbar-collapse.collapsing) {
        background: var(--white);
        box-shadow: 0 12px 34px rgba(14, 31, 49, 0.14);
    }

    .main-header.menu-open .logo-img,
    .main-header:has(.navbar-collapse.show) .logo-img,
    .main-header:has(.navbar-collapse.collapsing) .logo-img {
        filter: none;
    }

    .main-header.menu-open .navbar-toggler-icon,
    .main-header:has(.navbar-collapse.show) .navbar-toggler-icon,
    .main-header:has(.navbar-collapse.collapsing) .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2814, 31, 49, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-collapse {
        margin-top: 0.8rem;
        padding: 1rem;
        background: var(--white);
        border-radius: 14px;
        box-shadow: 0 18px 44px rgba(14, 31, 49, 0.14);
    }

    .navbar-nav {
        align-items: stretch;
        gap: 0.25rem;
    }

    .navbar-nav .nav-link,
    .main-header.scrolled .navbar-nav .nav-link {
        color: var(--dark-navy);
        padding: 0.75rem 1rem;
        margin: 0;
        text-align: center;
        font-weight: 700;
        border-radius: 10px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--dark-navy);
        background: rgba(168, 217, 48, 0.16);
    }

    .navbar-collapse .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        width: min(100%, 320px);
        max-width: calc(100% - 1.5rem);
        min-height: 54px;
        margin: 0.95rem auto 0 !important;
        padding: 0.85rem 1.2rem;
        border-radius: 14px;
        text-align: center;
        line-height: 1.35;
        white-space: normal;
        box-shadow: 0 12px 24px rgba(168, 217, 48, 0.22);
    }

    .navbar-collapse .btn-cta i {
        flex: 0 0 auto;
        font-size: 1.1rem;
        line-height: 1;
    }

    html[dir="rtl"] .navbar-collapse .btn-cta {
        flex-direction: row-reverse;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 31, 49, 0.65) 0%, rgba(14, 31, 49, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.6rem) clamp(1.4rem, 4vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(14, 31, 49, 0.56), rgba(14, 31, 49, 0.28));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(3px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hero-btn {
    flex: 0 1 auto;
    white-space: nowrap;
    min-width: 0;
}

.btn-primary {
    background: var(--primary-green);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 217, 48, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 5px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-navy);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.about-section .section-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section .section-subtitle {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Tabs Wrapper */
.about-tabs-wrapper {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    overflow: hidden;
    padding: 2rem;
}

/* Tabs Navigation */
.about-tabs {
    border-bottom: 2px solid var(--light-bg);
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.about-tabs .nav-item {
    margin-bottom: 0;
}

.about-tabs .nav-link {
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    color: var(--text-gray);
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.about-tabs .nav-link i {
    font-size: 1.2rem;
}

.about-tabs .nav-link:hover {
    color: var(--primary-green);
    background: rgba(168, 217, 48, 0.1);
}

.about-tabs .nav-link.active {
    color: var(--white);
    background: var(--primary-green);
    box-shadow: 0 4px 15px rgba(168, 217, 48, 0.3);
}

.about-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--white);
}

/* Tab Content */
.about-tab-content {
    min-height: 500px;
}

.about-tab-panel {
    animation: fadeInUp 0.5s ease;
}

@media (min-width: 992px) {
    .about-tab-panel > .row {
        align-items: stretch !important;
    }

    .about-tab-panel > .row > [class*="col-"] {
        display: flex;
    }

    .about-image-wrapper,
    .mission-visual,
    .vision-visual {
        width: 100%;
        min-height: 520px;
    }

    .about-image-wrapper img,
    .mission-visual img,
    .vision-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
}

.about-content-text {
    width: 100%;
    padding: clamp(1.6rem, 2.2vw, 2.4rem);
    border: 1px solid rgba(14, 31, 49, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.92)),
        var(--white);
    box-shadow: 0 16px 48px rgba(14, 31, 49, 0.08);
}

.about-content-text .tab-content-title {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(14, 31, 49, 0.08);
}

.about-content-text .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* About Image Wrapper */
.about-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(168, 217, 48, 0.4);
    z-index: 2;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* About Stats */
.about-stats {
    margin-top: 1.6rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(14, 31, 49, 0.08);
}

.stat-item {
    text-align: center;
    height: 100%;
    padding: 1.15rem 0.85rem;
    border: 1px solid rgba(168, 217, 48, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 26px rgba(14, 31, 49, 0.06);
}

/* Ensure 2x2 grid on mobile */
@media (max-width: 767px) {
    .about-stats .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Mission Visual */
.mission-visual,
.vision-visual,
.values-visual {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.mission-icon-wrapper,
.vision-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(168, 217, 48, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mission-icon-wrapper i,
.vision-icon-wrapper i {
    font-size: 3rem;
    color: var(--white);
}

.mission-visual img,
.vision-visual img,
.values-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.7);
}

.values-visual img {
    aspect-ratio: 16 / 7;
    object-fit: cover;
    filter: brightness(0.82);
}

/* Mission Points */
.mission-points {
    margin-top: 2rem;
}

.mission-point-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mission-point-item:hover {
    background: rgba(168, 217, 48, 0.1);
    transform: translateX(5px);
}

.point-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.point-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.point-content h5 {
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.point-content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

/* Vision Goals */
.vision-goals {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.vision-goal-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.vision-goal-item:hover {
    background: rgba(168, 217, 48, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.vision-goal-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.vision-goal-item h5 {
    color: var(--dark-navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.vision-goal-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enhanced Value Cards */
.value-card-enhanced {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-top: 4px solid var(--primary-green);
}

.value-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
    border-top-color: var(--primary-green-dark);
}

.value-icon-enhanced {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(168, 217, 48, 0.3);
    transition: all 0.3s ease;
}

.value-card-enhanced:hover .value-icon-enhanced {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(168, 217, 48, 0.4);
}

.value-card-enhanced h4 {
    color: var(--dark-navy);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.value-card-enhanced p {
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   Why Choose Section
   ============================================ */
.why-choose-section {
    padding: 4rem 0 3.25rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(168, 217, 48, 0.12), transparent 32rem),
        var(--light-bg) !important;
}

/* Features Carousel */
#featuresCarousel {
    position: relative;
    padding-bottom: 2.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

#featuresCarousel .carousel-inner {
    padding: 0.35rem 0 1rem;
    overflow: hidden;
}

#featuresCarousel .carousel-item {
    display: none;
    transition: opacity 0.45s ease-in-out;
}

#featuresCarousel .carousel-item.active,
#featuresCarousel .carousel-item-next,
#featuresCarousel .carousel-item-prev {
    display: block;
}

#featuresCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

#featuresCarousel.carousel-fade .carousel-item.active,
#featuresCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#featuresCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

#featuresCarousel.carousel-fade .active.carousel-item-start,
#featuresCarousel.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

/* Carousel Indicators */
#featuresCarousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

#featuresCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #aeb4b9;
    border: none;
    opacity: 0.75;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
    margin: 0;
    text-indent: -9999px;
    overflow: hidden;
}

#featuresCarousel .carousel-indicators button.active {
    background: var(--primary-green);
    opacity: 1;
    width: 34px;
    border-radius: 999px;
    border-color: var(--primary-green);
    box-shadow: 0 6px 16px rgba(168, 217, 48, 0.35);
}

#featuresCarousel .carousel-indicators button:hover {
    opacity: 0.8;
    background: var(--primary-green);
}

@media (min-width: 992px) {
    #featuresCarousel .carousel-item.d-lg-none {
        display: none !important;
    }
}

.feature-card {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        radial-gradient(circle at 50% 0%, rgba(168, 217, 48, 0.12), transparent 18rem);
    padding: 1.65rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(14, 31, 49, 0.06);
    box-shadow: 0 16px 38px rgba(14, 31, 49, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    right: -48px;
    bottom: -48px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(168, 217, 48, 0.08);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 217, 48, 0.35);
    box-shadow: 0 22px 48px rgba(14, 31, 49, 0.12);
}

.feature-icon {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.65rem;
    color: var(--white);
    box-shadow: 0 12px 26px rgba(168, 217, 48, 0.26);
}

.feature-card h4 {
    color: var(--dark-navy);
    margin-bottom: 0.65rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-gray);
    margin: 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    font-size: 0.94rem;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 5rem 0;
}

.services-section > .container > .row {
    align-items: stretch;
}

.services-section > .container > .row > [class*="col-"] {
    display: flex;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.service-image {
    position: relative;
    height: clamp(190px, 14vw, 235px);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(14, 31, 49, 0.3));
}

.service-content {
    padding: clamp(1.35rem, 1.6vw, 1.85rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.service-content h3 {
    color: var(--dark-navy);
    margin-bottom: 0.85rem;
    font-size: clamp(1.45rem, 1.75vw, 1.9rem);
}

.service-content > p {
    color: var(--text-gray);
    margin-bottom: 1.15rem;
    min-height: 4.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.service-features.collapsed .feature-extra {
    display: none;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    line-height: 1.55;
}

.service-features li i {
    color: var(--primary-green);
    margin-right: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.55;
    flex-shrink: 0;
}

.service-show-more {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(168, 217, 48, 0.35);
    border-radius: 999px;
    background: rgba(168, 217, 48, 0.1);
    color: var(--dark-navy);
    font-weight: 700;
    line-height: 1;
    transition: all 0.25s ease;
}

.service-show-more:hover,
.service-show-more:focus {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.service-show-more:focus-visible {
    outline: 3px solid rgba(168, 217, 48, 0.3);
    outline-offset: 2px;
}

.service-show-more .show-less-text,
.service-show-more[aria-expanded="true"] .show-more-text {
    display: none;
}

.service-show-more[aria-expanded="true"] .show-less-text {
    display: inline;
}

.service-show-more i {
    transition: transform 0.25s ease;
}

.service-show-more[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.service-types {
    margin-top: 0.25rem;
    padding: 1rem;
    background: rgba(168, 217, 48, 0.1);
    border-radius: 5px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* ============================================
   Who We Serve Section
   ============================================ */
.who-we-serve-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
    overflow: hidden;
}

/* Spaces Showcase - Boss Design */
.spaces-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: min(1320px, calc(100% - 3rem));
    margin: 0 auto;
}

.space-showcase-item {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
    min-height: 520px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(14, 31, 49, 0.12);
}

.space-showcase-item:nth-child(even) {
    grid-template-columns: minmax(520px, 1.1fr) minmax(360px, 0.9fr);
}

.space-showcase-item:nth-child(even) .space-visual-wrapper {
    order: 2;
}

.space-showcase-item:nth-child(even) .space-content-wrapper {
    order: 1;
}

.space-visual-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    min-width: 0;
}

.space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.space-showcase-item:hover .space-background {
    transform: scale(1.1);
}

.space-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 31, 49, 0.72) 0%, rgba(14, 31, 49, 0.4) 100%);
    z-index: 1;
}

.residential-showcase .space-overlay,
.corporate-showcase .space-overlay,
.commercial-showcase .space-overlay {
    background: linear-gradient(135deg, rgba(14, 31, 49, 0.74) 0%, rgba(14, 31, 49, 0.48) 100%);
}

.space-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.space-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.25rem;
    background: var(--white);
    position: relative;
    z-index: 2;
    direction: ltr;
    min-width: 0;
}

.space-content {
    max-width: 720px;
    width: 100%;
    text-align: center;
    direction: ltr;
}

.space-icon-badge {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    color: var(--white);
    margin: 0 auto 1.25rem;
    box-shadow: 0 12px 34px rgba(168, 217, 48, 0.24);
    transition: all 0.5s ease;
}

.space-showcase-item:hover .space-icon-badge {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(168, 217, 48, 0.4);
}

.residential-showcase .space-icon-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    box-shadow: 0 10px 30px rgba(168, 217, 48, 0.3);
}

.residential-showcase:hover .space-icon-badge {
    box-shadow: 0 15px 40px rgba(168, 217, 48, 0.4);
}

.commercial-showcase .space-icon-badge {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    box-shadow: 0 10px 30px rgba(168, 217, 48, 0.3);
}

.commercial-showcase:hover .space-icon-badge {
    box-shadow: 0 15px 40px rgba(168, 217, 48, 0.4);
}

.space-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-align: center;
}

.space-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 1.35rem;
    text-align: center;
}

.space-divider {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 3px;
    margin: 0 auto 2rem;
}

.residential-showcase .space-divider {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
}

.commercial-showcase .space-divider {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
}

.space-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
    direction: ltr;
}

.space-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.space-feature-item:hover {
    background: rgba(168, 217, 48, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 217, 48, 0.2);
}

.space-feature-item.highlight-feature {
    background: linear-gradient(135deg, rgba(168, 217, 48, 0.15), rgba(168, 217, 48, 0.05));
    border-color: var(--primary-green);
    grid-column: 1 / -1;
}

.space-features-grid > .space-feature-item:nth-last-child(1):nth-child(odd):not(.highlight-feature) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1rem) / 2);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-green);
    flex-shrink: 0;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
}

.space-feature-item:hover .feature-icon {
    background: var(--primary-green);
    color: var(--white);
    transform: rotate(5deg);
}

.highlight-feature .feature-icon {
    background: var(--primary-green);
    color: var(--white);
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-text[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.feature-text strong {
    color: var(--dark-navy);
    font-size: 0.98rem;
    font-weight: 700;
    display: block;
}

.feature-text span {
    color: var(--text-gray);
    font-size: 0.88rem;
}

.space-benefit-box {
    background: linear-gradient(135deg, rgba(168, 217, 48, 0.1), rgba(168, 217, 48, 0.05));
    padding: 1.4rem;
    border-radius: 14px;
    border-left: 4px solid var(--primary-green);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.space-benefit-box i {
    color: var(--primary-green);
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.space-benefit-box p {
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

/* Flip Card Container */
.flip-card-wrapper {
    perspective: 1000px;
    height: 500px;
    margin-bottom: 2rem;
}

.flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card-wrapper:hover .flip-card {
    transform: rotateY(180deg);
}

.flip-card.flipped {
    transform: rotateY(180deg);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Front Side */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-lg);
}

.flip-card-front {
    background: var(--white);
}

.flip-card-back {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #1a2f47 100%);
    transform: rotateY(180deg);
    color: var(--white);
}

/* Front Side Image */
.flip-front-image {
    height: 60%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s ease;
}

.flip-card-wrapper:hover .flip-front-image {
    transform: scale(1.1);
}

.flip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(14, 31, 49, 0.7));
}

/* Front Side Content */
.flip-front-content {
    padding: 2rem;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.flip-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(168, 217, 48, 0.4);
    transition: all 0.6s ease;
}

.flip-card-wrapper:hover .flip-icon-large {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(168, 217, 48, 0.6);
}

.flip-front-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.flip-subtitle {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.flip-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.flip-card-wrapper:hover .flip-hint {
    opacity: 0;
}

.flip-card.flipped ~ .flip-hint,
.flip-card.flipped .flip-hint {
    opacity: 0;
}

.mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }
    
    .mobile-text {
        display: inline;
    }
}

/* Back Side Content */
.flip-back-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.flip-back-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(168, 217, 48, 0.3);
}

.flip-back-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.flip-features {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.flip-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: left;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.flip-feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.flip-feature-item.highlight {
    background: rgba(168, 217, 48, 0.2);
    border-left: 3px solid var(--primary-green);
}

.flip-feature-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.flip-feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
}

.flip-benefit {
    background: rgba(168, 217, 48, 0.15);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    margin-top: auto;
}

.flip-benefit i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.flip-benefit p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

/* ============================================
   Service Areas Section
   ============================================ */
.service-areas-section {
    padding: 5rem 0;
}

.service-areas-section .section-title {
    max-width: 100%;
}

.service-areas-section .lead {
    max-width: 100%;
    font-size: 1.1rem;
    line-height: 1.7;
}

.areas-list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.area-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.area-item:hover {
    background: rgba(168, 217, 48, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow);
}

.area-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.area-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.area-content {
    flex: 1;
    width: 100%;
}

.area-content h5 {
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.area-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.areas-visual {
    position: relative;
}

.areas-visual img {
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    width: 100%;
    height: auto;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(168, 217, 48, 0.03) 100%);
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-lg);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-green);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-lg);
    border-top-color: var(--primary-green-dark);
}

.contact-card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(168, 217, 48, 0.3);
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(168, 217, 48, 0.5);
}

.contact-card-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card-icon.email {
    background: linear-gradient(135deg, #EA4335, #C5221F);
}

.contact-info-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.contact-card-text {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.contact-card-link:hover {
    color: var(--primary-green-dark);
    gap: 0.75rem;
}

.contact-email-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.contact-email-links .contact-card-link {
    font-size: 0.95rem;
    justify-content: center;
}

/* Contact Details Cards */
.contact-details-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-details-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-lg);
}

.contact-details-card h4 {
    color: var(--dark-navy);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-details-card h4 i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.contact-details-card p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.8;
}

/* Contact Form Styles */
.contact-form-wrapper {
    margin-bottom: 3rem;
}

.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    border-top: 4px solid var(--primary-green);
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-title i {
    color: var(--primary-green);
    font-size: 2.5rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form .form-label i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--light-bg);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

html[dir="rtl"] .contact-form .form-control,
html[dir="rtl"] .contact-form .form-select {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .contact-form .form-select {
    padding-right: 1rem;
    padding-left: 3rem;
    background-position: left 1rem center;
}

html[dir="rtl"] .contact-form input[type="email"],
html[dir="rtl"] .contact-form input[type="tel"] {
    direction: ltr;
    text-align: left;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(168, 217, 48, 0.25);
    outline: none;
}

.contact-form .form-check-input {
    border: 2px solid var(--light-bg);
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.contact-form .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(168, 217, 48, 0.25);
}

.contact-form .form-check-label {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form .btn-primary {
    background: var(--primary-green);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 217, 48, 0.4);
}

.contact-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#form-messages {
    min-height: 50px;
}

#form-messages.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    border: none;
    font-weight: 500;
}

#form-messages.alert-success {
    background: rgba(168, 217, 48, 0.1);
    color: var(--primary-green-dark);
    border-left: 4px solid var(--primary-green);
}

#form-messages.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

#form-messages i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.cta-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    text-align: center;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-section {
    padding: 5rem 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.partner-logo-item {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.partner-logo-item:hover {
    transform: translateY(-10px) scale(1.05);
}

.partner-logo-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.partner-logo-item:hover .partner-logo-circle {
    transform: scale(1.05);
}

.partner-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.partner-logo-item:hover .partner-logo-img {
    transform: scale(1.1);
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.trust-item {
    padding: 2rem;
}

.trust-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 600;
}

/* Ensure 2x2 grid on mobile for trust section */
@media (max-width: 767px) {
    .trust-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .trust-item {
        padding: 1.5rem 0.75rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    .trust-label {
        font-size: 1rem;
    }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 3.5rem 0 1.5rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-widget {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 420px;
}

.footer-title {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.55rem;
}

.footer-menu a,
.footer-menu li {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.contact-item i {
    color: var(--primary-green);
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.contact-item span,
.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-phone,
.contact-email {
    direction: ltr;
    unicode-bidi: isolate;
}

.contact-item a:hover {
    color: var(--primary-green);
}

.footer-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    justify-content: center;
}

.footer-inline-links a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.footer-inline-links a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-link-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 2rem;
    margin-bottom: 1.5rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    font-size: 0.9rem;
    text-align: center;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-green);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credit a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ============================================
   Policy Pages
   ============================================ */
.page-header-section {
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.page-content-section {
    padding: 4rem 0;
}

.policy-content {
    max-width: 900px;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.75rem;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
}

.policy-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-section ul li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--dark-navy);
}

.contact-details {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-green);
}

.contact-details p {
    margin: 0.5rem 0;
}

.contact-details a {
    color: var(--primary-green);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(168, 217, 48, 0.3);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 217, 48, 0.4);
}

/* ============================================
   Floating Language Switcher
   ============================================ */
.floating-language-switcher {
    position: fixed;
    right: 30px;
    bottom: 94px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    z-index: 998;
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 28px rgba(168, 217, 48, 0.34);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-language-switcher:hover,
.floating-language-switcher:focus {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(168, 217, 48, 0.42);
}

.floating-language-switcher:focus-visible {
    outline: 3px solid rgba(168, 217, 48, 0.35);
    outline-offset: 3px;
}

.floating-language-switcher .lang-text {
    display: block;
    letter-spacing: 0;
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.floating-whatsapp {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
    font-size: 1.75rem;
    text-decoration: none;
    z-index: 998;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.36);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus {
    color: var(--white);
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.48);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 3px;
}

.whatsapp-pulse,
.whatsapp-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.whatsapp-pulse {
    background: rgba(37, 211, 102, 0.55);
    z-index: -1;
    animation: whatsapp-pulse 2.2s ease-out infinite;
}

.whatsapp-ripple {
    border: 1px solid rgba(37, 211, 102, 0.5);
    opacity: 0;
}

.floating-whatsapp:hover .whatsapp-ripple {
    animation: whatsapp-ripple 0.65s ease-out;
}

.whatsapp-tooltip {
    position: absolute;
    left: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    background: var(--dark-navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-whatsapp:hover .whatsapp-tooltip,
.floating-whatsapp:focus .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

/* ============================================
   Loading Popup
   ============================================ */
.loading-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0e1f31 0%, #1a2f47 50%, #0e1f31 100%);
    background-size: 200% 200%;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: loading-gradient 8s ease infinite;
}

.loading-popup.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.loading-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(168, 217, 48, 0.4);
    border-radius: 50%;
    animation: loading-particle-float 8s ease-in-out infinite;
}

.loading-particle:nth-child(1) {
    left: 10%;
    width: 6px;
    height: 6px;
}

.loading-particle:nth-child(2) {
    left: 30%;
    animation-delay: 1.5s;
    animation-duration: 10s;
}

.loading-particle:nth-child(3) {
    left: 50%;
    width: 5px;
    height: 5px;
    animation-delay: 3s;
}

.loading-particle:nth-child(4) {
    left: 70%;
    animation-delay: 4.5s;
    animation-duration: 9s;
}

.loading-particle:nth-child(5) {
    left: 20%;
    width: 5px;
    height: 5px;
    animation-delay: 2s;
}

.loading-particle:nth-child(6) {
    left: 80%;
    width: 6px;
    height: 6px;
    animation-delay: 5s;
}

.loading-popup-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    padding: 2rem;
    text-align: center;
}

.loading-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    animation: loading-logo-enter 1s ease-out;
}

.loading-logo-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, rgba(168, 217, 48, 0.4), transparent);
    animation: loading-shimmer 3s ease-in-out infinite;
}

.loading-text-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.loading-text-main {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(168, 217, 48, 0.5),
                 0 0 60px rgba(168, 217, 48, 0.3),
                 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.loading-text-main span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg) scale(0.5);
}

.loading-text-main span.visible {
    animation: loading-letter-pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.loading-text-subtitle {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.loading-text-subtitle span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.loading-text-subtitle span.visible {
    animation: loading-subtitle-letter 0.4s ease-out forwards;
}

html[dir="rtl"] .loading-text-main,
html[dir="rtl"] .loading-text-subtitle,
.loading-text-arabic {
    letter-spacing: 0 !important;
    text-align: center;
}

.loading-text-arabic {
    direction: rtl;
    opacity: 0;
    transform: translateY(20px);
}

.loading-text-arabic.loading-text-visible {
    opacity: 1;
    transform: translateY(0);
}

.loading-progress {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 4px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: loading-progress-show 0.5s ease-out 0.5s forwards;
}

.loading-progress-bar {
    position: relative;
    width: 0%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    box-shadow: 0 0 20px rgba(168, 217, 48, 0.6);
    animation: loading-progress-fill 3.5s ease-out 1s forwards;
}

.loading-progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading-progress-shine 1.5s ease-in-out infinite;
}

@keyframes loading-gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes loading-particle-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(1);
        opacity: 0;
    }
}

@keyframes loading-logo-enter {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes loading-shimmer {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

@keyframes loading-letter-pop {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg) scale(0.5);
    }
    50% {
        transform: translateY(-10px) rotateX(0deg) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
    }
}

@keyframes loading-subtitle-letter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loading-progress-show {
    to {
        opacity: 1;
    }
}

@keyframes loading-progress-fill {
    to {
        width: 100%;
    }
}

@keyframes loading-progress-shine {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 992px) {
    .loading-text-main {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }

    .loading-text-subtitle {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .loading-logo-wrapper,
    .loading-text-wrapper {
        margin-bottom: 2rem;
    }

    .loading-text-main {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .loading-text-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1.5px;
    }

    .loading-progress {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .loading-logo-wrapper,
    .loading-text-wrapper {
        margin-bottom: 1.5rem;
    }

    .loading-text-main {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }

    .loading-text-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .loading-progress {
        max-width: 250px;
        height: 3px;
    }
}

/* ============================================
   RTL Support
   ============================================ */
html[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
}

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .btn,
html[dir="rtl"] .navbar-nav,
html[dir="rtl"] .service-card,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .space-showcase-item,
html[dir="rtl"] .site-footer,
html[dir="rtl"] .floating-language-switcher,
html[dir="rtl"] .whatsapp-tooltip,
.clavera-lang-ar {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-title,
html[dir="rtl"] .loading-text-main,
html[dir="rtl"] .loading-text-subtitle {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
}

html[dir="rtl"] .navbar-nav,
html[dir="rtl"] .footer-menu,
html[dir="rtl"] .footer-inline-links,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .contact-form {
    direction: rtl;
}

html[dir="rtl"] .navbar-nav .nav-link {
    margin-left: 0;
    margin-right: 0.25rem;
}

html[dir="rtl"] .space-features-grid,
html[dir="rtl"] .space-content-wrapper,
html[dir="rtl"] .space-content,
html[dir="rtl"] .space-benefit-box,
html[dir="rtl"] .feature-text[dir="ltr"] {
    direction: rtl;
}

html[dir="rtl"] .feature-text[dir="ltr"],
html[dir="rtl"] .feature-text,
html[dir="rtl"] .space-feature-item,
html[dir="rtl"] .service-card,
html[dir="rtl"] .tab-content-text,
html[dir="rtl"] .footer-widget {
    text-align: right;
}

html[dir="rtl"] .space-feature-item .feature-icon,
html[dir="rtl"] .service-features li i,
html[dir="rtl"] .contact-item i {
    margin-right: 0;
    margin-left: 0.75rem;
}

html[dir="rtl"] .service-features li,
html[dir="rtl"] .contact-item,
html[dir="rtl"] .area-item,
html[dir="rtl"] .benefit-item {
    flex-direction: row;
}

html[dir="rtl"] .service-features li,
html[dir="rtl"] .contact-item,
html[dir="rtl"] .space-benefit-box,
html[dir="rtl"] .area-item,
html[dir="rtl"] .benefit-item {
    text-align: right;
}

html[dir="rtl"] .service-features li {
    align-items: flex-start;
}

html[dir="rtl"] .service-features li i {
    margin-top: 0.2rem;
}

html[dir="rtl"] .contact-item {
    justify-content: flex-start;
}

html[dir="rtl"] .contact-item span,
html[dir="rtl"] .contact-item a {
    text-align: right;
}

html[dir="rtl"] .contact-item .contact-phone,
html[dir="rtl"] .contact-item .contact-email {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
}

html[dir="rtl"] .space-benefit-box {
    border-left: none;
    border-right: 4px solid var(--primary-green);
}

html[dir="rtl"] .contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-left: 0;
    padding-right: 0;
    text-align: right;
}

html[dir="rtl"] .contact-form .form-check-input {
    float: none;
    flex: 0 0 auto;
    margin: 0.25rem 0 0 0;
    order: 0;
}

html[dir="rtl"] .contact-form .form-check-label {
    flex: 1 1 auto;
    text-align: right;
}

html[dir="rtl"] .text-lg-start {
    text-align: right !important;
}

html[dir="rtl"] .text-md-end {
    text-align: left !important;
}

html[dir="rtl"] .text-center,
html[dir="rtl"] .section-header,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .space-header {
    text-align: center !important;
}

html[dir="rtl"] .ms-lg-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

html[dir="rtl"] .floating-language-switcher {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    html[dir="rtl"] .floating-language-switcher {
        right: auto;
        left: 20px;
    }
}

@media (max-width: 576px) {
    html[dir="rtl"] .floating-language-switcher {
        right: auto;
        left: 16px;
    }

    html[dir="rtl"] .space-feature-item,
    html[dir="rtl"] .space-feature-item.highlight-feature,
    html[dir="rtl"] .space-benefit-box {
        text-align: center;
    }

    html[dir="rtl"] .highlight-feature .feature-text {
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   Animations
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-content {
        width: min(100%, 760px);
        padding: 2rem 1.5rem;
        border-radius: 18px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.75rem;
    }
    
    .hero-btn {
        flex: 1 1 auto;
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }
    
    .about-tabs-wrapper {
        padding: 1.5rem;
    }
    
    .about-tabs .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .vision-goals {
        grid-template-columns: 1fr;
    }
    
    .mission-icon-wrapper,
    .vision-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .mission-icon-wrapper i,
    .vision-icon-wrapper i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .spaces-showcase,
    .space-showcase-item,
    .space-visual-wrapper,
    .space-content-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .logo-img {
        height: 60px;
        max-height: 70px;
    }
    
    .main-header.scrolled .logo-img {
        height: 50px;
        max-height: 60px;
    }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .main-header.scrolled .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .about-tabs-wrapper {
        padding: 1rem;
    }

    .about-content-text {
        padding: 1.15rem;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(14, 31, 49, 0.06);
    }
    
    .about-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        border-bottom: none;
        margin-bottom: 2rem;
    }
    
    .about-tabs .nav-item {
        width: 100%;
    }
    
    .about-tabs .nav-link {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .about-tabs .nav-link span {
        display: inline-block;
    }
    
    /* Reduce title and subtitle width by 30% on mobile */
    .about-section .section-title {
        max-width: 560px; /* 800px * 0.7 = 560px */
    }
    
    .about-section .section-subtitle {
        max-width: 490px; /* 700px * 0.7 = 490px */
    }
    
    .about-tab-content {
        min-height: auto;
    }
    
    .tab-content-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .mission-point-item {
        flex-direction: column;
        text-align: center;
    }
    
    .point-icon {
        margin: 0 auto 1rem;
    }
    
    .experience-badge {
        top: 10px;
        right: 10px;
        padding: 1rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .mission-icon-wrapper,
    .vision-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .mission-icon-wrapper i,
    .vision-icon-wrapper i {
        font-size: 2rem;
    }
    
    /* Spaces Showcase Mobile */
    .space-showcase-item {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .space-showcase-item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .space-showcase-item:nth-child(even) .space-visual-wrapper {
        order: 1;
    }
    
    .space-showcase-item:nth-child(even) .space-content-wrapper {
        order: 2;
    }
    
    .space-visual-wrapper {
        min-height: 400px;
    }
    
    .space-number {
        font-size: 5rem;
        top: 2rem;
        right: 2rem;
    }
    
    .space-image-title {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
    }
    
    .space-image-title h4 {
        font-size: 2rem;
    }
    
    .space-image-title p {
        font-size: 1.1rem;
    }
    
    .space-content-wrapper {
        padding: 3rem 2rem;
    }
    
    .space-title {
        font-size: 2.25rem;
    }
    
    .space-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .space-feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .feature-text strong {
        font-size: 0.95rem;
    }
    
    .feature-text span {
        font-size: 0.85rem;
    }
    
    .space-icon-badge {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .contact-info-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    /* Service Areas Mobile */
    .service-areas-section {
        padding: 3rem 0;
    }
    
    .service-areas-section .section-title {
        font-size: 1.75rem;
        max-width: 90%;
        margin: 0 auto;
    }
    
    .service-areas-section .lead {
        font-size: 1rem;
        max-width: 95%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .areas-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
        margin: 2rem auto 0;
    }

    .areas-list .area-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(50%, 260px);
    }
    
    .area-item {
        padding: 1.25rem 1rem;
        margin-bottom: 0;
    }
    
    .area-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 0.875rem;
    }
    
    .area-icon i {
        font-size: 1.75rem;
    }
    
    .area-content h5 {
        font-size: 1.05rem;
        margin-bottom: 0.375rem;
    }
    
    .area-content p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .partner-logo-item {
        max-width: 150px;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-content {
        display: block;
    }

    .site-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-widget {
        text-align: center;
        align-items: center;
        padding: 0 0.5rem;
    }

    .footer-brand-widget {
        margin-bottom: 1rem;
    }

    .footer-logo-img {
        height: 64px;
    }

    .footer-description {
        max-width: 320px;
        font-size: 0.95rem;
        line-height: 1.65;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem 0.9rem;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .footer-menu li {
        margin: 0;
    }

    .footer-contact {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .contact-item {
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 0.65rem 0.75rem;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
    }

    .contact-item i {
        margin-top: 0;
        width: 20px;
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 1.5rem;
    }

    .footer-link-strip {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .footer-inline-links {
        justify-content: center;
        gap: 0.75rem 1rem;
        width: 100%;
    }

    .copyright {
        line-height: 1.6;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-legal {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem 0.9rem;
        max-width: 320px;
        margin: 0 auto;
    }

    .footer-legal .separator {
        display: none;
    }

    .footer-legal a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 0.45rem 0.85rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.78);
        line-height: 1.2;
    }

    .footer-credit {
        width: 100%;
        max-width: 320px;
        margin: 0.25rem auto 0;
        padding-top: 1.25rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .floating-language-switcher {
        right: 20px;
        bottom: 78px;
        width: 46px;
        height: 46px;
        font-size: 0.9rem;
        box-shadow: 0 10px 24px rgba(168, 217, 48, 0.34);
    }

    .floating-whatsapp {
        left: 20px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.55rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(14, 31, 49, 0.66), rgba(14, 31, 49, 0.38));
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 1.25rem;
        line-height: 1.65;
    }

    .spaces-showcase {
        width: calc(100% - 1.25rem);
        gap: 1.25rem;
    }

    .about-content-text {
        padding: 1rem;
    }

    .stat-item {
        padding: 0.85rem 0.55rem;
    }

    .logo-img {
        height: 50px;
        max-height: 60px;
    }
    
    .hero-buttons {
        flex-direction: row !important;
        gap: 0.5rem;
    }
    
    .hero-btn {
        font-size: 0.85rem;
        padding: 0.75rem 0.8rem;
        flex: 1 1 auto;
    }
    
    .main-header.scrolled .logo-img {
        height: 45px;
        max-height: 55px;
    }

    .floating-language-switcher {
        right: 16px;
        bottom: 74px;
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    .floating-whatsapp {
        left: 16px;
        bottom: 18px;
        width: 50px;
        height: 50px;
        font-size: 1.45rem;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .value-card,
    .feature-card {
        padding: 1.45rem 1.25rem;
    }
    
    .feature-card p {
        max-width: 100%;
    }

    #featuresCarousel {
        padding-bottom: 2.75rem;
    }

    #featuresCarousel .carousel-inner {
        padding-top: 0.5rem;
    }

    .feature-card {
        min-height: 260px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 14px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 15px;
        font-size: 1.55rem;
        margin-bottom: 1rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.65rem;
    }

    .feature-card p {
        font-size: 0.92rem;
        line-height: 1.55;
    }
    
    .service-content,
    .serve-content {
        padding: 1.5rem;
    }
    
    /* Spaces Showcase Small Mobile */
    .space-visual-wrapper {
        min-height: 350px;
    }
    
    .space-number {
        font-size: 4rem;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .space-image-title {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
    
    .space-image-title h4 {
        font-size: 1.75rem;
    }
    
    .space-image-title p {
        font-size: 1rem;
    }
    
    .space-content-wrapper {
        padding: 2rem 1rem;
    }
    
    .space-title {
        font-size: 1.875rem;
    }
    
    .space-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .space-icon-badge {
        width: 58px;
        height: 58px;
        font-size: 1.65rem;
        margin-bottom: 1rem;
        border-radius: 15px;
    }

    .space-divider {
        margin-bottom: 1.4rem;
    }

    .space-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .space-feature-item {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.7rem;
        min-height: 148px;
        padding: 0.95rem 0.65rem;
        text-align: center;
    }

    .space-features-grid > .space-feature-item:nth-last-child(1):nth-child(odd):not(.highlight-feature) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 0.75rem) / 2);
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .feature-text {
        align-items: center;
        text-align: center;
        gap: 0.2rem;
        width: 100%;
    }

    .feature-text strong {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .feature-text span {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .space-feature-item.highlight-feature {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        min-height: auto;
        padding: 1rem;
        text-align: left;
    }

    .highlight-feature .feature-text {
        align-items: flex-start;
        text-align: left;
    }
    
    .space-benefit-box {
        align-items: center;
        gap: 0.85rem;
        padding: 1rem;
        text-align: left;
    }
    
    .space-benefit-box i {
        font-size: 1.35rem;
    }
    
    .space-benefit-box p {
        font-size: 0.92rem;
        line-height: 1.55;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .contact-card-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .form-title i {
        font-size: 2rem;
    }
    
    /* Service Areas Small Mobile */
    .service-areas-section {
        padding: 2.5rem 0;
    }
    
    .service-areas-section .section-title {
        font-size: 1.5rem;
        max-width: 95%;
    }
    
    .service-areas-section .lead {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .areas-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .areas-list .area-item:last-child:nth-child(odd) {
        width: calc(50% - 0.4375rem);
    }
    
    .area-item {
        padding: 1rem 0.75rem;
    }
    
    .area-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .area-icon i {
        font-size: 1.5rem;
    }
    
    .area-content h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .area-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .partner-logo-item {
        max-width: 120px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.bg-light {
    background-color: var(--light-bg) !important;
}

.text-primary {
    color: var(--primary-green) !important;
}

.shadow {
    box-shadow: 0 5px 15px var(--shadow) !important;
}

.rounded {
    border-radius: 10px !important;
}

/* Space Image Title Styles */
.space-image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
    width: 90%;
    max-width: 600px;
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(14, 31, 49, 0.18);
    backdrop-filter: blur(2px);
}

.space-image-title h4 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.space-image-title p {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Final RTL safeguards */
html[dir="rtl"] .space-content-wrapper,
html[dir="rtl"] .space-content,
html[dir="rtl"] .space-benefit-box,
html[dir="rtl"] .service-features,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .contact-form {
    direction: rtl;
}

html[dir="rtl"] .service-features li,
html[dir="rtl"] .contact-item,
html[dir="rtl"] .space-benefit-box,
html[dir="rtl"] .benefit-item {
    flex-direction: row;
    text-align: right;
}

html[dir="rtl"] .service-features li i,
html[dir="rtl"] .contact-item i,
html[dir="rtl"] .space-benefit-box i,
html[dir="rtl"] .benefit-item i {
    margin-right: 0;
    margin-left: 0.75rem;
}

html[dir="rtl"] .contact-item {
    justify-content: flex-start;
}

html[dir="rtl"] .contact-item span,
html[dir="rtl"] .contact-item a,
html[dir="rtl"] .space-benefit-box p {
    text-align: right;
}

html[dir="rtl"] .contact-item .contact-phone,
html[dir="rtl"] .contact-item .contact-email {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left;
}

html[dir="rtl"] .contact-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0;
    text-align: right;
}

html[dir="rtl"] .contact-form .form-check-input {
    float: none;
    flex: 0 0 auto;
    margin: 0.25rem 0 0 0;
}

html[dir="rtl"] .contact-form .form-check-label {
    flex: 1 1 auto;
    text-align: right;
}

html[dir="rtl"] .contact-form .form-control,
html[dir="rtl"] .contact-form .form-select {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .contact-form .form-select {
    padding-right: 1rem;
    padding-left: 3rem;
    background-position: left 1rem center;
}

html[dir="rtl"] .contact-form input[type="email"],
html[dir="rtl"] .contact-form input[type="tel"] {
    direction: ltr;
    text-align: left;
}

@media (max-width: 576px) {
    html[dir="rtl"] .space-benefit-box {
        justify-content: flex-start;
        text-align: right;
    }

    html[dir="rtl"] .space-benefit-box p {
        text-align: right;
    }
}
