/*
Theme Name: Al Shamal Theme
Theme URI: https://github.com/antigravity/al-shamal-theme
Description: A modern, high-performance, and bilingual (AR/EN) business landing page theme designed for electrical and lighting solutions, inspired by Al Shamal. Features gorgeous glassmorphism, smooth animations, and full RTL support.
Version: 1.0.0
Author: Antigravity AI
Author URI: https://github.com/antigravity
Text Domain: al-shamal
Domain Path: /languages
*/

/* ==========================================
   CSS RESET & VARIABLES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #e65c2b;
    --primary-hover: #ff7747;
    --dark-bg: #121212;
    --dark-surface: #1e1e1e;
    --dark-card: #262626;
    --light-bg: #f8f9fa;
    --light-surface: #ffffff;
    --border-color: #e0e0e0;
    --text-dark: #1b1b1b;
    --text-muted: #666666;
    --text-light: #ffffff;
    --text-light-muted: #b0b0b0;
    --font-ar: 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
    --font-en: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Direction-specific Fonts */
html[dir="rtl"] body {
    font-family: var(--font-ar);
}

html[dir="ltr"] body {
    font-family: var(--font-en);
}

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

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

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

/* ==========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 92, 43, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER SECTION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(27, 27, 27, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: var(--text-light);
}

.logo img {
    height: 45px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light-muted);
    position: relative;
    padding: 8px 0;
}

.main-nav a:hover,
.main-nav li.current-menu-item a {
    color: var(--text-light);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav li.current-menu-item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    background-color: var(--dark-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1010;
}

html[dir="rtl"] .lang-dropdown {
    left: 0;
}

html[dir="ltr"] .lang-dropdown {
    right: 0;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-light-muted);
    transition: var(--transition-fast);
}

.lang-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.lang-flag {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1010;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}
.hamburger-line:nth-child(2) {
    top: 9px;
}
.hamburger-line:nth-child(3) {
    top: 18px;
}

/* Active transforming state */
.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary);
}
.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary);
}

/* Backdrop Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, var(--light-bg));
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
}

html[dir="rtl"] .hero-content,
html[dir="ltr"] .hero-content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-tagline {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: inline-block;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: center;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light-muted);
    margin: 0 auto 40px auto;
    max-width: 650px;
    text-align: center;
}

.hero-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* ==========================================
   METRICS SECTION
   ========================================== */
