/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22c55e;
    --light-green: #4ade80;
    --dark-green: #16a34a;
    --darker-green: #15803d;
    --bg-dark: #0f1f1d;
    --bg-darker: #0d1817;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.85);
    --text-light: rgba(255, 255, 255, 0.7);
}

body {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', sans-serif;
    background-color: #f5f5f5;
    overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(15, 31, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo span {
    background: linear-gradient(135deg, #cf9627, #F1D592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #C5A059, #F1D592);
    transition: width 0.3s ease;
}

.nav-menu>li>a:hover {
    background: linear-gradient(45deg, #C5A059, #F1D592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dropdown-toggle:hover {
    background: linear-gradient(45deg, #C5A059, #F1D592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--light-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Nav CTA Button */
.nav-cta {
    border: 1px solid #C5A059;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6), 0 0 40px rgba(212, 175, 55, 0.3) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.nav-cta::after {
    display: none !important;
}

/* ==================== DROPDOWN MENU ==================== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle svg {
    transition: transform 0.3s ease;
    stroke: url(#goldGradient);
}

.dropdown-toggle svg path {
    stroke: #C5A059;
}

.nav-dropdown:hover .dropdown-toggle svg path {
    stroke: #F1D592;
}

.nav-dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 31, 29, 0.98);
    min-width: 220px;
    padding: 15px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: linear-gradient(45deg, rgba(197, 160, 89, 0.15), rgba(241, 213, 146, 0.1));
    color: #F1D592 !important;
    -webkit-text-fill-color: #F1D592 !important;
    border-right-color: #C5A059;
}

.dropdown-menu a::after {
    display: none;
}

/* ==================== SECTION COMMON STYLES ==================== */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 15px;
    font-weight: 700;
    color: var(--light-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.9;
}

/* New: Section Subtitle */
.section-subtitle {
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a3a35;
    margin: 15px auto 20px;
    max-width: 700px;
}

/* ==================== HERO WAVE DIVIDER ==================== */
.hero-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

@media (max-width: 768px) {
    .hero-wave-divider svg {
        height: 50px;
    }
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 20px;
}

.about-section .section-header {
    margin-bottom: 80px;
}

.about-section .section-title {
    font-family: 'Cairo', 'Inter', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-section .section-tag {
    color: #16a34a;
    font-weight: 700;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Remove image styles - not needed anymore */

/* Vision & Mission Boxes - Side by Side */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.vision-box,
.mission-box {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #C5A059;
    border-radius: 0;
    transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.15);
}

.vision-box h3,
.mission-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a3a35;
    margin-bottom: 15px;
}

.vision-box p,
.mission-box p {
    font-size: 18px;
    font-weight: 500;
    color: #2d2d2d;
    line-height: 1.9;
    margin: 0;
}

/* About Features - Single Row (4 Columns) */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 35px 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    border-top: 4px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-top-color: #C5A059;
    background: white;
    box-shadow: 0 12px 32px rgba(197, 160, 89, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #C5A059, #F1D592);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    stroke: white;
    fill: none;
}

.feature-text h4 {
    font-size: 18px;
    color: var(--bg-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.feature-text p {
    font-size: 14px;
    color: #777;
    margin: 0;
}



/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: var(--bg-dark);
    color: white;
}

.services-section .section-title {
    color: white;
}

.services-section .section-description {
    color: var(--text-gray);
}

/* Services Text List - Direct Display */
.services-text-list {
    max-width: 1000px;
    margin: 0 auto 60px;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.services-intro h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 15px;
}

.services-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.services-column {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-column li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
    padding-left: 25px;
    position: relative;
}

.services-column li strong {
    color: #F1D592;
    font-weight: 800;
    font-size: 20px;
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .services-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-text-list {
        padding: 30px 20px;
    }
}

/* Services CTA Button */
.services-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #C5A059 0%, #F1D592 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-view-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.5);
    background: linear-gradient(135deg, #F1D592 0%, #C5A059 100%);
}

.btn-view-more svg {
    transition: transform 0.3s ease;
}

.btn-view-more:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .btn-view-more {
        padding: 14px 30px;
        font-size: 16px;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 0;
    border: 1px solid rgba(74, 222, 128, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-green);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
    fill: none;
}

.service-card h3 {
    font-size: 22px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: white;
}

.service-link svg {
    width: 16px;
    height: 16px;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: url('images/stats_background_1767591595793.png') center center / cover no-repeat fixed;
    color: white;
    padding: 100px 20px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 42, 0.92) 0%, rgba(15, 31, 29, 0.88) 50%, rgba(26, 58, 53, 0.92) 100%);
    z-index: 1;
}

.stats-section>* {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ==================== PARTNERS SECTION ==================== */
.partners-section {
    background: #f8f9fa;
    padding: 80px 0;
    overflow: hidden;
}

.partners-section .section-container {
    margin-bottom: 50px;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scrollPartners 30s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    min-width: 150px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 15px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.2);
    border-color: #C5A059;
}

.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.partner-logo:hover .partner-name {
    color: #C5A059;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==================== BLOG SECTION ==================== */
.blog-section {
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 22px;
    color: var(--bg-dark);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
}

.blog-link svg {
    width: 16px;
    height: 16px;
}

/* ==================== SUCCESS STORIES SECTION ==================== */
.success-section {
    background: white;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.success-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 0;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.success-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: var(--light-green);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.success-card:hover {
    border-color: var(--light-green);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 222, 128, 0.2);
}

.success-content {
    position: relative;
    z-index: 1;
}

.success-text {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.success-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.author-info h4 {
    font-size: 18px;
    color: var(--bg-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    font-size: 14px;
    color: #777;
}

/* ==================== JOBS SECTION ==================== */
.jobs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.jobs-grid {
    display: grid;
    gap: 25px;
    margin-top: 50px;
}

.job-card {
    background: white;
    padding: 35px;
    border-radius: 0;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.job-card:hover {
    border-color: var(--light-green);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.15);
}

.job-info h3 {
    font-size: 24px;
    color: var(--bg-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.job-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.job-meta-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary-green);
}

.job-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.job-apply-btn {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.job-apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.4);
}

/* ==================== CONSULTATION SECTION ==================== */
.consultation-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a3a35 100%);
    color: white;
}

.consultation-section .section-title {
    color: white;
}

.consultation-section .section-description {
    color: var(--text-gray);
}

/* New Consultation Layout - Form in Center with Features on Sides */
.consultation-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: center;
}

.consultation-features-right,
.consultation-features-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Right Features - converging to center */
.consultation-features-right .consultation-feature {
    flex-direction: row-reverse;
    text-align: right;
}

.feature-right-1 {
    transform: translateX(40px);
}

.feature-right-2 {
    transform: translateX(0px);
}

.feature-right-3 {
    transform: translateX(40px);
}

/* Left Features - converging to center */
.consultation-features-left .consultation-feature {
    flex-direction: row;
    text-align: left;
}

.feature-left-1 {
    transform: translateX(-40px);
}

.feature-left-2 {
    transform: translateX(0px);
}

.feature-left-3 {
    transform: translateX(-40px);
}

.consultation-form-center {
    position: relative;
}

.consultation-form-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -60px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.5));
}

.consultation-form-center::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.5), transparent);
}

