/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0B1F3A;        /* Deep Slate Blue (Trust) */
    --color-primary-light: #163660;  /* Lighter primary for hover states */
    --color-secondary: #123B6D;      /* Royal Blue (Reliability) */
    --color-accent: #F6A623;         /* Warm Amber (CTA & Focus) */
    --color-accent-hover: #E09110;   /* Muted accent for hover */
    --color-whatsapp: #25D366;       /* WhatsApp Green */
    --color-whatsapp-hover: #20BA56; /* WhatsApp Green Hover */
    
    /* Backgrounds */
    --color-bg-main: #F8FAFC;        /* Light clean slate background */
    --color-bg-card: #FFFFFF;        /* Pure white for cards */
    --color-bg-dark: #071526;        /* Ultra dark blue for footer */
    --color-bg-glass: rgba(11, 31, 58, 0.85); /* For sticky header blur */
    
    /* Text Colors */
    --color-text-dark: #1E293B;      /* Slate 800 (Primary text) */
    --color-text-muted: #64748B;     /* Slate 500 (Subtitles/details) */
    --color-text-light: #F8FAFC;     /* Off-white (Light backgrounds) */
    
    /* Fonts */
    --font-headings: 'Cairo', 'Tajawal', sans-serif;
    --font-body: 'Tajawal', sans-serif;
    
    /* Layout & Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(11, 31, 58, 0.12);
    --shadow-accent: 0 10px 20px rgba(246, 166, 35, 0.25);
    --shadow-whatsapp: 0 10px 20px rgba(37, 211, 102, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-circle: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Widths */
    --container-max-width: 1200px;
    --header-height: 80px;
    --header-height-scrolled: 70px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography Hierarchy
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

h4 {
    font-size: 1.1rem;
}

/* ==========================================================================
   Button Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-normal);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-primary-text {
    font-size: 1rem;
    font-weight: 800;
}

.btn-secondary-text {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-call {
    background-color: var(--color-accent);
    color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shineButton 3.5s infinite ease-in-out;
}

@keyframes shineButton {
    0% { left: -150%; }
    40% { left: 150%; }
    100% { left: 150%; }
}

.btn-call:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(246, 166, 35, 0.4);
}

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

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
    animation: pulseWhatsapp 1s infinite alternate;
}

@keyframes pulseWhatsapp {
    0% { transform: translateY(-3px) scale(1); }
    100% { transform: translateY(-3px) scale(1.03); }
}

.w-full {
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-svg {
    transition: var(--transition-normal);
}

.main-header.scrolled .logo-svg rect {
    fill: var(--color-accent);
}
.main-header.scrolled .logo-svg path {
    stroke: var(--color-primary);
}

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

.logo-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
    line-height: 1.1;
    transition: var(--transition-normal);
}

.logo-subtitle {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    transition: var(--transition-normal);
}

.main-header.scrolled .logo-title {
    color: var(--color-text-light);
}

.main-header.scrolled .logo-subtitle {
    color: var(--color-accent);
}

/* Desktop Navigation Link styles */
.desktop-nav ul {
    display: flex;
    gap: 24px;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    padding: 6px 0;
    position: relative;
}

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

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-accent);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.main-header.scrolled .desktop-nav a {
    color: var(--color-text-light);
}

.main-header.scrolled .desktop-nav a:hover,
.main-header.scrolled .desktop-nav a.active {
    color: var(--color-accent);
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn-header-call {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-header-whatsapp {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Burger menu button styling */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1100;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.main-header.scrolled .hamburger-btn .bar {
    background-color: var(--color-text-light);
}

.hamburger-btn[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-primary);
    z-index: 999;
    padding: calc(var(--header-height) + 40px) 24px 40px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    color: var(--color-text-light);
    font-size: 1.2rem;
    font-family: var(--font-headings);
    font-weight: 700;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-accent);
    padding-right: 8px;
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Backdrop overlay when mobile menu opens */
.mobile-nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(7, 21, 38, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(18, 59, 109, 0.6) 0%, transparent 50%),
                radial-gradient(circle at 90% 80%, rgba(246, 166, 35, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.hero-title {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.4;
}

.highlight-gold {
    color: var(--color-accent);
    background: linear-gradient(120deg, rgba(246, 166, 35, 0.15) 0%, rgba(246, 166, 35, 0.02) 100%);
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border-bottom: 3px solid var(--color-accent);
    text-shadow: 0 2px 10px rgba(246, 166, 35, 0.25);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #E2E8F0;
    margin-bottom: 30px;
    font-weight: 400;
    line-height: 1.9;
}

.hero-trust-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-trust-indicators {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #94A3B8;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-indicator-divider {
    color: rgba(255, 255, 255, 0.15);
}

.dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22C55E;
    box-shadow: 0 0 10px #22C55E, 0 0 20px rgba(34, 197, 94, 0.5);
    animation: pulseDot 1.5s infinite alternate;
}

@keyframes pulseDot {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.025);
    box-shadow: 0 30px 60px rgba(11, 31, 58, 0.35);
    border-color: rgba(246, 166, 35, 0.3);
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.05);
    object-fit: cover;
    transition: var(--transition-normal);
}

/* Floating Badges inside Hero image */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-light);
    z-index: 10;
    animation: floatingBadge 4s ease-in-out infinite alternate;
}

