/* ============================================
   THARAA TAIBA - Premium Real Estate Experience
   Modern Design with Advanced Animations
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
    /* Primary Colors */
    --navy: #1a2a52;
    --navy-light: #2c3f71;
    --navy-dark: #0f1a36;
    --navy-darker: #0a1225;
    
    /* Accent Colors */
    --gold: #b58247;
    --gold-light: #d4a76a;
    --gold-dark: #8f6635;
    --gold-gradient: linear-gradient(135deg, #d4a76a 0%, #b58247 50%, #8f6635 100%);
    
    /* Neutral Colors */
    --cream: #f8f6f3;
    --cream-dark: #f0ece6;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --gray: #e5e7eb;
    --gray-dark: #d1d5db;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-xl: 0 32px 64px rgba(0,0,0,0.16);
    --shadow-gold: 0 8px 32px rgba(181,130,71,0.25);
    --shadow-inner: inset 0 2px 4px rgba(0,0,0,0.06);
    
    /* Glass Effect */
    --glass-bg: rgba(255,255,255,0.08);
    --glass-border: rgba(255,255,255,0.12);
    --glass-blur: blur(20px);
    
    /* Borders */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Animation Durations */
    --duration-fast: 0.15s;
    --duration: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.8s;
}

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

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

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

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

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

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

::selection {
    background: var(--gold);
    color: #fff;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* ===== PRELOADER - Premium Animation ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: linear-gradient(135deg, var(--navy-darker) 0%, var(--navy-dark) 50%, var(--navy) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease), transform 0.8s var(--ease);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.preloader-logo {
    width: 160px;
    height: auto;
    animation: preLogoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(181,130,71,0.3));
}

@keyframes preLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.preloader-text {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 8px;
    margin-top: 32px;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0;
    animation: preFadeIn 0.8s ease 0.3s forwards;
}

@keyframes preFadeIn {
    to { opacity: 1; }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.08);
    margin-top: 24px;
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: var(--gold-gradient);
    animation: preBar 1.8s var(--ease) forwards;
    border-radius: var(--radius-full);
    box-shadow: 0 0 20px rgba(181,130,71,0.5);
}

@keyframes preBar {
    to { width: 100%; }
}

/* ===== NAVBAR - Modern Glass Design ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    transition: all 0.5s var(--ease);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.5s var(--ease);
    z-index: -1;
}

.navbar.scrolled::before {
    background: rgba(15, 26, 54, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav-logo {
    height: 42px;
    transition: all var(--duration) var(--ease);
    filter: drop-shadow(0 2px 8px rgba(181,130,71,0.3));
}

.navbar.scrolled .nav-logo {
    height: 36px;
}

.nav-links {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    z-index: 1001;
    transition: all var(--duration) var(--ease);
}

.hamburger:hover {
    background: rgba(255,255,255,0.15);
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 90px 32px 40px;
    transition: right 0.4s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

[dir="ltr"] .mobile-menu {
    right: auto;
    left: -100%;
}

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

[dir="ltr"] .mobile-menu.open {
    right: auto;
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 500;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    min-height: 56px; /* Better touch target */
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--duration) var(--ease);
}

.mobile-menu a:hover {
    color: var(--gold);
    padding-right: 20px;
}

.mobile-menu a:hover::before {
    width: 12px;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    line-height: 1;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.mobile-menu .lang-switch {
    margin-top: 24px;
    width: fit-content;
}

.lang-switch {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--duration) var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.lang-switch:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ===== HERO - Full Background Image Design ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Background Image */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* Dark Overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(10,18,37,0.7) 0%,
        rgba(10,18,37,0.4) 40%,
        rgba(10,18,37,0.45) 60%,
        rgba(10,18,37,0.85) 100%
    );
}

.hero-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

/* Glow orb */
.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181,130,71,0.12) 0%, transparent 70%);
    top: 5%;
    right: -10%;
    animation: glowPulse 8s ease-in-out infinite alternate;
    filter: blur(60px);
}

@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0.3; }
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
    box-shadow: 0 0 8px rgba(181,130,71,0.4);
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

/* ===== HERO SLIDE-IN ANIMATIONS ===== */
.slide-from-right {
    opacity: 0;
    transform: translateX(80px);
    animation: slideFromRight 1.2s var(--ease) forwards;
}

.slide-from-left {
    opacity: 0;
    transform: translateX(-80px);
    animation: slideFromLeft 1.2s var(--ease) forwards;
}

.slide-from-up {
    opacity: 0;
    transform: translateY(-60px);
    animation: slideFromUp 1.4s var(--ease) forwards;
}

