@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@700;800&family=Cairo:wght@300;400;600;700;800&family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
    /* ─── Core Brand Colors ─── */
    --primary: #0d1b35;
    --primary-light: #1a3160;
    --primary-dark: #060e1c;
    --secondary: #d4a017;
    --secondary-light: #f0c040;
    --secondary-dark: #a07810;
    --accent: #e84057;
    --accent-light: #ff6b7a;

    /* ─── Backgrounds ─── */
    --bg-light: #f4f6fb;
    --bg-white: #ffffff;
    --bg-dark: #080f20;

    /* ─── Text ─── */
    --text-dark: #1e2d44;
    --text-muted: #6b7a8d;
    --text-light: #dce4f0;
    --text-white: #ffffff;

    /* ─── Glow Colors ─── */
    --glow-gold: rgba(212, 160, 23, 0.55);
    --glow-blue: rgba(26, 49, 96, 0.7);

    /* ─── Glass ─── */
    --glass-bg: rgba(13, 27, 53, 0.78);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.35);

    /* ─── Typography ─── */
    --font-display: 'Almarai', 'Cairo', sans-serif;
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;

    /* ─── Transitions ─── */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* ─── Layout ─── */
    --border-radius-sm: 10px;
    --border-radius-md: 18px;
    --border-radius-lg: 36px;
    --max-width: 1200px;

    /* ─── Gradients ─── */
    --grad-gold: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 50%, var(--secondary-dark) 100%);
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --grad-hero: linear-gradient(160deg, rgba(6,14,28,0.97) 0%, rgba(13,27,53,0.93) 60%, rgba(26,49,96,0.85) 100%);
}

/* ────────────────────────────────────────────────────
   KEYFRAME ANIMATIONS
──────────────────────────────────────────────────── */
@keyframes shimmerGold {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(50px, -60px) scale(1.12); }
    66%  { transform: translate(-30px, -30px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 8px rgba(212, 160, 23, 0.15); }
    50%       { box-shadow: 0 0 0 16px rgba(212, 160, 23, 0.0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 160, 23, 0.25); }
    50%       { box-shadow: 0 0 40px rgba(212, 160, 23, 0.55); }
}

@keyframes blinkCursor {
    from, to { border-color: transparent; }
    50%      { border-color: var(--secondary); }
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

@keyframes borderRotate {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroTaglinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.25); }
    50%       { box-shadow: 0 0 0 8px rgba(212, 160, 23, 0); }
}

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

html { scroll-behavior: smooth; direction: rtl; }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ────────────────────────────────────────────────────
   SCROLLBAR
──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--secondary-light), var(--secondary-dark));
    border-radius: 5px;
    border: 2px solid var(--primary-dark);
}
::-webkit-scrollbar-thumb:hover { background: var(--secondary-light); }

/* ────────────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 22px; }

.section { padding: 110px 0; position: relative; }

.section-bg-alt { background-color: var(--primary); color: var(--text-light); }
.section-bg-alt .section-title { color: var(--text-white); }
.section-bg-alt .section-title::after { background: linear-gradient(135deg, #f0c040, #d4a017, #a07810); }

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 55px;
    position: relative;
    padding-bottom: 18px;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    border-radius: 2px;
    animation: glowPulse 3s ease-in-out infinite;
}

/* ─── Gold Shimmer Text ─── */
.text-gradient {
    background: linear-gradient(
        120deg,
        #a07810 0%,
        #f0c040 30%,
        #ffe680 50%,
        #f0c040 70%,
        #a07810 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerGold 4s linear infinite;
}

/* ────────────────────────────────────────────────────
   GLASS
──────────────────────────────────────────────────── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    color: var(--text-white);
}

/* ────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 10px;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn .ripple-ink {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255,255,255,0.3);
    animation: ripple 0.65s linear;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f0c040 0%, #d4a017 50%, #a07810 100%);
    color: #060e1c;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffe680, #f0c040, #d4a017);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 160, 23, 0.5);
}

.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

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

.btn-outline:hover {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: #060e1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.3);
    border-color: transparent;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #1aab55);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #30e874, #22c563);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

/* ────────────────────────────────────────────────────
   HEADER & NAVIGATION
──────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 20px 0;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.65rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo span { color: var(--secondary-light); }
.logo img { height: 45px; width: auto; }

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active { color: var(--secondary-light); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 15px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px; height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.menu-toggle span {
    width: 100%; height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ────────────────────────────────────────────────────
   HERO SECTION
──────────────────────────────────────────────────── */
.hero {
    height: 100vh;
    min-height: 720px;
    background-color: #0d1b35;
    background-image: linear-gradient(160deg, rgba(6,14,28,0.97) 0%, rgba(13,27,53,0.93) 60%, rgba(26,49,96,0.85) 100%), url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--text-white);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 140px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    z-index: 5;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 6;
    width: 100%;
}