.badge-top-right {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.badge-bottom-left {
    bottom: 30px;
    left: -20px;
    animation-delay: 1.5s;
}

.badge-top-left {
    top: 40%;
    left: -30px;
    animation-delay: 0.75s;
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-stats-panel {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 90%;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

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

.stat-number {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--color-accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: #CBD5E1;
    margin-top: 4px;
}

.stat-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Trust Bar Section
   ========================================================================== */
.trust-bar {
    background-color: var(--color-bg-card);
    padding: 40px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #E2E8F0;
    margin-top: -30px;
    position: relative;
    z-index: 5;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.trust-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px;
}

.trust-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: rgba(18, 59, 109, 0.08);
    color: var(--color-secondary);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.trust-card:hover .trust-icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}

.trust-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.trust-card p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

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

.section-header h2 {
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    right: 50%;
    transform: translateX(50%);
}

.section-subheader {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

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

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
    background-color: var(--color-accent);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #F1F5F9;
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: var(--color-accent);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--color-primary);
    font-weight: 700;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.service-link svg {
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--color-accent-hover);
}

.service-card:hover .service-link svg {
    transform: translateX(-4px);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-section {
    padding: 80px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}

.why-us-content h2 {
    margin-bottom: 16px;
}

.why-us-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
    line-height: 1.8;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-bullet {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-circle);
    background-color: var(--color-accent);
    margin-top: 8px;
}

.feature-item h4 {
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.why-us-cta-box {
    background-color: var(--color-bg-main);
    border: 1px dashed rgba(18, 59, 109, 0.3);
    padding: 24px;
    border-radius: var(--radius-md);
}

.why-us-cta-box h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.why-us-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.why-us-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.why-us-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.why-us-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-accent);
}

.why-us-experience-badge .badge-num {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--color-accent);
    line-height: 1;
}

.why-us-experience-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 4px;
}

/* ==========================================================================
   Work Process Timeline
   ========================================================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding-right: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 18px;
    width: 4px;
    height: 100%;
    background-color: #E2E8F0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    background-color: var(--color-bg-card);
    border: 4px solid var(--color-secondary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 2;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-number {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: scale(1.1);
}

.timeline-content {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition-fast);
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.timeline-content a {
    color: var(--color-secondary);
    font-weight: 700;
}

/* ==========================================================================
   Service Areas بالرياض
   ========================================================================== */