.slide-from-bottom {
    opacity: 0;
    transform: translateY(60px);
    animation: slideFromBottom 1.2s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.3s !important; }
.delay-2 { animation-delay: 0.6s !important; }
.delay-3 { animation-delay: 0.9s !important; }
.delay-4 { animation-delay: 1.2s !important; }

@keyframes slideFromRight {
    from { opacity: 0; transform: translateX(80px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromLeft {
    from { opacity: 0; transform: translateX(-80px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

/* Hero Content - Centered over background */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 100px 20px 140px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    background: rgba(181,130,71,0.15);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(181,130,71,0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

.hero-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
}

.hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 560px;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Scroll Indicator */
.hero-scroll-down {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(181,130,71,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 14px;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: all var(--duration) var(--ease);
}

.hero-scroll-down:hover {
    background: rgba(181,130,71,0.15);
    border-color: var(--gold);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    z-index: 10;
    background: rgba(10,18,37,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 16px 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255,255,255,0.1);
}

[dir="rtl"] .hero-stat:not(:last-child)::after {
    left: auto;
    right: 0;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 900;
    display: block;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ===== "VIEW MORE" SECTION BUTTON ===== */
.section-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.btn-more:hover {
    background: var(--gold-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-more i {
    font-size: 12px;
    transition: transform 0.3s var(--ease);
}

.btn-more:hover i {
    transform: translateX(-4px);
}

[dir="ltr"] .btn-more:hover i {
    transform: translateX(4px);
}

/* ===== SECTION SEPARATOR - Branded Divider ===== */
.section-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 40px;
    position: relative;
    z-index: 2;
    background: var(--cream);
}

.section-sep-line {
    height: 2px;
    width: 100px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
    opacity: 0.5;
}

.section-sep-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 14px;
    animation: sepSpin 15s linear infinite;
    flex-shrink: 0;
    background: var(--white);
}

@keyframes sepSpin {
    to { transform: rotate(360deg); }
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    transition: all var(--duration) var(--ease);
    border: none;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    min-height: 52px; /* Better touch target */
    flex: 1;
    max-width: 200px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    transition: opacity var(--duration) var(--ease);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(181,130,71,0.4);
}

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

.btn-primary i {
    transition: transform var(--duration) var(--ease);
}

.btn-primary:hover i {
    transform: translateX(-4px);
}

[dir="ltr"] .btn-primary:hover i {
    transform: translateX(4px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    padding: 16px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.25);
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    min-height: 52px; /* Better touch target */
    flex: 1;
    max-width: 160px;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform var(--duration) var(--ease);
}

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

.btn-outline:hover {
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-3px);
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    z-index: 10;
    background: rgba(10,18,37,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 16px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    opacity: 0;
    animation: heroFadeUp 1s var(--ease) 1.3s forwards;
}

.hero-stat {
    text-align: center;
    position: relative;
}

.hero-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255,255,255,0.1);
}

[dir="rtl"] .hero-stat:not(:last-child)::after {
    left: auto;
    right: 0;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 900;
    color: var(--gold);
    display: block;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ===== SECTION DEFAULTS - Premium Design ===== */
.section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-tag span {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-tag::before, 
.section-tag::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-title span {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.section-desc {
    font-size: 15px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.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; }

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== ABOUT SECTION - Premium Design ===== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-images {
    position: relative;
    height: 320px;
}

.about-img-main {
    width: 75%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform var(--duration-slow) var(--ease);
}

.about-img-main:hover {
    transform: scale(1.02);
}

.about-img-float {
    width: 55%;
    height: 65%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: absolute;
    bottom: -30px;
    left: 45%;
    border: 4px solid var(--white);
    transition: transform var(--duration-slow) var(--ease);
}

.about-img-float:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    z-index: 4;
    background: var(--gold-gradient);
    color: #fff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about-badge-num {
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.about-badge-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.4;
}

.about-text h3 span {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.about-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
    border: 1px solid transparent;
    cursor: pointer;
}

.about-feature:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--navy);
}

.about-feature:hover i {
    color: var(--gold-light);
    transform: scale(1.2);
}

.about-feature i {
    color: var(--gold);
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.about-feature span {
    font-size: 13px;
    font-weight: 600;
}

/* ===== COUNTER SECTION - Premium Glass Design ===== */
.counter-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b58247' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter-item {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--duration) var(--ease);
}

.counter-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(181,130,71,0.3);
}

.counter-num {
    font-size: 42px;
    font-weight: 900;
    display: block;
    line-height: 1;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.counter-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== PROJECTS SECTION - Premium Card Design ===== */
.projects {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--white) 0%, transparent 100%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.5s var(--ease);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gold-gradient);
    border-radius: calc(var(--radius-lg) + 2px);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--duration) var(--ease);
}

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

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

.project-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: block;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

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

.project-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-card-badge.available {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.project-card-badge.soon {
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10,18,37,0.9) 0%, rgba(10,18,37,0.4) 40%, transparent 70%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: opacity var(--duration) var(--ease);
}

.project-card-overlay-text {
    color: #fff;
    transform: translateY(0);
    transition: transform var(--duration) var(--ease);
}

.project-card:hover .project-card-overlay-text {
    transform: translateY(-5px);
}

.project-card-overlay-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.project-card-overlay-loc {
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-card-overlay-loc i {
    color: var(--gold-light);
}

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

.project-card-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.project-card-spec {
    text-align: center;
    padding: 12px 8px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease);
}

.project-card:hover .project-card-spec {
    background: rgba(181,130,71,0.1);
}

.project-card-spec i {
    color: var(--gold);
    font-size: 16px;
    display: block;
    margin-bottom: 6px;
    transition: transform var(--duration) var(--ease);
}

.project-card:hover .project-card-spec i {
    transform: scale(1.2);
}

.project-card-spec strong {
    font-size: 17px;
    color: var(--navy);
    display: block;
    font-weight: 800;
}

.project-card-spec small {
    font-size: 11px;
    color: var(--text-light);
}

.project-card-actions {
    display: flex;
    gap: 10px;
}

.project-card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--duration) var(--ease);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.project-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.project-card-btn:hover::before {
    opacity: 1;
}

.project-card-btn-details {
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    color: #fff;
}

.project-card-btn-details:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26,42,82,0.3);
}