.hero-tagline {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.18), rgba(212, 160, 23, 0.08));
    border: 1px solid rgba(212, 160, 23, 0.6);
    color: var(--secondary-light);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    animation: heroTaglinePulse 3s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.7rem;
    font-weight: 800;
    margin-bottom: 22px;
    letter-spacing: -0.8px;
    line-height: 1.22;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 42px;
    color: rgba(255, 255, 255, 0.82);
    min-height: 50px;
}

#hero-dynamic-subtitle {
    border-left: 2px solid var(--secondary);
    padding-left: 5px;
    animation: blinkCursor 0.8s step-end infinite;
}

.hero-buttons { display: flex; gap: 18px; }

/* ─── Hero Showcase Slider ─── */
.hero-showcase {
    width: 100%;
    position: relative;
    animation: floatY 6s ease-in-out infinite;
}

.showcase-slider {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 410px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    background-color: var(--primary-dark);
    /* animated gold border */
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Gold glow ring animation */
.showcase-slider::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--border-radius-md) + 2px);
    background: linear-gradient(90deg, var(--secondary-dark), var(--secondary-light), #ffe680, var(--secondary), var(--secondary-dark));
    background-size: 300% 100%;
    animation: borderRotate 3.5s linear infinite;
    z-index: -1;
}

.showcase-slides { position: relative; width: 100%; height: 100%; }

.showcase-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-slide.active { opacity: 1; z-index: 2; }

.showcase-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 6s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.showcase-slide.active img { transform: scale(1); }

.showcase-caption {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 14, 28, 0.97) 0%, rgba(6, 14, 28, 0.55) 70%, transparent 100%);
    padding: 32px;
    color: var(--text-white);
    z-index: 3;
    text-align: right;
}

.showcase-caption h3 { font-size: 1.4rem; color: var(--secondary-light); margin-bottom: 5px; }
.showcase-caption p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(13, 27, 53, 0.65);
    border: 1px solid rgba(212, 160, 23, 0.35);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 4;
    transition: var(--transition-fast);
    backdrop-filter: blur(6px);
}

.slider-btn:hover {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    box-shadow: 0 0 20px var(--glow-gold);
    border-color: transparent;
}

.prev-btn { right: 18px; }
.next-btn { left: 18px; }

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.slider-dots .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dots .dot.active {
    background: var(--secondary-light);
    transform: scale(1.3);
    box-shadow: 0 0 8px var(--glow-gold);
}

/* ────────────────────────────────────────────────────
   ABOUT SECTION
──────────────────────────────────────────────────── */
.about { position: relative; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 18px; right: 18px; bottom: 18px; left: 18px;
    border: 2px solid var(--secondary);
    border-radius: var(--border-radius-md);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.2);
}

.about-image img {
    transition: var(--transition-slow);
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.about-image:hover img { transform: scale(1.06); }

.about-text h3 { font-size: 1.85rem; margin-bottom: 22px; }

.about-text p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.06rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 42px;
}