.metrics-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.metrics-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.metrics-left {
    grid-column: span 7;
    background-color: var(--light-surface);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metrics-right {
    grid-column: span 5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

.metrics-left h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.metrics-left p {
    color: var(--text-muted);
    font-size: 15px;
}

.metric-card {
    background-color: var(--light-surface);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    text-align: center;
    border-top: 3px solid transparent;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    border-top-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.metric-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.metric-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.metric-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================
   SERVICES (SOLUTIONS) SECTION - FIGMA DESIGN
   ========================================== */
.solutions-section {
    background-color: #ffffff;
    color: #121212;
    padding: 100px 0;
}

.solutions-header-figma {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.solutions-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solutions-label-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #121212;
    margin-bottom: 12px;
}

.orange-square {
    width: 10px;
    height: 10px;
    background-color: var(--primary, #e65c2b);
    display: inline-block;
}

.solutions-title-figma {
    font-size: 44px;
    font-weight: 800;
    color: #121212;
    line-height: 1.25;
    margin: 0;
}

.solutions-desc-figma {
    font-size: 15px;
    color: #777777;
    max-width: 460px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

html[dir="rtl"] .solutions-desc-figma {
    text-align: right;
}

/* List container */
.solutions-list-figma {
    width: 100%;
    border-top: 1px solid #ECECEC;
}

/* Service Row */
.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #ECECEC;
    transition: background-color 0.3s ease;
}

.service-title-col {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.service-num {
    font-size: 48px;
    font-weight: 600;
    color: #D9D9D9;
    min-width: 60px;
    line-height: 1;
}

.service-title-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #121212;
    margin: 0;
}

.service-sub-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #e65c2b);
    margin: 0;
}

/* Category Tags / Chips */
.service-tags-col {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    max-width: 50%;
}

.tag-chip {
    background-color: #ffffff;
    color: #444444;
    border: 1px solid #D9D9D9;
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.tag-chip:hover {
    border-color: var(--primary, #e65c2b);
    color: var(--primary, #e65c2b);
}

/* Responsive Layout */
@media (max-width: 992px) {
    .solutions-header-figma {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding: 35px 0;
    }
    
    .service-tags-col {
        max-width: 100%;
        justify-content: flex-start;
    }
}

/* ==========================================
   VALUES (WHY US) SECTION
   ========================================== */
.values-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.values-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.values-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.values-header p {
    color: var(--text-light-muted);
}

.values-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--dark-surface);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: var(--dark-card);
    border-color: rgba(230, 92, 43, 0.3);
}

.value-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.projects-title-container {
    max-width: 600px;
}

.projects-title {
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

.projects-nav {
    display: flex;
    gap: 12px;
}

.project-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--light-surface);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition-fast);
}

.project-nav-btn:hover {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.projects-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0 45px 0;
}

.projects-swiper {
    width: 100%;
    overflow: hidden;
    padding-bottom: 5px;
}

.swiper-slide {
    height: auto;
}

.swiper-slide .project-card {
    width: 100%;
    height: 100%;
    background-color: var(--light-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
}

.projects-pagination {
    position: relative !important;
    margin-top: 25px !important;
    bottom: 0 !important;
}

.projects-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary, #e65c2b) !important;
    width: 24px !important;
    border-radius: 6px !important;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.project-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.project-card:hover .project-img img {
    transform: scale(1.08);
}

.project-card-content {
    padding: 20px;
}

.project-location {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.project-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-card-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   BRANDS SECTION
   ========================================== */
.brands-section {
    background-color: var(--light-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.brands-container {
    text-align: center;
}

.brands-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.brands-swiper-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.brands-swiper .brand-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    background-color: var(--light-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px 20px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.brands-swiper .brand-item:hover {
    border-color: rgba(230, 92, 43, 0.15);
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.brand-item img {
    max-height: 45px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-fast);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================
   CONTACT FORM SECTION (FIGMA FULL-WIDTH ORANGE DESIGN)
   ========================================== */
.contact-section {
    background-color: var(--primary, #e65c2b);
    color: #ffffff;
    padding: 90px 0;
    width: 100%;
    overflow: hidden;
}

.contact-box {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 50px;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.contact-left {
    grid-column: span 5;
    min-width: 0;
}

.contact-left h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    color: #ffffff;
}

.contact-left p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.65;
    max-width: 440px;
}

.contact-right {
    grid-column: span 7;
    min-width: 0;
    width: 100%;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 12px 18px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    height: 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-radius;
    box-sizing: border-box;
    outline: none;
    text-overflow: ellipsis;
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13.5px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

textarea.form-control {
    resize: none;
    height: 120px;
    padding-top: 14px;
    white-space: normal;
}

.btn-form-submit {
    background-color: #ffffff;
    color: var(--primary, #e65c2b);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    height: 48px;
    transition: var(--transition-smooth);
    margin-top: 4px;
}

.btn-form-submit:hover {
    background-color: #ffffff;
    color: var(--primary, #e65c2b);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.form-response {
    grid-column: span 2;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
}

.form-response.success {
    color: #2ec4b6;
}

.form-response.error {
    color: #ff9f1c;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--text-light-muted);
    font-size: 14.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    padding: 90px 0 60px 0;
}

.footer-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 50px;
}

.footer-col-about {
    grid-column: span 5;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 26px;
    color: var(--text-light);
    margin-bottom: 22px;
}

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

.footer-logo svg {
    transition: transform 0.3s ease;
}

.footer-logo:hover svg {
    transform: rotate(10deg) scale(1.05);
}

.footer-about-text {
    line-height: 1.75;
    color: var(--text-light-muted);
    margin-bottom: 25px;
    max-width: 380px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light-muted);
    font-size: 16px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(230, 92, 43, 0.25);
}

.footer-col-links {
    grid-column: span 3;
}

.footer-col-contact {
    grid-column: span 4;
}

.footer-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .footer-heading::after {
    right: 0;
}

html[dir="ltr"] .footer-heading::after {
    left: 0;
}

.footer-col-links:hover .footer-heading::after,
.footer-col-contact:hover .footer-heading::after {
    width: 55px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-list a {
    color: var(--text-light-muted);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

html[dir="ltr"] .footer-links-list a:hover {
    color: var(--text-light);
    transform: translateX(5px);
}

html[dir="rtl"] .footer-links-list a:hover {
    color: var(--text-light);
    transform: translateX(-5px);
}

html[dir="rtl"] .footer-links-list a::before {
    content: '←';
    margin-left: 8px;
    color: var(--primary);
}

html[dir="ltr"] .footer-links-list a::before {
    content: '→';
    margin-right: 8px;
    color: var(--primary);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: var(--primary);
    font-size: 16px;
    min-width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3px;
}

.contact-icon .iconsax {
    font-size: 20px;
}

.social-link i,
.social-link svg {
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.iconsax {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.contact-text {
    line-height: 1.5;
    color: var(--text-light-muted);
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--text-light-muted);
    transition: color 0.3s ease;
}

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

/* Responsive constraints for larger desktop & medium screens */
@media (max-width: 1200px) {
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .footer-col-about {
        grid-column: span 2;
        max-width: 100%;
    }
    .footer-about-text {
        max-width: 100%;
    }
    .footer-col-links {
        grid-column: span 1;
        grid-column-start: auto;
    }
    .footer-col-contact {
        grid-column: span 1;
        grid-column-start: auto;
    }
}

/* ==========================================
   ENTRANCE ANIMATIONS (SCROLL-REVEAL)
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px) scale(0.98);
}

.reveal.reveal-right {
    transform: translateX(40px) scale(0.98);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger 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; }

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .metrics-grid {
        display: flex;
        flex-direction: column;
    }
    .metrics-right {
        grid-column: span 12;
    }
    .project-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hide the header toggle button when the menu is open, leaving only the drawer close icon */
    .main-nav.open + .header-actions #mobileNavToggle {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.8);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        height: 100vh;
        width: 100%;
        max-width: 400px;
        background-color: rgba(17, 17, 17, 0.94);
        backdrop-filter: blur(25px);
        z-index: 1005;
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        padding: 40px 40px 60px 40px;
        transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
        overflow-y: auto;
    }
    
    /* LTR Drawer slide direction */
    html[dir="ltr"] .main-nav {
        right: -100%;
        left: auto;
        transform: translateX(100%);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    html[dir="ltr"] .main-nav.open {
        transform: translateX(0);
        right: 0;
    }
    
    /* RTL Drawer slide direction */
    html[dir="rtl"] .main-nav {
        left: -100%;
        right: auto;
        transform: translateX(-100%);
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
    html[dir="rtl"] .main-nav.open {
        transform: translateX(0);
        left: 0;
    }
    
    /* Mobile Header inside drawer */
    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mobile-menu-header .logo a {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 22px;
        color: var(--text-light);
    }
    
    .mobile-menu-close {
        background: transparent;
        border: none;
        color: var(--text-light-muted);
        font-size: 24px;
        cursor: pointer;
        transition: var(--transition-fast);
        padding: 5px;
    }
    
    .mobile-menu-close:hover {
        color: var(--primary);
        transform: scale(1.15);
    }
    
    /* Mobile Language Switcher */
    .mobile-menu-lang {
        display: flex !important;
        align-items: center;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .mobile-menu-lang a {
        font-size: 14px;
        font-weight: 600;
        color: var(--text-light-muted);
        padding: 6px 12px;
        border-radius: 4px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        transition: var(--transition-fast);
    }
    
    .mobile-menu-lang a.active {
        color: var(--primary);
        background-color: rgba(230, 92, 43, 0.1);
        border-color: rgba(230, 92, 43, 0.3);
    }
    
    .mobile-menu-lang .lang-sep {
        color: rgba(255, 255, 255, 0.15);
    }
    
    /* Separator Divider */
    .mobile-menu-separator {
        height: 1px;
        background-color: rgba(255, 255, 255, 0.08);
        width: 100%;
        margin: 15px 0;
    }
    
    /* Navigation List */
    .main-nav .nav-menu-list {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 15px 0;
    }
    
    .main-nav .nav-menu-list li {
        list-style: none;
        width: 100%;
    }
    
    .main-nav .nav-menu-list a {
        font-size: 28px;
        font-weight: 800;
        color: var(--text-light-muted);
        display: inline-flex;
        align-items: center;
        position: relative;
        transition: var(--transition-smooth);
        transform: translateY(20px);
        opacity: 0;
        width: 100%;
        padding: 5px 0;
    }
    
    .main-nav.open .nav-menu-list a {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered entry animation */
    .main-nav.open .nav-menu-list li:nth-child(1) a { transition-delay: 0.1s; }
    .main-nav.open .nav-menu-list li:nth-child(2) a { transition-delay: 0.16s; }
    .main-nav.open .nav-menu-list li:nth-child(3) a { transition-delay: 0.22s; }
    .main-nav.open .nav-menu-list li:nth-child(4) a { transition-delay: 0.28s; }
    .main-nav.open .nav-menu-list li:nth-child(5) a { transition-delay: 0.34s; }
    
    /* Hover accent and translation effects */
    .main-nav .nav-menu-list a:hover,
    .main-nav .nav-menu-list a:active,
    .main-nav .nav-menu-list li.current-menu-item a {
        color: var(--primary);
    }
    
    html[dir="ltr"] .main-nav .nav-menu-list a:hover {
        transform: translateX(8px);
    }
    html[dir="rtl"] .main-nav .nav-menu-list a:hover {
        transform: translateX(-8px);
    }
    
    /* Orange indicator bar on hover */
    .main-nav .nav-menu-list a::before {
        content: '';
        position: absolute;
        width: 4px;
        height: 0;
        background-color: var(--primary);
        transition: var(--transition-fast);
        top: 15%;
    }
    
    html[dir="ltr"] .main-nav .nav-menu-list a::before {
        left: -15px;
    }
    html[dir="rtl"] .main-nav .nav-menu-list a::before {
        right: -15px;
    }
    
    .main-nav .nav-menu-list a:hover::before,
    .main-nav .nav-menu-list li.current-menu-item a::before {
        height: 70%;
    }
    
    /* Mobile Footer details */
    .mobile-menu-footer {
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        width: 100%;
        margin-top: 15px;
    }
    
    .mobile-social-links {
        display: flex;
        gap: 20px;
        justify-content: flex-start;
        padding-left: 5px;
    }
    
    .mobile-social-links a {
        font-size: 20px;
        color: var(--text-light-muted);
        transition: var(--transition-fast);
    }
    
    .mobile-social-links a:hover {
        color: var(--primary);
        transform: translateY(-2px);
    }
    
    .btn-mobile-cta {
        width: 100%;
        padding: 15px;
        font-size: 15px;
        text-align: center;
        background-color: var(--primary);
        color: var(--text-light);
        border-radius: 8px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(230, 92, 43, 0.25);
    }
    
/* ==========================================
   DEDICATED MOBILE TYPOGRAPHY & LAYOUT SYSTEM
   ========================================== */
@media (max-width: 768px) {
    /* Global Typography Reset for Mobile */
    body {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Mobile Container Spacing */
    .section-padding {
        padding: 60px 0 !important;
    }

    /* Section Labels & Badges */
    .section-label,
    .solutions-label-badge,
    .hero-tagline-badge {
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    /* Mobile Main Headings */
    .hero-title {
        font-size: 28px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
        text-align: center !important;
        margin-bottom: 18px !important;
    }

    .solutions-title-figma,
    .metrics-left h2,
    .values-header h2,
    .projects-header h2,
    .contact-info h2,
    .brands-title {
        font-size: 24px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        letter-spacing: -0.3px !important;
        margin-bottom: 12px !important;
    }

    html[dir="rtl"] .solutions-title-figma,
    html[dir="rtl"] .metrics-left h2,
    html[dir="rtl"] .values-header h2,
    html[dir="rtl"] .projects-header h2,
    html[dir="rtl"] .contact-info h2,
    html[dir="rtl"] .brands-title {
        text-align: right !important;
    }

    /* Mobile Section Descriptions & Subtitles */
    .hero-desc {
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.65 !important;
        text-align: center !important;
        color: #b8b8b8 !important;
        margin-bottom: 28px !important;
    }

    .solutions-desc-figma,
    .metrics-left p,
    .projects-header p,
    .values-header p,
    .contact-info p {
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.65 !important;
        color: #666666 !important;
    }

    /* Mobile Buttons */
    .btn,
    .btn-mobile-cta,
    .btn-form-submit {
        height: 48px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .hero-btns .btn {
        width: 100% !important;
    }

    /* Section 2: Metrics / About Section Mobile */
    .metrics-section {
        margin-top: -30px !important;
        padding-bottom: 40px !important;
    }

    .metrics-left {
        padding: 28px 20px !important;
        border-radius: 12px !important;
    }

    .metrics-right {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 15px !important;
    }

    .metric-card {
        padding: 20px 12px !important;
        border-radius: 10px !important;
    }

    .metric-number {
        font-size: 32px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
    }

    .metric-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }

    .metric-desc {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    /* Section 3: Services (Solutions) Figma Rows Mobile */
    .solutions-section {
        padding: 50px 0 !important;
    }

    .solutions-header-figma {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 40px !important;
    }

    .service-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 24px 0 !important;
    }

    .service-title-col {
        gap: 16px !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .service-num {
        font-size: 36px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        min-width: 45px !important;
    }

    .service-main-title {
        font-size: 19px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
    }

    .service-sub-title {
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }

    .service-tags-col {
        max-width: 100% !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    .tag-chip {
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 5px 14px !important;
        height: 32px !important;
        border-radius: 50px !important;
    }

    /* Section 4: Values (Why Us) Mobile */
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .value-card {
        padding: 26px 20px !important;
    }

    .value-icon {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }

    .value-title {
        font-size: 17px !important;
        font-weight: 700 !important;
        margin-bottom: 8px !important;
    }

    .value-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
        color: #aaaaaa !important;
    }

    /* Section 5: Projects Mobile */
    .projects-header {
        margin-bottom: 30px !important;
    }

    .project-card {
        flex: 0 0 100% !important;
        padding: 15px !important;
    }

    .project-title {
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
    }

    .project-location {
        font-size: 12px !important;
        font-weight: 600 !important;
    }

    .project-desc {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    /* Section 6: Brands / Partners Mobile */
    .brands-swiper .brand-item {
        height: 65px !important;
        padding: 8px 12px !important;
    }

    /* Section 7: Contact Section Responsive */
    .contact-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
        width: 100% !important;
    }

    .contact-left,
    .contact-right {
        width: 100% !important;
        grid-column: span 12 !important;
    }

    .contact-left p {
        max-width: 100% !important;
    }

    .contact-form {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .form-group.full-width,
    .btn-form-submit,
    .form-response {
        grid-column: span 1 !important;
    }

    .form-group input,
    .form-group textarea {
        height: 46px !important;
        font-size: 14px !important;
        padding: 0 14px !important;
    }

    .form-group textarea {
        height: 110px !important;
        padding: 12px 14px !important;
    }

    /* Section 8: Footer Mobile */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 35px !important;
    }

    .footer-col-about,
    .footer-col-links,
    .footer-col-contact {
        width: 100% !important;
    }

    .footer-col-about p {
        font-size: 13.5px !important;
        line-height: 1.65 !important;
        color: var(--text-light-muted) !important;
    }

    .footer-heading {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 20px !important;
        padding-bottom: 8px !important;
    }

    .footer-links-list a,
    .footer-contact-item {
        font-size: 13.5px !important;
        color: var(--text-light-muted) !important;
        line-height: 1.8 !important;
    }

    .footer-bottom-container {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
        font-size: 12px !important;
    }
    
    .footer-legal-links {
        justify-content: center !important;
        width: 100% !important;
        gap: 15px !important;
    }
}

@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .metrics-right {
        grid-template-columns: 1fr !important;
    }
    
    .hero-title {
        font-size: 25px !important;
    }
    
    .solutions-title-figma,
    .metrics-left h2,
    .values-header h2,
    .projects-header h2,
    .contact-info h2 {
        font-size: 22px !important;
    }
}