.project-card-btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    max-width: 56px;
    padding: 14px;
}

.project-card-btn-wa:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* ===== FEATURES SECTION - Premium Navy Design ===== */
.features-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(181,130,71,0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(26,42,82,0.03) 0%, transparent 40%),
        linear-gradient(rgba(181,130,71,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(181,130,71,0.015) 1px, transparent 1px);
    background-size: 100%, 100%, 50px 50px, 50px 50px;
}

.features-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181,130,71,0.06) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.features-section .section-title {
    color: var(--navy-dark);
}

.features-section .section-title span {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

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

.features-section .section-tag span {
    color: var(--gold);
}

.features-section .section-tag::before,
.features-section .section-tag::after {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(181,130,71,0.06) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

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

.feature-card:hover {
    background: var(--white);
    border-color: rgba(181,130,71,0.3);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: rgba(181,130,71,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    z-index: -1;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-gold);
}

.feature-card-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 6px;
    transition: color var(--duration) var(--ease);
}

.feature-card:hover .feature-card-text h4 {
    color: var(--gold);
}

.feature-card-text p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SMART DEVICES SECTION ===== */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.device-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--gray);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.device-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform var(--duration) var(--ease);
}

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

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

.device-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: var(--gold);
    transition: all 0.4s var(--ease);
}

.device-card:hover .device-card-icon {
    background: var(--gold-gradient);
    color: #fff;
    transform: scale(1.1) rotate(-10deg);
    box-shadow: var(--shadow-gold);
}

.device-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.device-card p {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 50%, var(--white) 100%);
    position: relative;
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    min-height: 240px;
}

.testimonial-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all 0.6s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    transform: translateX(30px);
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 18px;
    color: var(--navy);
    line-height: 2;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 30px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 80px;
    color: var(--gold);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-dark);
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color var(--duration) var(--ease);
}

.testimonial-dot.active {
    background: var(--gold-gradient);
    transform: scale(1.2);
}

.testimonial-dot.active::before {
    border-color: rgba(181,130,71,0.3);
}

.testimonial-dot:hover {
    background: var(--gold);
}

/* ===== NEWS SECTION ===== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    transition: all 0.4s var(--ease);
    border: 1px solid var(--gray);
}

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

.news-card-img {
    width: 140px;
    min-height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.news-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(181,130,71,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
    z-index: 1;
}

.news-card:hover .news-card-img::before {
    opacity: 1;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card-date {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-date::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

.news-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.5;
    transition: color var(--duration) var(--ease);
}

.news-card:hover .news-card-title {
    color: var(--gold-dark);
}

.news-card-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    transition: gap 0.3s ease;
}

.news-card:hover .news-card-link {
    gap: 10px;
}

[dir="ltr"] .news-card-link i {
    transform: rotate(180deg);
}

/* ===== CONTACT SECTION - Premium Design ===== */
.contact {
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-info > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray);
    transition: all var(--duration) var(--ease);
}