.consultation-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 8px;
    transition: all 0.4s ease;
}

.consultation-feature:hover {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.5);
    transform: translateX(0) !important;
    box-shadow: 0 5px 20px rgba(197, 160, 89, 0.2);
}

.consultation-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #C5A059, #F1D592);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.consultation-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.consultation-feature h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 8px;
    font-weight: 600;
}

.consultation-feature p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.consultation-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    background: linear-gradient(45deg, #C5A059, #F1D592);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-green);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(45deg, #C5A059, #F1D592);
    color: #ffffff;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

/* Primary CTA Button - Simplified */
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: linear-gradient(45deg, #C5A059, #F1D592);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #C5A059;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 8px rgba(197, 160, 89, 0.15);
}

.hero-cta-primary:hover {
    background: #C5A059;
    color: #ffffff;
    border-color: #B39549;
    box-shadow: 0px 4px 12px rgba(197, 160, 89, 0.25);
    transform: translateY(-1px);
}

/* Consultation Layout Responsive */
@media (max-width: 1024px) {
    .consultation-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .consultation-features-right,
    .consultation-features-left {
        order: 2;
    }

    .consultation-form-center {
        order: 1;
    }

    .feature-right-1,
    .feature-right-2,
    .feature-right-3,
    .feature-left-1,
    .feature-left-2,
    .feature-left-3 {
        transform: translateX(0) !important;
    }

    .consultation-features-right .consultation-feature,
    .consultation-features-left .consultation-feature {
        flex-direction: row;
        text-align: right;
    }

    .consultation-form-center::before,
    .consultation-form-center::after {
        display: none;
    }
}

/* ==================== LOCATIONS SECTION ==================== */
.locations-section {
    background: url('images/locations_map_bg_1767592186021.png') center center / cover no-repeat;
    position: relative;
}

.locations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92);
    z-index: 1;
}