.areas-section {
    padding: 85px 0;
    background-color: var(--color-bg-main);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(246, 166, 35, 0.08);
    border: 1px solid rgba(246, 166, 35, 0.2);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(246, 166, 35, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 166, 35, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(246, 166, 35, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(246, 166, 35, 0);
    }
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

/* Staggered loading animations for areas */
.areas-grid .area-column:nth-child(1) { transition-delay: 0.05s; }
.areas-grid .area-column:nth-child(2) { transition-delay: 0.15s; }
.areas-grid .area-column:nth-child(3) { transition-delay: 0.25s; }

.area-column {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.area-column::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #FFD074 100%);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.area-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(11, 31, 58, 0.08), 0 10px 10px -5px rgba(11, 31, 58, 0.04);
    border-color: rgba(246, 166, 35, 0.25);
}

.area-column:hover::before {
    transform: scaleX(1);
}

.area-column h3 {
    color: var(--color-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.area-column h3::after {
    display: none;
}

.area-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.area-column li {
    list-style: none;
}

.area-column a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: #F8FAFC;
    border: 1px solid rgba(226, 232, 240, 0.5);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.area-column a::before {
    display: none;
}

.area-column a::after {
    content: '←';
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.area-column a:hover {
    color: var(--color-primary);
    background-color: rgba(246, 166, 35, 0.06);
    border-color: rgba(246, 166, 35, 0.25);
    transform: translateX(-4px);
}

.area-column a:hover::after {
    transform: translateX(-4px);
}

.areas-cta-box {
    text-align: center;
    max-width: 650px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #071526 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(7, 21, 38, 0.2);
    color: var(--color-text-light);
}

.areas-cta-box p {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.9) 0%, rgba(11, 31, 58, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-overlay span {
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-bg-card);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.review-card {
    background-color: var(--color-bg-main);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-fast);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(18, 59, 109, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reviewer-name {
    font-weight: 700;
    color: var(--color-primary);
}

.reviewer-stars {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.review-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 80px 0;
    background-color: var(--color-bg-main);
}

.pricing-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.pricing-content h2 {
    margin-bottom: 20px;
}

.pricing-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.pricing-cta-box {
    background-color: var(--color-bg-card);
    border: 1px dashed var(--color-secondary);
    padding: 24px;
    border-radius: var(--radius-md);
}

.pricing-cta-box .microcopy {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.pricing-factors-grid {
    background-color: var(--color-bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
}

.pricing-factors-grid h3 {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.factor-card {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.factor-card:last-child {
    margin-bottom: 0;
}

.factor-bullet {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-circle);
    background-color: rgba(18, 59, 109, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
}

.factor-card h4 {
    color: var(--color-primary);
    margin-bottom: 2px;
}

.factor-card p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   FAQ Section Accordions
   ========================================================================== */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-bg-card);
}

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

.faq-item {
    border-bottom: 1px solid #E2E8F0;
}

.faq-item:first-child {
    border-top: 1px solid #E2E8F0;
}

.faq-question {
    width: 100%;
    padding: 24px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.faq-icon {
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 400;
    transition: var(--transition-normal);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer p {
    padding: 0 8px 24px 8px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    overflow: hidden;
}

.cta-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(18, 59, 109, 0.8) 0%, var(--color-primary) 70%);
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-section h2 {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.final-cta-section h2::after {
    right: 50%;
    transform: translateX(50%);
}

.final-cta-section p {
    font-size: 1.15rem;
    color: #E2E8F0;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer-section {
    background-color: var(--color-bg-dark);
    color: #94A3B8;
    padding: 80px 0 0 0;
    border-top: 2px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.text-white {
    color: white !important;
}

.text-gray {
    color: #94A3B8 !important;
}

.brand-desc {
    font-size: 0.85rem;
    line-height: 1.8;
}

.brand-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.contact-line {
    font-size: 0.9rem;
}

.contact-label {
    font-weight: 600;
    color: var(--color-text-light);
}

.contact-value {
    color: var(--color-accent);
    font-weight: 700;
    margin-right: 6px;
}

.contact-value:hover {
    text-decoration: underline;
}

.footer-links h3 {
    color: var(--color-text-light);
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(-4px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

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

.bottom-extra {
    color: #64748B;
}

/* ==========================================================================
   Sticky Bottom CTAs for Mobile & Desktop Whatsapp
   ========================================================================== */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-card);
    display: none; /* Controlled on mobile screen sizing */
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 999;
}

.sticky-cta-btn {
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.desktop-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--color-whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-whatsapp);
    z-index: 997;
    transition: var(--transition-normal);
}

.desktop-floating-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Entry Animations for Hero elements */
.animate-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight var(--transition-slow) forwards;
}

.animate-right-delay {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight var(--transition-slow) forwards 0.2s;
}

.animate-right-delay-2 {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight var(--transition-slow) forwards 0.4s;
}

.animate-right-delay-3 {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight var(--transition-slow) forwards 0.6s;
}

.animate-right-delay-4 {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight var(--transition-slow) forwards 0.8s;
}

.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn var(--transition-slow) forwards 0.3s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatingBadge {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

/* Handle reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
        transform: none !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .animate-right,
    .animate-right-delay,
    .animate-right-delay-2,
    .animate-right-delay-3,
    .animate-scale {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet Portrait & Smaller Screens */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .btn-header-whatsapp {
        display: none; /* Hide Whatsapp in header to make room for Call */
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-trust-bullets {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats-panel {
        width: 100%;
    }
    
    .trust-bar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-visual {
        order: -1; /* Image on top on tablets */
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-container-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Mobile Screens (Standard landscape & large portrait) */
@media (max-width: 768px) {
    body {
        padding-bottom: 68px; /* Room for sticky mobile bottom CTA bar */
    }
    
    .sticky-mobile-cta {
        display: grid;
    }
    
    .desktop-floating-whatsapp {
        display: none; /* Hide floating desktop widget in favor of bottom CTA */
    }
    
    .trust-bar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .trust-bar {
        padding: 24px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .bottom-flex {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .btn-header-call {
        display: none; /* Hide header call button, sticky bottom call is visible */
    }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
    .trust-bar-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats-panel {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .process-timeline {
        padding-right: 20px;
    }
    
    .process-timeline::before {
        right: 8px;
    }
    
    .timeline-number {
        right: -30px;
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Inner Pages Specific Styles (Phase 2 Additions)
   ========================================================================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #94A3B8;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--color-accent);
    transition: var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.breadcrumbs span.separator {
    color: #475569;
    user-select: none;
}

.breadcrumbs span.current {
    color: #CBD5E1;
}

/* Inner service page hero size adjustments */
.hero-section.inner-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
}

.hero-section.inner-hero .hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 16px;
}

.hero-section.inner-hero .hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: 24px;
}

.hero-section.inner-hero .hero-trust-bullets {
    margin-bottom: 30px;
}

/* Back Link for General Services Grid */
.back-to-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.back-to-services:hover {
    color: var(--color-accent-hover);
}

/* Alert badge inside service description */
.alert-note-box {
    background-color: #FEF3C7;
    border-right: 4px solid var(--color-accent);
    color: #92400E;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Grid of sub-services inside description page */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.sub-service-item {
    background-color: var(--color-bg-main);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 20px;
}

.sub-service-item h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.sub-service-item p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Responsive fixes for new inner page features */
@media (max-width: 768px) {
    .sub-services-grid {
        grid-template-columns: 1fr;
    }
}