.contact-detail:hover {
    border-color: var(--gold);
    transform: translateX(-8px);
    box-shadow: var(--shadow);
}

[dir="ltr"] .contact-detail:hover {
    transform: translateX(8px);
}

.contact-detail-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.contact-detail:hover .contact-detail-icon {
    background: var(--gold-gradient);
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
}

.contact-detail-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.contact-detail-value a {
    color: var(--navy);
    transition: color var(--duration) var(--ease);
}

.contact-detail-value a:hover {
    color: var(--gold);
}

.contact-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: all var(--duration) var(--ease);
    outline: none;
    background: var(--white);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(181,130,71,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--gold-gradient);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(181,130,71,0.4);
}

.form-submit:active {
    transform: translateY(-1px);
}

/* ===== FOOTER - Premium Design ===== */
.footer {
    background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-darker) 100%);
    color: #fff;
    padding: 60px 20px 24px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-about img {
    height: 44px;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(181,130,71,0.3));
}

.footer-about p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.9;
    margin-bottom: 16px;
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all var(--duration) var(--ease);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
    background: var(--gold-gradient);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 12px;
    color: #fff;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: var(--radius-full);
}

[dir="ltr"] .footer-col h4::after {
    right: auto;
    left: 0;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    padding: 8px 0;
    transition: all var(--duration) var(--ease);
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(-8px);
}

[dir="ltr"] .footer-col a:hover {
    transform: translateX(8px);
}

.footer-col a i {
    width: 20px;
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 6px 24px rgba(37,211,102,0.4);
    transition: all var(--duration) var(--ease);
    -webkit-tap-highlight-color: transparent;
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 6px 32px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

/* ============================================
   TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .navbar { padding: 16px 32px; }
    .section { padding: 80px 32px; }
    
    /* Hero */
    .hero-content {
        padding: 100px 40px 160px;
    }
    .hero-tag {
        font-size: 11px;
        letter-spacing: 3px;
    }
    .hero-title { font-size: 42px; }
    .hero-sub { 
        font-size: 16px; 
        max-width: 560px;
    }
    .btn-primary, .btn-outline {
        flex: none;
        min-width: auto;
        padding: 16px 32px;
    }
    .hero-stats { 
        bottom: 32px; 
        left: 32px; 
        right: 32px; 
        padding: 24px 28px;
        gap: 16px;
    }
    .hero-stat-num { font-size: 36px; }
    .hero-stat-label { font-size: 11px; letter-spacing: 1px; }
    
    /* Section separator */
    .section-sep-line { width: 140px; }
    .section-sep-icon { width: 44px; height: 44px; font-size: 15px; }
    
    /* Section */
    .section-title { font-size: 34px; }
    .section-desc { font-size: 15px; }
    
    /* About */
    .about-grid { flex-direction: row; gap: 48px; align-items: center; }
    .about-images { flex: 1; height: 380px; }
    .about-text { flex: 1; }
    .about-text h3 { font-size: 28px; text-align: right; }
    [dir="ltr"] .about-text h3 { text-align: left; }
    .about-text p { text-align: right; }
    [dir="ltr"] .about-text p { text-align: left; }
    .about-badge { width: 90px; height: 90px; }
    .about-badge-num { font-size: 26px; }
    .about-badge-text { font-size: 10px; }
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-feature {
        flex-direction: row;
        text-align: right;
    }
    [dir="ltr"] .about-feature { text-align: left; }
    
    /* Counter */
    .counter-grid { grid-template-columns: repeat(4, 1fr); max-width: 800px; }
    .counter-num { font-size: 44px; }
    .counter-label { font-size: 13px; }
    
    /* Projects */
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .project-card-img { height: 240px; }
    
    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    /* Devices */
    .devices-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    
    /* News */
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .news-card { flex-direction: column; }
    .news-card-img { width: 100%; min-height: 160px; }
    .news-card-body { padding: 20px; }
    
    /* Contact */
    .contact-grid { flex-direction: row; gap: 48px; }
    .contact-info, .contact-form { flex: 1; }
    .contact-info h3 { text-align: right; }
    [dir="ltr"] .contact-info h3 { text-align: left; }
    .contact-info > p { text-align: right; }
    [dir="ltr"] .contact-info > p { text-align: left; }
    .form-row { grid-template-columns: 1fr 1fr; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; text-align: right; }
    [dir="ltr"] .footer-grid { text-align: left; }
    .footer-about { align-items: flex-start; }
    .footer-social { justify-content: flex-start; }
    .footer-col h4 { text-align: right; }
    [dir="ltr"] .footer-col h4 { text-align: left; }
    .footer-col h4::after {
        right: 0;
        transform: none;
    }
    [dir="ltr"] .footer-col h4::after {
        right: auto;
        left: 0;
    }
    .footer-col a { justify-content: flex-start; }
    
    /* Testimonials */
    .testimonials-slider { min-height: 260px; }
    .testimonial-quote { font-size: 18px; }
}