.locations-section>* {
    position: relative;
    z-index: 2;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.location-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    position: relative;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.2);
    border-color: var(--light-green);
}

.location-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-badge svg {
    width: 16px;
    height: 16px;
}

.location-content {
    padding: 30px;
}

.location-name {
    font-size: 24px;
    color: var(--bg-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.location-details {
    display: grid;
    gap: 12px;
}

.location-detail {
    display: flex;
    align-items: start;
    gap: 12px;
    color: #666;
    font-size: 15px;
}

.location-detail svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-contact-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    border: none;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.location-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 222, 128, 0.4);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f0f7f6 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.03) 0%, rgba(34, 197, 94, 0.03) 100%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(197, 160, 89, 0.2);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C5A059, #F1D592, #80cbc4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.team-card:hover::before {
    opacity: 1;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5f3 0%, #b2dfdb 50%, #80cbc4 100%);
}

.team-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.team-image-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.team-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0;
}

.team-card:hover .team-image-circle img {
    transform: scale(1.08);
}

.team-content {
    padding: 25px 30px 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
}

.team-name {
    font-size: 22px;
    color: var(--bg-dark);
    margin-bottom: 8px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: #C5A059;
}

.team-position {
    font-size: 14px;
    color: #80cbc4;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(128, 203, 196, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 15px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, rgba(128, 203, 196, 0.1) 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: #C5A059;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #C5A059, #F1D592);
    border-color: transparent;
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.35);
}

.social-link:hover svg {
    fill: white;
}

/* Team Section Responsive */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
    }

    .team-image-wrapper {
        height: 280px;
    }

    .team-card {
        border-radius: 16px;
    }

    .team-content {
        padding: 20px 25px 25px;
    }

    .team-name {
        font-size: 20px;
    }
}


/* ==================== LAZY LOADING ANIMATIONS ==================== */

/* Base hidden state for all animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade Up Animation */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Left (for RTL - comes from right) */
.fade-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right (for RTL - comes from left) */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up Animation */
.scale-up {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delay classes for grid items */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Section headers animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cards stagger animation */
.service-card,
.blog-card,
.job-card,
.location-card,
.team-card,
.stat-item,
.success-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card.visible,
.blog-card.visible,
.job-card.visible,
.location-card.visible,
.team-card.visible,
.stat-item.visible,
.success-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stat numbers special animation */
.stat-number {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-item.visible .stat-number {
    opacity: 1;
    transform: scale(1);
}

/* About section image */
.about-image {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

/* About text */
.about-text {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.2s;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Feature items stagger */
.feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Legacy support */
.section-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: translateY(0);
}

img[data-src] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 31, 29, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .success-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .consultation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consultation-content>div:first-child {
        order: 2;
    }

    .consultation-content>div:last-child {
        order: 1;
    }
}

/* ==================== LTR SUPPORT FOR ENGLISH ==================== */
html[dir="ltr"] {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

html[dir="ltr"] body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

html[dir="ltr"] .nav-menu {
    flex-direction: row;
}

html[dir="ltr"] .dropdown-menu {
    left: 0;
    right: auto;
}

html[dir="ltr"] .service-link svg,
html[dir="ltr"] .blog-link svg {
    transform: rotate(180deg);
    margin-left: 8px;
    margin-right: 0;
}

html[dir="ltr"] .location-badge {
    left: 20px;
    right: auto;
}

html[dir="ltr"] .slider-prev {
    left: 30px;
    right: auto;
}

html[dir="ltr"] .slider-next {
    right: 30px;
    left: auto;
}

html[dir="ltr"] .about-text {
    text-align: left;
}

html[dir="ltr"] .feature-item {
    text-align: left;
}

html[dir="ltr"] .section-header {
    text-align: center;
}

html[dir="ltr"] .team-social {
    justify-content: center;
}

/* Language Switcher */
.nav-lang {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(197, 160, 89, 0.5);
    color: #C5A059;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-lang:hover {
    background: linear-gradient(45deg, #C5A059, #F1D592);
    color: white;
    border-color: transparent;
}