.stat-item {
    background: var(--bg-white);
    padding: 22px 20px;
    border-radius: var(--border-radius-md);
    border-right: 5px solid var(--secondary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    background: linear-gradient(135deg, #f0c040 0%, #d4a017 50%, #a07810 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label { font-size: 0.95rem; color: var(--text-muted); margin-top: 4px; }

/* ────────────────────────────────────────────────────
   SERVICES SECTION
──────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 42px 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1b35 0%, #1a3160 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: right;
}

.service-card:hover::after { transform: scaleX(1); transform-origin: left; }

.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 25px 50px rgba(13, 27, 53, 0.2);
    color: var(--text-white);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 25px;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    color: var(--secondary-light);
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(240, 192, 64, 0.6));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--primary);
    transition: var(--transition-normal);
}

.service-card:hover h3 { color: var(--secondary-light); }

.service-card p {
    color: var(--text-muted);
    font-size: 0.96rem;
    margin-bottom: 26px;
    transition: var(--transition-normal);
    line-height: 1.75;
}

.service-card:hover p { color: rgba(255, 255, 255, 0.78); }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-dark);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.service-card:hover .service-link { color: var(--secondary-light); gap: 12px; }

/* ────────────────────────────────────────────────────
   PORTFOLIO SECTION
──────────────────────────────────────────────────── */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 9px 24px;
    background: var(--bg-white);
    border: 1px solid #dde3ee;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 5px 18px rgba(13, 27, 53, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: #060e1c;
    border-color: transparent;
    box-shadow: 0 5px 18px rgba(212, 160, 23, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: 285px;
    cursor: pointer;
    animation: scaleUp 0.4s ease;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 53, 0.97), rgba(13, 27, 53, 0.3) 60%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 6px;
    transform: translateY(8px);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay h4 { transform: translateY(0); }

.portfolio-overlay span { color: var(--secondary-light); font-size: 0.9rem; font-weight: 700; }

/* ────────────────────────────────────────────────────
   PROCESS JOURNEY SECTION
──────────────────────────────────────────────────── */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 55px auto 0;
    padding: 20px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    right: 50px;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary), var(--primary-light), var(--secondary));
    border-radius: 2px;
    opacity: 0.5;
}

.timeline-item {
    position: relative;
    margin-bottom: 55px;
    padding-right: 95px;
}

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

.timeline-badge {
    position: absolute;
    top: 0; right: 32px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: var(--font-display);
    animation: pulseBadge 2.5s ease-in-out infinite;
    z-index: 2;
}

.timeline-content {
    background: var(--bg-white);
    padding: 28px 32px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    border-right: 4px solid var(--secondary);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    transform: translateX(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.timeline-content h4 { font-size: 1.25rem; color: var(--primary); margin-bottom: 10px; }
.timeline-content p { color: var(--text-muted); font-size: 0.96rem; line-height: 1.75; }

/* ────────────────────────────────────────────────────
   WHY CHOOSE US
──────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-box {
    text-align: center;
    padding: 35px 22px;
    border-radius: var(--border-radius-md);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition-normal);
    backdrop-filter: blur(6px);
}

.feature-box:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-box-icon {
    width: 82px; height: 82px;
    border-radius: 50%;
    background: rgba(212, 160, 23, 0.12);
    border: 2px solid rgba(212, 160, 23, 0.3);
    color: var(--secondary-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 22px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-box:hover .feature-box-icon {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    transform: scale(1.1) rotateY(180deg);
    border-color: transparent;
    box-shadow: 0 0 25px var(--glow-gold);
}

.feature-box h4 { font-size: 1.4rem; color: var(--text-white); margin-bottom: 14px; }
.feature-box p { color: rgba(255, 255, 255, 0.68); font-size: 0.96rem; line-height: 1.75; }

/* ────────────────────────────────────────────────────
   TESTIMONIALS
──────────────────────────────────────────────────── */
.testimonials-slider { position: relative; max-width: 820px; margin: 0 auto; overflow: hidden; }

.testimonials-wrapper { position: relative; height: 265px; width: 100%; }

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.65s ease, transform 0.65s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.testimonial-quote { margin-bottom: 25px; position: relative; }

.quote-icon {
    font-size: 2.4rem;
    color: var(--secondary);
    opacity: 0.3;
    margin-bottom: 14px;
    display: block;
}

.testimonial-quote p {
    font-size: 1.16rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin: 0 auto;
}

.testimonial-client h4 { font-size: 1.1rem; color: var(--secondary-light); margin-bottom: 3px; }
.testimonial-client span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.55); }