/* ============================================
   DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .navbar { padding: 24px 60px; }
    .navbar.scrolled { padding: 16px 60px; }
    
    /* Desktop Navigation */
    .nav-links {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .nav-links a {
        color: rgba(255,255,255,0.8);
        font-size: 15px;
        font-weight: 500;
        padding: 10px 18px;
        border-radius: var(--radius-sm);
        transition: all var(--duration) var(--ease);
        position: relative;
    }
    
    .nav-links a:hover {
        color: #fff;
        background: rgba(255,255,255,0.1);
    }
    
    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--gold-gradient);
        transition: width var(--duration) var(--ease);
        border-radius: var(--radius-full);
    }
    
    .nav-links a:hover::after {
        width: 60%;
    }
    
    .nav-cta {
        background: var(--gold-gradient) !important;
        color: #fff !important;
        padding: 12px 24px !important;
        border-radius: var(--radius) !important;
        box-shadow: var(--shadow-gold);
    }
    
    .nav-cta::after {
        display: none !important;
    }
    
    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(181,130,71,0.4) !important;
        background: var(--gold-gradient) !important;
    }
    
    .hamburger { display: none; }
    
    /* Section */
    .section { padding: 120px 80px; }
    .section-title { font-size: 44px; }
    .section-desc { font-size: 17px; max-width: 700px; }
    
    /* Hero */
    .hero-content {
        padding: 0 80px;
        max-width: 850px;
    }
    .hero-tag {
        font-size: 12px;
        letter-spacing: 4px;
    }
    .hero-title { font-size: 52px; }
    .hero-sub { font-size: 17px; max-width: 580px; padding: 0; }
    .hero-btns { 
        gap: 16px;
    }
    .btn-primary, .btn-outline {
        padding: 16px 32px;
        font-size: 15px;
        max-width: none;
    }
    .hero-stats {
        bottom: 50px;
        left: 60px;
        right: 60px;
        padding: 28px 36px;
    }
    .hero-stat-num { font-size: 44px; }
    .hero-stat-label { font-size: 13px; letter-spacing: 1.5px; }
    .hero-scroll-down { bottom: 110px; }
    .section-sep-line { width: 180px; }
    .section-sep-icon { width: 48px; height: 48px; font-size: 16px; }
    
    /* About */
    .about-grid { gap: 80px; }
    .about-images { height: 520px; }
    .about-text h3 { font-size: 38px; }
    .about-text p { font-size: 16px; }
    .about-features { gap: 16px; }
    .about-feature { padding: 18px 20px; }
    .about-feature span { font-size: 14px; }
    .about-badge { width: 110px; height: 110px; }
    .about-badge-num { font-size: 34px; }
    
    /* Counter */
    .counter-section { padding: 80px 40px; }
    .counter-num { font-size: 56px; }
    .counter-label { font-size: 15px; }
    
    /* Projects */
    .projects-grid { gap: 32px; }
    .project-card-img { height: 300px; }
    .project-card-body { padding: 24px; }
    .project-card-spec { padding: 16px 10px; }
    .project-card-spec strong { font-size: 18px; }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .feature-card-text {
        text-align: center;
    }
    
    .feature-card-text h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .feature-card-text p {
        font-size: 14px;
    }
    
    /* Devices */
    .device-card { padding: 32px 24px; }
    .device-card-icon { width: 70px; height: 70px; font-size: 28px; }
    .device-card h4 { font-size: 16px; }
    .device-card p { font-size: 13px; }
    
    /* News */
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .news-card-body { padding: 28px; }
    .news-card-title { font-size: 18px; }
    
    /* Contact */
    .contact-grid { gap: 72px; }
    .contact-info h3 { font-size: 28px; }
    .contact-form { padding: 40px; }
    
    /* Footer */
    .footer { padding: 80px 80px 32px; }
    .footer-grid { gap: 60px; }
    .footer-about p { font-size: 15px; }
    .footer-col a { font-size: 15px; padding: 10px 0; }
}

/* ============================================
   LARGE DESKTOP (1280px+)
   ============================================ */
