/* ===========================================
   BSC-CO.com - Business Foundations
   Premium Professional Accounting Website
   =========================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-navy: #0a2240;
    --primary-blue: #1a4d7d;
    --secondary-blue: #2874A6;
    --accent-gold: #C9A65C;
    --accent-gold-light: #D4AF37;
    
    /* Neutral Colors */
    --dark-charcoal: #1a1f2e;
    --dark-bg: #0f1419;
    --light-bg: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e8eaed;
    --border-gray: #dee2e6;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --text-muted: #95a5a6;
    
    /* Status Colors */
    --success: #27ae60;
    --error: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.20);
    
    /* Typography */
    --font-ar: 'Tajawal', sans-serif;
    --font-en: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1320px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 4px solid var(--accent-gold);
    border-radius: 50%;
    animation: loader-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: var(--accent-gold) transparent transparent transparent;
}

.loader-ring div:nth-child(1) { animation-delay: -0.45s; }
.loader-ring div:nth-child(2) { animation-delay: -0.3s; }
.loader-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes loader-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 30px;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-display);
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 30px;
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
    position: fixed;
    top: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: var(--accent-gold);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-base);
}

[dir="rtl"] .lang-toggle {
    right: auto;
    left: 30px;
}

.lang-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-blue);
    color: var(--text-light);
}

.lang-toggle i {
    font-size: 22px;
}

.lang-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 34, 64, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 998;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 34, 64, 0.98);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-navy);
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    font-family: var(--font-display);
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    transition: var(--transition-base);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 60%, var(--secondary-blue) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 166, 92, 0.15) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--text-light) 2px, var(--text-light) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--text-light) 2px, var(--text-light) 4px);
    background-size: 60px 60px;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--accent-gold);
}

.hero-badge i {
    font-size: 18px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    font-family: var(--font-display);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-divider {
    width: 120px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--accent-gold-light);
}

.hero-description {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 50px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.stat-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 36px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 8px 24px rgba(201, 166, 92, 0.3);
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(201, 166, 92, 0.4);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

[dir="rtl"] .btn i {
    transform: scaleX(-1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--text-light);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; top: 8px; }
    50% { opacity: 0.3; top: 20px; }
}

/* ===== SECTION STYLES ===== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--dark-charcoal);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag.light {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--primary-navy);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title.light {
    color: var(--text-light);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.section-divider.light {
    background: var(--accent-gold);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.section-desc.light {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.9;
    text-align: justify;
}

.lead-text {
    font-size: 1.15rem !important;
    font-weight: 500;
    color: var(--primary-blue);
}

.about-features {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.feature-item:hover {
    background: var(--medium-gray);
    transform: translateX(10px);
}

[dir="rtl"] .feature-item:hover {
    transform: translateX(-10px);
}

.feature-item i {
    font-size: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.about-visual {
    position: relative;
}

.visual-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visual-card {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transition: var(--transition-slow);
}

.visual-card:hover::before {
    top: -30%;
    right: -30%;
}

.visual-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.visual-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.visual-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-base);
}

[dir="rtl"] .service-item::before {
    transform-origin: left;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

[dir="rtl"] .service-number {
    right: auto;
    left: 30px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--primary-navy);
    margin-bottom: 25px;
    transition: var(--transition-base);
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== METHOD SECTION ===== */
.method-timeline {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--primary-navy);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.marker-line {
    width: 4px;
    flex: 1;
    background: linear-gradient(180deg, var(--accent-gold) 0%, transparent 100%);
    margin-top: 10px;
}

.marker-line.last {
    background: transparent;
}

.timeline-content {
    padding: 35px;
    background: var(--light-bg);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 35px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid var(--border-gray);
}

[dir="rtl"] .timeline-content::before {
    left: auto;
    right: -12px;
    border-right: none;
    border-left: 12px solid var(--border-gray);
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 37px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--light-bg);
}

[dir="rtl"] .timeline-content::after {
    left: auto;
    right: -8px;
    border-right: none;
    border-left: 10px solid var(--light-bg);
}

.timeline-content:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

.timeline-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-points li {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding: 10px 15px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .timeline-points li {
    border-right: none;
    border-left: 3px solid var(--accent-gold);
}

/* ===== TEAM SECTION ===== */
.team-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.team-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-base);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-card-icon {
    width: 90px;
    height: 90px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-navy);
    margin: 0 auto 25px;
    transition: var(--transition-base);
}

.team-card:hover .team-card-icon {
    transform: scale(1.1) rotate(10deg);
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.team-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== CLIENTS SECTION ===== */
.clients-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.clients-intro p {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
}

.clients-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    margin-bottom: 60px;
}

.client-sector {
    padding: 40px;
    background: var(--light-bg);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.client-sector:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.sector-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    transition: var(--transition-base);
}

.client-sector:hover .sector-icon {
    transform: scale(1.1) rotate(5deg);
}

.client-sector h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.client-sector p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.sector-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sector-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding: 10px 15px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    border-right: 3px solid var(--accent-gold);
    transition: var(--transition-fast);
}

[dir="rtl"] .sector-list li {
    border-right: none;
    border-left: 3px solid var(--accent-gold);
}

.sector-list li:hover {
    background: var(--medium-gray);
    transform: translateX(5px);
}

[dir="rtl"] .sector-list li:hover {
    transform: translateX(-5px);
}

.clients-cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-xl);
    color: var(--text-light);
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: var(--font-display);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* ===== CONTACT SECTION ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.contact-social {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
}

.contact-social h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 20px;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-gold-light);
    transform: translateY(-5px) rotate(10deg);
}

.contact-form-section {
    padding: 45px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark-charcoal);
    color: var(--text-light);
    padding: 10px;
}

/* ===== LICENSES SECTION ===== */
.licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.license-card {
    padding: 40px;
    background: var(--light-bg);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 166, 92, 0.1), transparent);
    transition: var(--transition-slow);
}

.license-card:hover::before {
    left: 100%;
}

.license-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.license-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: var(--accent-gold);
    margin: 0 auto 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.license-card:hover .license-badge {
    transform: scale(1.1) rotate(10deg);
}

.license-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.license-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.license-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    padding: 10px 20px;
    background: var(--light-gray);
    border-radius: 50px;
    display: inline-block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-navy);
    color: var(--text-light);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
}

.footer-logo .logo-text h3 {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--accent-gold);
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

[dir="rtl"] .footer-col ul li a:hover {
    transform: translateX(-5px);
}

.footer-col ul li a i {
    font-size: 12px;
    color: var(--accent-gold);
}

[dir="rtl"] .footer-col ul li a i {
    transform: scaleX(-1);
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-5px) rotate(10deg);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-top: 4px;
    flex-shrink: 0;
}

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

.footer-bottom-content {
    text-align: center;
}

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

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--accent-gold);
    color: var(--primary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 997;
}

[dir="rtl"] .scroll-top {
    right: auto;
    left: 30px;
}

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

.scroll-top:hover {
    background: var(--accent-gold-light);
    transform: translateY(-5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 90px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 70px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 84px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 84px);
        background: rgba(10, 34, 64, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        overflow-y: auto;
        z-index: 997;
    }
    
    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    [dir="rtl"] .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 25px;
    }
    
    .marker-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .clients-showcase {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .licenses-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .visual-cards {
        grid-template-columns: 1fr;
    }
    
    .service-item,
    .client-sector,
    .license-card {
        padding: 30px 20px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .lang-toggle,
    .scroll-top,
    .mobile-menu-btn,
    .hero-buttons,
    .scroll-indicator {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
}