/* ============================================
   CSS VARIABLES - Kuwait SEO
   Colors from DESIGN_CHOICES.md (Hue 123° green palette)
   ============================================ */

:root {
    --primary-color: #10B981;
    --primary-dark: #047857;
    --secondary-color: #047857;
    --accent-color: #FBBF24;
    --background-color: #F9FAFB;
    --text-color: #111827;
    --text-light: #6B7280;
    --white: #ffffff;
    --border-color: #E5E7EB;
    --font-family: 'Inter', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --header-height: 70px;
}

/* ============================================
   BASE RESET
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* RTL Support */
[dir="rtl"] body {
    font-family: var(--font-arabic);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-accent:hover {
    background: #E5A50A;
    transform: translateY(-2px);
}

/* ============================================
   HEADER - CRITICAL SECTION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: var(--shadow);
    height: var(--header-height);
    overflow: visible;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    overflow: visible;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-weight: 700;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

.lang-link {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ============================================
   NAVIGATION - BASE STYLES
   ============================================ */

.main-nav {
    display: flex;
    align-items: center;
    overflow: visible;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-list > li > a:hover {
    color: var(--primary-color);
}

.nav-list > li > a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact CTA button */
.nav-cta {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
}

[dir="rtl"] .nav-cta {
    margin-left: 0;
    margin-right: 0.5rem;
}

.nav-cta:hover {
    opacity: 0.9;
}

/* ============================================
   DROPDOWN - CRITICAL SECTION
   ============================================ */

.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.has-dropdown > .nav-link {
    padding-right: 0.25rem;
}

[dir="rtl"] .has-dropdown > .nav-link {
    padding-right: 1rem;
    padding-left: 0.25rem;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-toggle svg {
    transition: transform 0.3s ease;
}

/* ============================================
   DROPDOWN MENU
   ============================================ */

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    z-index: 10000;
}

[dir="rtl"] .dropdown-menu {
    left: auto;
    right: 0;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.dropdown-menu a.active {
    color: var(--primary-color);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.03);
}

/* ============================================
   DESKTOP DROPDOWN BEHAVIOR (min-width: 769px)
   ============================================ */

@media (min-width: 769px) {
    .has-dropdown:hover > .dropdown-menu {
        display: block;
    }

    .has-dropdown:hover > .dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .has-dropdown:hover > .dropdown-toggle {
        color: var(--primary-color);
    }

    .has-dropdown.dropdown-open > .dropdown-menu {
        display: block;
    }

    .has-dropdown.dropdown-open > .dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .nav-list > li {
        flex-shrink: 0;
    }
}

.has-dropdown.has-active-child > .nav-link {
    color: var(--primary-color);
}

/* ============================================
   MOBILE MENU TOGGLE (Hamburger)
   ============================================ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   MOBILE STYLES (max-width: 768px)
   ============================================ */

/* Mobile Language Switcher - hidden on desktop */
.mobile-lang-item {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop language switcher on mobile */
    .header-container > .lang-switcher {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        pointer-events: none !important;
    }

    /* Show mobile language switcher in menu */
    .mobile-lang-item {
        display: block !important;
        margin-top: 0.5rem;
        padding: 0.5rem 0 0 0;
        border-top: none;
        border-bottom: none !important;
    }

    .mobile-lang-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        padding: 0.875rem 1.25rem;
        margin: 0.5rem 0;
        color: var(--white);
        font-weight: 600;
        font-size: 0.95rem;
        background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
        border-radius: var(--border-radius-lg);
        transition: var(--transition);
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }

    .mobile-lang-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }

    .mobile-lang-link svg {
        flex-shrink: 0;
        stroke: var(--white);
    }

    .site-header {
        overflow: visible;
    }

    .header-container {
        overflow: visible;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-x: hidden;
        overflow-y: auto;
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    [dir="rtl"] .main-nav {
        transform: translateX(100%);
    }

    .main-nav.mobile-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 1rem;
        margin: 0;
        overflow: visible;
    }

    .nav-list > li {
        border-bottom: 1px solid var(--border-color);
        overflow: visible;
    }

    .nav-list > li:last-child {
        border-bottom: none;
    }

    .nav-list > li > a {
        padding: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .has-dropdown {
        flex-wrap: wrap;
        overflow: visible;
    }

    .has-dropdown > .nav-link {
        flex: 1;
        padding-right: 0;
    }

    .has-dropdown > .dropdown-toggle {
        min-width: 44px;
        min-height: 44px;
        border-left: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    [dir="rtl"] .has-dropdown > .dropdown-toggle {
        border-left: none;
        border-right: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: var(--background-color);
        display: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.dropdown-open > .dropdown-menu {
        display: block;
        max-height: 500px;
        padding: 0.5rem 0;
        overflow: visible;
    }

    .has-dropdown.dropdown-open > .dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        padding: 0.875rem 1.5rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-cta {
        margin: 1rem 0 0 0 !important;
        text-align: center;
        justify-content: center;
    }

    body.menu-open {
        overflow: hidden;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--white) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

[dir="rtl"] .hero-container {
    direction: rtl;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    margin-bottom: 1.5rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ============================================
   FAQ ACCORDION COMPONENT
   ============================================ */

.faq-section {
    padding: 4rem 0;
    background: var(--background-color);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s ease, color 0.2s ease;
}

[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-question:hover {
    background: var(--background-color);
    color: var(--primary-color);
}

.faq-question span:first-child {
    flex: 1;
    min-width: 0;
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--background-color);
    border-radius: 50%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease;
}

.faq-question:hover .faq-icon {
    background: rgba(16, 185, 129, 0.1);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-light);
    stroke-width: 2.5;
    fill: none;
    transition: stroke 0.2s ease;
}

.faq-question:hover .faq-icon svg {
    stroke: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
}

.faq-item.active .faq-icon svg {
    stroke: var(--white);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer-content p {
    margin: 0;
}

/* FAQ Two-Column Grid Layout */
.faq-accordion.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
}

/* FAQ Tabs Layout */
.faq-tabs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.faq-tab {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-tab:hover,
.faq-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.faq-tab-content {
    display: none;
}

.faq-tab-content.active {
    display: block;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-accordion.faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    .faq-icon svg {
        width: 12px;
        height: 12px;
    }

    .faq-answer-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .faq-tabs {
        gap: 0.25rem;
    }

    .faq-tab {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--text-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul a:hover {
    color: var(--primary-color);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow);
}

[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 2rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-light);
    position: relative;
    padding-left: 2rem;
}

[dir="rtl"] .testimonial-content {
    padding-left: 0;
    padding-right: 2rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

[dir="rtl"] .testimonial-content::before {
    left: auto;
    right: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
}

.testimonial-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.testimonial-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.bg-light { background-color: var(--background-color); }
.bg-white { background-color: var(--white); }

/* ============================================
   PAGE HERO (Internal Pages)
   ============================================ */

.page-hero {
    padding: 3rem 0;
    background: var(--background-color);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs span {
    color: var(--text-light);
}

/* ============================================
   PROCESS PAGE STYLES
   ============================================ */

.process-overview {
    background-color: var(--background-color);
    padding: 2rem 0;
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
}

.process-step:hover,
.process-step.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.process-phase {
    padding: 5rem 0;
}

.process-phase.alt-bg {
    background-color: var(--background-color);
}

.phase-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.phase-content.reverse {
    grid-template-columns: 2fr 1fr;
}

.phase-content.reverse .phase-icon {
    order: 2;
}

.phase-icon {
    max-width: 250px;
    margin: 0 auto;
}

.phase-icon svg {
    width: 100%;
    height: auto;
    color: var(--primary-color);
}

.phase-header {
    margin-bottom: 1.5rem;
}

.phase-number {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.phase-text h2 {
    margin-bottom: 1rem;
}

.phase-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.phase-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.detail-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.process-phase.alt-bg .detail-box {
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

.detail-box h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.detail-box ul {
    list-style: disc;
    padding-right: 1.25rem;
}

[dir="ltr"] .detail-box ul {
    padding-right: 0;
    padding-left: 1.25rem;
}

.detail-box li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.detail-box p {
    color: var(--text-light);
}

/* Expectations Section */
.expectations-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.expectations-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.timeline-expectations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.expectation-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.expectation-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.expectation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.expectation-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.expectation-period {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.expectation-card h3 {
    margin-bottom: 1.5rem;
}

.expectation-card ul {
    list-style: none;
}

.expectation-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expectation-card li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   TESTIMONIALS PAGE STYLES
   ============================================ */

.featured-testimonial {
    padding: 3rem 0;
    background: var(--background-color);
}

.featured-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.quote-icon {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="ltr"] .quote-icon {
    right: auto;
    left: 40px;
}

.quote-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.featured-card blockquote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar svg {
    width: 60px;
    height: 60px;
}

.author-info {
    flex: 1;
}

.author-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.result-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.stars svg {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

/* Testimonials Grid */
.testimonials-grid-section {
    padding: 5rem 0;
}

.testimonials-grid-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.card-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.card-stars svg {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    min-height: 100px;
}

.card-author strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.card-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Results Section */
.results-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.results-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    display: inline;
}

.result-suffix {
    font-size: 2rem;
    font-weight: 700;
    display: inline;
}

.result-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Industries Section */
.industries-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.industries-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.industry-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.industry-icon {
    width: 50px;
    height: 50px;
    color: var(--primary-color);
}

.industry-icon svg {
    width: 100%;
    height: 100%;
}

.industry-item span {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.contact-section .contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-info-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
}

.contact-form-wrapper > p,
.contact-info-wrapper > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1rem;
    padding-left: 2.5rem;
}

[dir="ltr"] .form-group select {
    background-position: right 1rem center;
    padding-left: 1rem;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#contact-form .btn svg {
    transition: transform 0.3s ease;
}

#contact-form .btn:hover svg {
    transform: translateX(-3px);
}

[dir="ltr"] #contact-form .btn:hover svg {
    transform: translateX(3px);
}

/* Contact Info Cards - Compact Design */
.contact-section .contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-section .info-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    box-shadow: none;
}

.contact-section .info-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-section .info-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    stroke: var(--primary-color);
}

.contact-section .info-content {
    flex: 1;
    min-width: 0;
}

.contact-section .info-content h3 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin: 0 0 0.125rem 0;
    line-height: 1.2;
}

.contact-section .info-content a,
.contact-section .info-content p {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.3;
    transition: var(--transition);
}

.contact-section .info-content a:hover {
    color: var(--primary-color);
}

/* Social Links - Horizontal Row */
.contact-section .social-links {
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.contact-section .social-links h3 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.contact-section .social-icons {
    display: flex;
    gap: 0.5rem;
}

.contact-section .social-icon {
    width: 32px;
    height: 32px;
    background: var(--background-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-section .social-icon:hover {
    background: var(--primary-color);
}

.contact-section .social-icon svg {
    width: 14px;
    height: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.contact-section .social-icon:hover svg {
    color: var(--white);
}

/* Map Section */
.map-section {
    padding: 3rem 0 5rem;
    background: var(--background-color);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Contact Page Responsive */
@media (max-width: 991px) {
    .contact-section .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-section .contact-form-wrapper,
    .contact-section .contact-info-wrapper {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-section .contact-grid {
        gap: 1.5rem;
    }

    .contact-section .contact-form-wrapper,
    .contact-section .contact-info-wrapper {
        padding: 1.25rem;
    }

    .contact-section .form-row {
        grid-template-columns: 1fr;
    }

    .contact-section .contact-info-cards {
        gap: 0.875rem;
    }

    .contact-section .info-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .contact-section .info-icon svg {
        width: 14px;
        height: 14px;
    }

    .contact-section .social-icon {
        width: 28px;
        height: 28px;
    }

    .contact-section .social-icon svg {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   404 ERROR PAGE STYLES
   ============================================ */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 500px;
}

.error-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    color: var(--primary-color);
}

.error-illustration svg {
    width: 100%;
    height: 100%;
}

.error-content h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   WHAT WE DO CAROUSEL STYLES
   ============================================ */

.what-we-do-section {
    padding: 4rem 0;
    overflow: hidden;
    background: var(--background-color);
}

.what-we-do-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.what-we-do-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
}

.carousel-row {
    display: flex;
    margin-bottom: 1.25rem;
    width: 100%;
    overflow: hidden;
}

.carousel-row:last-child {
    margin-bottom: 0;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: carousel-scroll 50s linear infinite;
    will-change: transform;
}

.carousel-set {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    padding-right: 1rem;
    min-width: 100vw;
}

[dir="rtl"] .carousel-set {
    padding-right: 0;
    padding-left: 1rem;
}

/* Reverse row: scroll opposite direction, same start point */
.carousel-row.reverse .carousel-track {
    animation-name: carousel-scroll-right;
}

/* Pause on hover */
.carousel-row:hover .carousel-track {
    animation-play-state: paused;
}

/* LTR animations - both start at 0 */
@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes carousel-scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* RTL animations */
[dir="rtl"] .carousel-track {
    animation-name: carousel-scroll-rtl;
}

[dir="rtl"] .carousel-row.reverse .carousel-track {
    animation-name: carousel-scroll-rtl-right;
}

@keyframes carousel-scroll-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

@keyframes carousel-scroll-rtl-right {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(0);
    }
}

.carousel-item {
    flex-shrink: 0;
    padding: 1rem 2rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-color);
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-item:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    position: relative;
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--text-light);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    z-index: 1;
    transition: background 0.3s;
}

[dir="rtl"] .popup-close {
    right: auto;
    left: 1rem;
}

.popup-close:hover {
    background: var(--primary-color);
}

.popup-content {
    padding: 2rem;
    overflow-y: auto;
    max-height: 80vh;
}

.popup-content h1,
.popup-content h2 {
    margin-top: 0;
}

.popup-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.popup-content h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.popup-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.popup-content ul,
.popup-content ol {
    margin-bottom: 1rem;
    padding-right: 1.5rem;
}

[dir="ltr"] .popup-content ul,
[dir="ltr"] .popup-content ol {
    padding-right: 0;
    padding-left: 1.5rem;
}

.popup-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .popup-container {
        margin: 1rem;
        max-height: 90vh;
    }

    .popup-content {
        padding: 1.5rem;
        max-height: 85vh;
    }

    .popup-content h1 {
        font-size: 1.5rem;
    }
}