@media (min-width: 1280px) {
    .hero-content { max-width: 900px; }
    .hero-title { font-size: 64px; }
    .hero-sub { font-size: 19px; }
    
    .section { padding: 140px 100px; }
    .section-title { font-size: 48px; }
    
    .about-grid { max-width: 1300px; gap: 100px; }
    .projects-grid { max-width: 1300px; }
    .features-grid { max-width: 1300px; }
    .news-grid { max-width: 1300px; }
    .contact-grid { max-width: 1200px; }
}

/* ============================================
   EXTRA LARGE DESKTOP (1440px+)
   ============================================ */
@media (min-width: 1440px) {
    .hero-title { font-size: 72px; }
    .section-title { font-size: 52px; }
    
    .counter-num { font-size: 64px; }
    
    .project-card-img { height: 340px; }
}

/* ===== iOS SAFE AREAS ===== */
@supports (padding: max(0px)) {
    .hero { padding-bottom: max(0px, env(safe-area-inset-bottom)); }
    .whatsapp-float { 
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px)); 
        left: max(16px, env(safe-area-inset-left)); 
    }
    .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .mobile-menu { padding-bottom: max(40px, env(safe-area-inset-bottom)); }
    .hero-stats {
        bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
    }
}

/* ============================================
   MOBILE-FIRST OPTIMIZATIONS (iPhone & Android)
   ============================================ */
