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

:root {
    /* Color Palette */
    --bg-dark: #050a18;
    --bg-deeper: #020610;
    --bg-card: rgba(8, 16, 36, 0.65);
    --bg-card-hover: rgba(14, 28, 56, 0.85);
    --bg-card-solid: #0a1428;
    
    --gold-primary: #D4AF37;
    --gold-glow: #FFD700;
    --gold-dark: #AA7C11;
    --gold-light: #F3E5AB;
    --gold-gradient: linear-gradient(135deg, #AA7C11 0%, #D4AF37 45%, #FFD700 100%);
    --gold-text-gradient: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #AA7C11 100%);
    --gold-subtle: rgba(212, 175, 55, 0.08);
    
    --ice-primary: #7BE0FF;
    --ice-glow: #00E5FF;
    --ice-dark: #00838F;
    --ice-light: #E0F7FA;
    --ice-gradient: linear-gradient(135deg, #00838F 0%, #00B4D8 50%, #7BE0FF 100%);
    --ice-text-gradient: linear-gradient(135deg, #7BE0FF 0%, #00B4D8 50%, #00838F 100%);
    
    --text-white: #F0F4FC;
    --text-muted: #8B9DC3;
    --text-light: #CBD5E8;
    
    /* Fonts */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
    
    /* Layout & Styling */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-border: 1px solid rgba(212, 175, 55, 0.12);
    --glass-border-ice: 1px solid rgba(123, 224, 255, 0.12);
    --glass-border-bright: 1px solid rgba(212, 175, 55, 0.25);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 15%, rgba(0, 131, 143, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 90% 85%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0, 180, 216, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle grid pattern */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deeper);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary));
    border-radius: 10px;
    border: 2px solid var(--bg-deeper);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-primary), var(--gold-glow));
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

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

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   PHARAONIC DIVIDERS
   ============================================ */
.pharaonic-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3.5rem 0;
    gap: 20px;
}

.pharaonic-divider::before,
.pharaonic-divider::after {
    content: '';
    height: 1px;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.pharaonic-divider svg {
    fill: var(--gold-primary);
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.5));
    animation: pulse 4s infinite alternate;
}

/* ============================================
   NAVIGATION HEADER
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 10, 24, 0.6);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    transition: var(--transition);
}

header.scrolled {
    padding: 2px 0;
    background: rgba(5, 10, 24, 0.92);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(212, 175, 55, 0.15),
        inset 0 -1px 0 rgba(212, 175, 55, 0.05);
}

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

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

.logo img {
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(123, 224, 255, 0.25));
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 14px rgba(123, 224, 255, 0.45));
    transform: scale(1.05);
}

.logo span {
    font-size: 1.45rem;
    font-weight: 800;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 16px;
    left: 16px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover {
    color: var(--text-white);
    background: rgba(212, 175, 55, 0.06);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--gold-primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

.hero-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
    background:
        radial-gradient(circle at 30% 40%, var(--ice-primary) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, var(--gold-primary) 0%, transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 0 L120 60 L60 120 L0 60 Z' fill='none' stroke='%23d4af37' stroke-width='0.5' opacity='0.4'/%3E%3Ccircle cx='60' cy='60' r='15' fill='none' stroke='%237be0ff' stroke-width='0.5' opacity='0.3'/%3E%3C/svg%3E");
    background-size: cover, cover, 120px 120px;
    animation: rotateBg 180s linear infinite;
}

/* Animated gradient orbs */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb1 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb2 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(0, 131, 143, 0.1);
    border: 1px solid rgba(123, 224, 255, 0.25);
    color: var(--ice-primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 1s ease-out;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--ice-glow);
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 8px var(--ice-glow);
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8F4F8 25%, #D4AF37 60%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 8s ease-in-out infinite, fadeInUp 1s ease-out 0.2s both;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 44px auto;
    font-weight: 400;
    line-height: 1.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn {
    padding: 14px 36px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(123, 224, 255, 0.04);
    color: var(--ice-primary);
    border: 1px solid rgba(123, 224, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 180, 216, 0.08);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(123, 224, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.2);
    border-color: var(--ice-primary);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* ============================================
   SECTION SHARED STYLES
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.6rem;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 16px auto 0;
    line-height: 1.7;
}

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

.about-content h3 {
    font-size: 1.8rem;
    color: var(--ice-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--ice-gradient);
    border-radius: 3px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: justify;
    line-height: 1.85;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about-feature-card {
    background: var(--bg-card);
    border: var(--glass-border-ice);
    padding: 22px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    background: var(--gold-gradient);
    transition: height 0.4s ease;
    border-radius: 0 0 4px 4px;
}

.about-feature-card:hover::before {
    height: 100%;
}

.about-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.08);
    background: var(--bg-card-hover);
}

.about-feature-card h4 {
    color: var(--gold-primary);
    margin-bottom: 8px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.about-feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 3px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(123, 224, 255, 0.2) 50%, rgba(212, 175, 55, 0.4) 100%);
    background-size: 200% 200%;
    animation: borderGlow 6s ease infinite;
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.06);
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 3px);
    display: block;
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 16px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.about-badge span {
    display: block;
}

.about-badge .years {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0.9;
}