.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
}

.t-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-white);
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.t-btn:hover {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    box-shadow: 0 0 14px var(--glow-gold);
    border-color: transparent;
}

.testimonial-dots { display: flex; gap: 8px; }

.t-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: var(--transition-fast);
}

.t-dot.active {
    background: var(--secondary-light);
    transform: scale(1.25);
    box-shadow: 0 0 8px var(--glow-gold);
}

/* ────────────────────────────────────────────────────
   CONTACT SECTION
──────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 65px;
}

.contact-info { display: flex; flex-direction: column; justify-content: space-between; }
.contact-details { margin-bottom: 40px; }

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.contact-detail-item:hover { transform: translateX(-5px); }

.contact-detail-icon {
    width: 52px; height: 52px;
    border-radius: var(--border-radius-sm);
    background: linear-gradient(135deg, rgba(13, 27, 53, 0.07), rgba(13, 27, 53, 0.03));
    border: 1px solid rgba(13, 27, 53, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-detail-item:hover .contact-detail-icon {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 8px 20px var(--glow-gold);
}

.contact-detail-text h4 { font-size: 1.08rem; margin-bottom: 5px; color: var(--primary); }
.contact-detail-text p { color: var(--text-muted); font-size: 0.96rem; }

.contact-map {
    height: 255px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #e4eaf5;
}

.contact-form {
    background: var(--bg-white);
    padding: 42px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.025);
}

.form-group { margin-bottom: 26px; }

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 9px;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #d4dcee;
    background: #f7f9fc;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.97rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--secondary);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.12);
}

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

.form-alert { padding: 13px; border-radius: var(--border-radius-sm); font-size: 0.96rem; margin-top: 15px; display: none; }
.form-alert.success { background: #d4f5e4; color: #0e6632; border: 1px solid #b2e8ce; display: block; }
.form-alert.error { background: #fde8ec; color: #8b1a28; border: 1px solid #f5c0c8; display: block; }

/* ────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────── */
.footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, #030813 100%);
    color: var(--text-light);
    padding: 85px 0 32px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    margin-bottom: 65px;
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 36px; height: 2px;
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    border-radius: 1px;
}

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

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

.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: linear-gradient(135deg, #f0c040, #d4a017, #a07810);
    color: var(--primary-dark);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px var(--glow-gold);
    border-color: transparent;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--secondary-light); padding-right: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ────────────────────────────────────────────────────
   MODALS
──────────────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 14, 28, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active { opacity: 1; pointer-events: all; }

.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 760px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    position: relative;
    transform: translateY(55px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.08);
}

.modal.active .modal-content { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 15px; left: 15px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover { background: var(--accent); transform: rotate(90deg) scale(1.1); }

.modal-hero {
    height: 255px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.modal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 53, 0.97), transparent);
}

.modal-title {
    position: absolute;
    bottom: 25px; right: 30px;
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
}

.modal-body { padding: 38px; }
.modal-description { color: var(--text-dark); font-size: 1.06rem; margin-bottom: 26px; line-height: 1.8; }

.modal-details-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 800;
    border-right: 4px solid var(--secondary);
    padding-right: 12px;
}

.modal-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 38px; }

.modal-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
    color: var(--text-dark);
}

.modal-list-item::before { content: 'star'; font-family: 'Material Icons'; color: var(--secondary); font-size: 1rem; flex-shrink: 0; }
.modal-list-item::before { content: '\2736'; color: var(--secondary); }