@media (max-width: 767px) {
    /* Base Mobile Fixes */
    html {
        font-size: 15px;
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        min-height: 100vh;
        min-height: 100dvh;
        overflow-x: hidden;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 12px 16px;
    }
    
    .navbar.scrolled {
        padding: 10px 16px;
    }
    
    .nav-logo {
        height: 36px;
    }
    
    .hamburger {
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Hero Mobile Optimized */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content {
        padding: 80px 16px 160px;
    }
    
    .hero-tag {
        font-size: 10px;
        padding: 8px 16px;
        letter-spacing: 2px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.35;
    }
    
    .hero-sub {
        font-size: 14px;
        line-height: 1.8;
        padding: 0 8px;
    }
    
    .hero-btns {
        width: 100%;
        padding: 0 8px;
        justify-content: center;
    }
    
    .btn-primary, .btn-outline {
        flex: 1;
        min-width: 140px;
        max-width: none;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .hero-stats {
        left: 12px;
        right: 12px;
        bottom: 16px;
        padding: 14px 10px;
        gap: 6px;
        border-radius: var(--radius);
    }
    
    .hero-stat-num {
        font-size: 22px;
    }
    
    .hero-stat-label {
        font-size: 9px;
        letter-spacing: 0.3px;
    }
    
    .hero-scroll-down {
        display: none;
    }
    
    .hero-glow {
        display: none;
    }
    
    /* Section Separators Mobile */
    .section-sep {
        padding: 8px 20px;
        gap: 12px;
    }
    .section-sep-line { width: 60px; }
    .section-sep-icon { width: 34px; height: 34px; font-size: 12px; }
    
    /* Section Mobile */
    .section {
        padding: 60px 16px;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-tag span {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .section-tag::before,
    .section-tag::after {
        width: 24px;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 1.4;
    }
    
    .section-desc {
        font-size: 14px;
        line-height: 1.8;
        padding: 0 8px;
    }
    
    /* About Mobile */
    .about-images {
        height: 280px;
    }
    
    .about-img-float {
        width: 50%;
        height: 55%;
        bottom: -20px;
    }
    
    .about-badge {
        width: 75px;
        height: 75px;
        top: 10px;
    }
    
    .about-badge-num {
        font-size: 22px;
    }
    
    .about-badge-text {
        font-size: 9px;
    }
    
    .about-text h3 {
        font-size: 22px;
        text-align: center;
    }
    
    .about-text p {
        font-size: 14px;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .about-feature {
        padding: 12px 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .about-feature span {
        font-size: 11px;
    }
    
    /* Counter Mobile */
    .counter-section {
        padding: 48px 16px;
    }
    
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .counter-item {
        padding: 16px 12px;
    }
    
    .counter-num {
        font-size: 32px;
    }
    
    .counter-label {
        font-size: 11px;
    }
    
    /* Projects Mobile */
    .projects-grid {
        gap: 20px;
    }
    
    .project-card-img {
        height: 200px;
    }
    
    .project-card-body {
        padding: 16px;
    }
    
    .project-card-specs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .project-card-spec {
        padding: 10px 6px;
    }
    
    .project-card-spec i {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .project-card-spec strong {
        font-size: 14px;
    }
    
    .project-card-spec small {
        font-size: 9px;
    }
    
    .project-card-btn {
        padding: 12px;
        font-size: 13px;
        min-height: 48px;
    }
    
    .project-card-btn-wa {
        max-width: 48px;
        padding: 12px;
    }
    
    /* Features Mobile */
    .features-section {
        padding: 60px 16px;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-card {
        padding: 18px 16px;
        gap: 16px;
    }
    
    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    
    .feature-card-text h4 {
        font-size: 15px;
    }
    
    .feature-card-text p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* Smart Devices Mobile */
    .devices-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .device-card {
        padding: 18px 14px;
    }
    
    .device-card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .device-card h4 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .device-card p {
        font-size: 11px;
        line-height: 1.6;
    }
    
    /* Testimonials Mobile */
    .testimonials-slider {
        min-height: 220px;
    }
    
    .testimonial-quote {
        font-size: 16px;
        line-height: 1.8;
        padding: 0 16px;
    }
    
    .testimonial-author {
        font-size: 15px;
    }
    
    .testimonial-role {
        font-size: 12px;
    }
    
    .testimonial-dots {
        margin-top: 24px;
    }
    
    .testimonial-dot {
        width: 10px;
        height: 10px;
    }
    
    /* News Mobile */
    .news-grid {
        gap: 16px;
    }
    
    .news-card {
        flex-direction: row;
    }
    
    .news-card-img {
        width: 110px;
        min-height: 110px;
    }
    
    .news-card-body {
        padding: 14px;
    }
    
    .news-card-date {
        font-size: 11px;
    }
    
    .news-card-title {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    
    .news-card-text {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    /* Contact Mobile */
    .contact-info h3 {
        font-size: 20px;
        text-align: center;
    }
    
    .contact-info > p {
        text-align: center;
        font-size: 13px;
    }
    
    .contact-detail {
        padding: 14px;
        gap: 14px;
    }
    
    .contact-detail-icon {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .contact-detail-label {
        font-size: 11px;
    }
    
    .contact-detail-value {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 24px 20px;
    }
    
    .form-group label {
        font-size: 12px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 50px;
    }
    
    .form-submit {
        padding: 16px;
        font-size: 15px;
        min-height: 54px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 48px 16px 24px;
    }
    
    .footer-grid {
        gap: 28px;
        text-align: center;
    }
    
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-about img {
        height: 40px;
    }
    
    .footer-about p {
        font-size: 13px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social a {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .footer-col h4 {
        font-size: 15px;
        text-align: center;
    }
    
    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .footer-col a {
        font-size: 13px;
        justify-content: center;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    /* WhatsApp Float Mobile */
    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 24px;
        bottom: 16px;
        left: 16px;
    }
    
    /* Project Page Mobile */
    .project-page-hero {
        height: 40vh;
        min-height: 280px;
        max-height: 380px;
    }
    
    .project-page-back {
        top: 70px;
        right: 12px;
        font-size: 12px;
        padding: 10px 14px;
    }
    
    .project-page-hero h1 {
        font-size: 26px;
    }
    
    .project-page-hero p {
        font-size: 13px;
    }
    
    .project-page-hero-overlay {
        padding: 24px 16px 32px;
    }
    
    .project-page-content {
        padding: 32px 16px 60px;
    }
    
    .project-page-desc {
        font-size: 14px;
        line-height: 2;
        margin-bottom: 28px;
    }
    
    .project-page-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }
    
    .project-page-spec {
        padding: 18px 14px;
    }
    
    .project-page-spec i {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .project-page-spec-val {
        font-size: 18px;
    }
    
    .project-page-spec-label {
        font-size: 11px;
    }
    
    .project-page-smart,
    .project-page-gallery {
        margin-bottom: 32px;
    }
    
    .project-page-smart h2,
    .project-page-gallery h2 {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .project-page-smart h2 i,
    .project-page-gallery h2 i {
        font-size: 22px;
    }
    
    .project-page-smart-grid {
        gap: 10px;
    }
    
    .project-page-smart-item {
        padding: 14px 16px;
        gap: 14px;
    }
    
    .project-page-smart-item i {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .project-page-smart-item span {
        font-size: 13px;
    }
    
    .project-page-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .project-page-gallery-grid img {
        height: 140px;
    }
    
    .project-page-wa {
        padding: 16px;
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    /* Lightbox Mobile */
    .lightbox img {
        max-width: 96vw;
        max-height: 80vh;
        border-radius: var(--radius-sm);
    }
    
    .lightbox-close {
        top: 16px;
        left: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .lightbox-prev { right: 12px; }
    .lightbox-next { left: 12px; }
    
    .lightbox-counter {
        bottom: 16px;
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* Small Phones (< 375px like iPhone SE) */
@media (max-width: 374px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-sub {
        font-size: 13px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-stat-num {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .project-card-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== TOUCH OPTIMIZATIONS ===== */
@media (hover: none) {
    .project-card:active { transform: scale(0.98); }
    .feature-card:active { 
        background: rgba(181,130,71,0.15); 
        border-color: rgba(181,130,71,0.3); 
    }
    .btn-primary:active { transform: scale(0.97); }
    .device-card:active { 
        border-color: var(--gold); 
        transform: scale(0.98);
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== PROJECT PAGE STYLES - Premium Design ===== */
.project-page-hero {
    height: 45vh;
    min-height: 320px;
    max-height: 450px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy-dark) 100%);
    flex-shrink: 0;
}

.project-page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: transform 10s ease-out;
}

.project-page-hero:hover img {
    transform: scale(1.1);
}

.project-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--navy-darker) 0%, rgba(10,18,37,0.5) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 32px 24px 48px;
    text-align: center;
}

.project-page-back {
    position: absolute;
    top: 80px;
    right: 24px;
    color: #fff;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    z-index: 10;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all var(--duration) var(--ease);
}

.project-page-back:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
    transform: translateX(-5px);
}

[dir="ltr"] .project-page-back:hover {
    transform: translateX(5px);
}

.project-page-hero h1 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.project-page-hero h1 span {
    color: transparent;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.project-page-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-page-hero p i {
    color: var(--gold);
}

.project-page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 24px;
}

.project-page-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2.2;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-page-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.project-page-spec {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border: 1px solid var(--gray);
    transition: all var(--duration) var(--ease);
}

.project-page-spec:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-page-spec i {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
    transition: transform var(--duration) var(--ease);
}

.project-page-spec:hover i {
    transform: scale(1.2) rotate(-10deg);
}

.project-page-spec-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    display: block;
}

.project-page-spec-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Smart features grid on project page */
.project-page-smart {
    margin-bottom: 48px;
}

.project-page-smart h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-page-smart h2 i {
    color: var(--gold);
    font-size: 28px;
}

.project-page-smart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.project-page-smart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray);
    transition: all var(--duration) var(--ease);
}

.project-page-smart-item:hover {
    border-color: var(--gold);
    transform: translateX(-8px);
    box-shadow: var(--shadow);
}

[dir="ltr"] .project-page-smart-item:hover {
    transform: translateX(8px);
}

.project-page-smart-item i {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    flex-shrink: 0;
    transition: all var(--duration) var(--ease);
}

.project-page-smart-item:hover i {
    background: var(--gold-gradient);
    color: #fff;
}

.project-page-smart-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

/* Gallery on project page */
.project-page-gallery {
    margin-bottom: 48px;
}

.project-page-gallery h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-page-gallery h2 i {
    color: var(--gold);
    font-size: 28px;
}

.project-page-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.project-page-gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    border: 2px solid transparent;
}

.project-page-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.project-page-gallery-grid img:active {
    transform: scale(0.97);
}

.project-page-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    margin-bottom: 32px;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
}

.project-page-wa:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.4);
}

/* Premium Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(10,18,37,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

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

.lightbox img {
    max-width: 92vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    animation: lightboxZoom 0.4s var(--ease);
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #fff;
    font-size: 24px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.lightbox-prev { right: 24px; }
.lightbox-next { left: 24px; }

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Project Page Responsive */
@media (min-width: 768px) {
    .project-page-hero { height: 50vh; min-height: 350px; max-height: 500px; }
    .project-page-hero h1 { font-size: 38px; }
    .project-page-content { padding: 48px 32px 80px; }
    .project-page-smart-grid { grid-template-columns: 1fr 1fr; }
    .project-page-gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .project-page-gallery-grid img { height: 200px; }
    .project-page-specs { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .project-page-spec { padding: 24px; }
}

@media (min-width: 1024px) {
    .project-page-hero { height: 55vh; min-height: 400px; max-height: 550px; }
    .project-page-hero h1 { font-size: 48px; }
    .project-page-hero p { font-size: 15px; }
    .project-page-content { padding: 56px 40px 100px; }
    .project-page-desc { font-size: 16px; }
    .project-page-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .project-page-gallery-grid img { height: 220px; }
    .project-page-specs { grid-template-columns: repeat(6, 1fr); gap: 14px; }
    .project-page-spec-val { font-size: 26px; }
    .project-page-smart h2, .project-page-gallery h2 { font-size: 26px; }
}