/* ============================================
   STATS / COUNTERS SECTION
   ============================================ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.stat-item:hover::after {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: var(--font-secondary);
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

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

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(212, 175, 55, 0.06);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px auto;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: var(--gold-gradient);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.service-icon svg {
    width: 34px;
    height: 34px;
    fill: var(--gold-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    fill: var(--bg-dark);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text-white);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    color: var(--gold-glow);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 28px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(123, 224, 255, 0.15);
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
}

.filter-btn:hover {
    background: rgba(123, 224, 255, 0.08);
    color: var(--ice-primary);
    border-color: rgba(123, 224, 255, 0.3);
}

.filter-btn.active {
    background: var(--ice-gradient);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.25);
    font-weight: 700;
}

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    background: var(--bg-card);
    border: var(--glass-border-ice);
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--gold-primary);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover img {
    transform: scale(1.12);
}

.portfolio-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 24, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-zoom {
    opacity: 1;
}

.portfolio-zoom svg {
    width: 36px;
    height: 36px;
    fill: var(--gold-primary);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    transform: scale(0.6) rotate(-10deg);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-zoom svg {
    transform: scale(1) rotate(0deg);
}

.portfolio-load-more {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 4, 10, 0.96);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(16px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    position: relative;
    transform: scale(0.85);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(212, 175, 55, 0.15),
        0 30px 60px rgba(0, 0, 0, 0.5);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    left: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.lightbox-close svg {
    width: 32px;
    height: 32px;
    fill: var(--text-muted);
    transition: var(--transition-fast);
}

.lightbox-close:hover svg {
    fill: var(--gold-glow);
    transform: rotate(90deg);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2010;
    backdrop-filter: blur(8px);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.lightbox-prev:hover svg, .lightbox-next:hover svg {
    fill: var(--bg-dark);
}

.lightbox-prev {
    right: 20px;
}

.lightbox-next {
    left: 20px;
}

.lightbox-prev svg, .lightbox-next svg {
    width: 22px;
    height: 22px;
    fill: var(--text-white);
}

.lightbox-caption {
    background: rgba(4, 8, 20, 0.95);
    padding: 15px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.lightbox-caption h4 {
    color: var(--gold-glow);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* ============================================
   PARTNERS / CLIENTS SECTION
   ============================================ */
.partners-slider {
    overflow: hidden;
    padding: 24px 0;
    position: relative;
    width: 100%;
}

.partners-slider::before, .partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.partners-slider::after {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    width: 170px;
    background: rgba(8, 16, 36, 0.6);
    border: var(--glass-border-ice);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.partner-logo:hover {
    border-color: var(--gold-primary);
    background: rgba(14, 28, 56, 0.8);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.75) contrast(1.1);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
}

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

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

.contact-card {
    background: var(--bg-card);
    border: var(--glass-border-ice);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(123, 224, 255, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.1);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(123, 224, 255, 0.08);
    border: 1px solid rgba(123, 224, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon {
    background: var(--ice-gradient);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(0, 180, 216, 0.25);
}

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

.contact-card:hover .contact-icon svg {
    fill: var(--bg-dark);
}

.contact-details {
    position: relative;
    z-index: 1;
}

.contact-details h3 {
    font-size: 1.05rem;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

.contact-details p, .contact-details a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.contact-details a:hover {
    color: var(--ice-primary);
}

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

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gold-gradient);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    border-color: transparent;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-primary);
    transition: var(--transition);
}

.social-icon:hover svg {
    fill: var(--bg-dark);
}

/* Contact Minimal Container */
.contact-minimal-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.contact-minimal-container .contact-card {
    flex: 1;
    min-width: 280px;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 58px;
    height: 58px;
    background: rgba(8, 16, 36, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
    cursor: pointer;
    animation: floatPulse 3.5s infinite ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    border-color: var(--gold-glow);
    background: var(--gold-gradient);
    box-shadow: 
        0 12px 32px rgba(255, 215, 0, 0.35),
        0 0 30px rgba(255, 215, 0, 0.15);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--gold-primary);
    transition: var(--transition);
}

.whatsapp-float:hover svg {
    fill: var(--bg-dark);
}

/* ============================================
   FOOTER SECTION
   ============================================ */
footer {
    background: var(--bg-deeper);
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    padding: 64px 0 28px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.footer-logo img {
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(123, 224, 255, 0.2));
}

.footer-logo span {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.06);
}

.footer-divider {
    max-width: 350px;
    margin: 0 auto 28px auto;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    opacity: 0.8;
}

.copyright span {
    color: var(--gold-primary);
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.4));
    }
    100% {
        transform: scale(1.06);
        filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.7));
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 40px); }
    66% { transform: translate(20px, -30px); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(40px, -20px); }
    66% { transform: translate(-30px, 30px); }
}

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

@keyframes rotateBg {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
    }
    50% {
        transform: translateY(-6px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4), 0 0 25px rgba(212, 175, 55, 0.2);
    }
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-170px * 9 - 40px * 9));
    }
}

/* Counter animation for stats */
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(5, 10, 24, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid rgba(212, 175, 55, 0.08);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 32px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 44px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 280px;
    }
    
    .stats-strip {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stat-item {
        padding: 20px 12px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .portfolio-item {
        height: 180px;
    }
    
    .contact-minimal-container {
        gap: 16px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 380px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        height: 220px;
    }
}