.modal-footer { display: flex; justify-content: flex-end; gap: 14px; }

/* ────────────────────────────────────────────────────
   GLOW ORBS
──────────────────────────────────────────────────── */
.glow-orb {
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 1;
    pointer-events: none;
    animation: floatOrb 14s infinite ease-in-out;
}

.glow-orb-1 {
    background: radial-gradient(circle, rgba(212, 160, 23, 0.14) 0%, rgba(212, 160, 23, 0) 70%);
    top: 5%; left: -150px;
}

.glow-orb-2 {
    background: radial-gradient(circle, rgba(26, 49, 96, 0.5) 0%, rgba(26, 49, 96, 0) 70%);
    bottom: 10%; right: -150px;
    animation-delay: -7s;
}

/* ────────────────────────────────────────────────────
   REVEAL ANIMATIONS
──────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.9); }

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

/* Stagger delays */
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.40s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.48s; }
.services-grid .service-card:nth-child(8) { transition-delay: 0.56s; }

.portfolio-grid .portfolio-item:nth-child(2) { transition-delay: 0.10s; }
.portfolio-grid .portfolio-item:nth-child(3) { transition-delay: 0.20s; }
.portfolio-grid .portfolio-item:nth-child(4) { transition-delay: 0.30s; }
.portfolio-grid .portfolio-item:nth-child(5) { transition-delay: 0.40s; }
.portfolio-grid .portfolio-item:nth-child(6) { transition-delay: 0.50s; }

/* ────────────────────────────────────────────────────
   SLIDER SHINE
──────────────────────────────────────────────────── */
.slider-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 60%);
    background-size: 200% 200%;
    animation: borderRotate 8s ease infinite;
    z-index: 3;
    pointer-events: none;
}

/* ────────────────────────────────────────────────────
   RESPONSIVE 1024px
──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .hero h1 { font-size: 2.9rem; }
    .about-grid { gap: 40px; }
    .contact-grid { gap: 40px; }
}

/* ────────────────────────────────────────────────────
   RESPONSIVE 768px
──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section { padding: 65px 0; }
    .section-title { font-size: 1.85rem; margin-bottom: 38px; }

    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 285px; height: 100vh;
        background: var(--primary-dark);
        padding: 100px 40px 40px;
        transition: var(--transition-normal);
        z-index: 1005;
        box-shadow: -10px 0 35px rgba(0,0,0,0.3);
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
    .nav-menu.active { right: 0; }
    .nav-menu li { width: 100%; margin-bottom: 20px; }
    .nav-link { font-size: 1.15rem; display: block; width: 100%; }
    .nav-actions { display: none; }

    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--secondary-light); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--secondary-light); }

    .hero { height: auto; padding-top: 130px; padding-bottom: 65px; text-align: center; background-attachment: scroll; }
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 2.3rem; }
    .hero-subtitle { font-size: 1.1rem; min-height: auto; }
    .showcase-slider { height: 305px; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 14px; }
    .hero-buttons .btn { width: 100%; }
    .hero-showcase { animation: none; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 300px; }

    .process-timeline::before { right: 20px; }
    .timeline-item { padding-right: 52px; }
    .timeline-badge { right: 2px; }

    .features-grid { grid-template-columns: 1fr; gap: 18px; }

    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-info { order: 2; }
    .contact-form { order: 1; padding: 30px 22px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .testimonials-wrapper { height: 325px; }
    .testimonial-quote p { font-size: 1rem; line-height: 1.65; }

    .modal-content { width: 96%; }
    .modal-hero { height: 185px; }
    .modal-title { font-size: 1.45rem; bottom: 16px; right: 20px; }
    .modal-body { padding: 22px; }
    .modal-list { grid-template-columns: 1fr; }
    .modal-footer { flex-direction: column; gap: 10px; }
    .modal-footer .btn { width: 100%; }
}
