/* ============================================
   INVITIII - ULTRA MODERN HOME PAGE
   Complete Redesign - 2025 Web Design Trends
   ============================================ */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #13284f;
    --primary-light: #5373a5;
    --primary-dark: #0a1427;
    --accent: #49b37e;
    --whatsapp: #25D366;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-6: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-hero: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

    /* Neutrals */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body.modern-home {
    font-family: 'Oxygen', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Prevent layout shift during page load and animations */
[data-aos] {
    pointer-events: auto;
    will-change: transform, opacity;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

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

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

/* ============================================
   3. MODERN NAVIGATION
   ============================================ */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: var(--transition);
}

.modern-nav.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.brand-logo .logo-img {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: var(--transition);
}

.modern-nav.scrolled .logo-img {
    height: 40px;
}

/* Logo responsiveness */
@media (max-width: 768px) {
    .brand-logo .logo-img {
        height: 35px;
        max-width: 120px;
    }

    .modern-nav.scrolled .logo-img {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .brand-logo .logo-img {
        height: 30px;
        max-width: 100px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    padding: var(--space-2) 0;
    position: relative;
    transition: var(--transition);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Language Switch */
.lang-switch {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
}

.lang-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dropdown-item.text-danger {
    color: #dc3545;
}

.dropdown-item.text-danger:hover {
    background: #fee;
    color: #dc3545;
}

.dropdown-item i {
    font-size: 18px;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: var(--space-2) 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 999;
    padding: var(--space-20) var(--space-6);
}

.mobile-menu.active {
    left: 0;
}

[dir="rtl"] .mobile-menu,
html[dir="rtl"] .mobile-menu {
    left: auto !important;
    right: -100%;
}

[dir="rtl"] .mobile-menu.active,
html[dir="rtl"] .mobile-menu.active {
    right: 0;
    left: auto !important;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-nav-item {
    padding: var(--space-4);
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-nav-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ============================================
   4. MODERN BUTTONS
   ============================================ */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-modern.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-modern.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-modern.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-modern.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-modern.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-modern.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Buttons */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 17px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--primary);
    border: 2px solid rgba(19, 40, 79, 0.2);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   5. HERO SECTION - MODERN
   ============================================ */
.hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-20) 0 var(--space-16);
    overflow: hidden;
    background: var(--gradient-hero);
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -15%;
    left: -5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 40%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--primary-dark);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.hero-ctas {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.invitation-mockup {
    position: relative;
    width: 100%;
    height: 500px;
}

.mockup-card {
    position: absolute;
    width: 300px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: var(--transition-slow);
}

.mockup-card:hover {
    transform: translateY(-10px);
}

.mockup-1 {
    top: 0;
    left: 0;
    z-index: 3;
    animation: float-card 6s ease-in-out infinite;
}

.mockup-2 {
    top: 50px;
    left: 100px;
    z-index: 2;
    animation: float-card 6s ease-in-out infinite 2s;
}

.mockup-3 {
    top: 100px;
    left: 200px;
    z-index: 1;
    animation: float-card 6s ease-in-out infinite 4s;
}

@keyframes float-card {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.mockup-shimmer {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-600);
    font-size: 14px;
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    animation: scroll-wheel 2s infinite;
}

/* ============================================
   5B. HERO SECTION - REDESIGNED (NEW)
   ============================================ */
.hero-redesign {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: visible;
    min-height: 700px;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: 0 10px 60px rgba(19, 40, 79, 0.08);
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(19, 40, 79, 0.06);
    min-height: 500px;
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.deco-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    top: -50px;
    right: -50px;
    filter: blur(40px);
}

.deco-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(73, 179, 126, 0.1) 0%, rgba(56, 249, 215, 0.1) 100%);
    bottom: -30px;
    left: -30px;
    filter: blur(30px);
}

.deco-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary-light), transparent);
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    opacity: 0.2;
}

/* Main Hero Layout */
.hero-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.hero-content-new {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Animated Icon */
.hero-icon {
    margin-bottom: var(--space-4);
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(19, 40, 79, 0.2);
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--white);
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    inset: -4px;
    border-radius: var(--radius-xl);
    border: 2px solid var(--primary-light);
    opacity: 0.5;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Title */
.hero-title-new {
    font-size: 56px;
    line-height: 1.15;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 0;
}

.highlight-text {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background: linear-gradient(90deg, rgba(73, 179, 126, 0.3) 0%, rgba(56, 249, 215, 0.3) 100%);
    z-index: -1;
    border-radius: 4px;
}

/* Description */
.hero-desc-new {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 540px;
    margin: 0;
}

/* Action Buttons */
.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-new {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-new i {
    font-size: 20px;
}

.btn-new-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(19, 40, 79, 0.2);
}

.btn-new-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(19, 40, 79, 0.3);
}

.btn-new-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-new-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    margin-top: var(--space-4);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent);
    font-size: 18px;
}

/* Right Visual */
.hero-visual-new {
    position: relative;
    height: 100%;
    min-height: 400px;
}

/* Floating Stats Cards */
.stats-floating {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 8px 30px rgba(19, 40, 79, 0.12);
    display: flex;
    align-items: center;
    gap: var(--space-4);
    border: 1px solid rgba(19, 40, 79, 0.06);
    transition: var(--transition);
    min-width: 180px;
    z-index: 20;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(19, 40, 79, 0.18);
}

.stat-card-1 {
    top: 0;
    left: 0;
    animation: float-gentle 4s ease-in-out infinite;
}

.stat-card-2 {
    top: 0;
    right: -40px;
    animation: float-gentle 4s ease-in-out infinite 1.3s;
}

.stat-card-3 {
    bottom: 40px;
    left: 30px;
    animation: float-gentle 4s ease-in-out infinite 2.6s;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 24px;
    color: var(--white);
}

.stat-info {
    flex: 1;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 500;
}

/* Decorative Shape */
.hero-image-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 20px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.shape-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shape-inner i {
    font-size: 80px;
    color: var(--primary-light);
    opacity: 0.3;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* ============================================
   6. SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    margin-bottom: var(--space-4);
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   7. FEATURES SECTION - MODERN
   ============================================ */
.features-modern {
    padding: var(--space-24) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-box {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

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

.icon-gradient-1 { background: var(--gradient-1); }
.icon-gradient-2 { background: var(--gradient-2); }
.icon-gradient-3 { background: var(--gradient-3); }
.icon-gradient-4 { background: var(--gradient-4); }
.icon-gradient-5 { background: var(--gradient-5); }
.icon-gradient-6 { background: var(--gradient-6); }

.feature-title {
    font-size: 22px;
    margin-bottom: var(--space-3);
    color: var(--primary);
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   8. SHOWCASE SECTION - TABS
   ============================================ */
.showcase-modern {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.services-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-12);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 16px 32px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.tab-btn i {
    font-size: 20px;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    background: var(--white);
    padding: var(--space-12);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.showcase-visual {
    position: relative;
}

.showcase-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.showcase-content h3 {
    font-size: 32px;
    margin-bottom: var(--space-4);
    color: var(--primary-dark);
}

.showcase-content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.feature-list {
    list-style: none;
    margin-bottom: var(--space-8);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: 15px;
    color: var(--gray-700);
}

.feature-list i {
    color: var(--accent);
    font-size: 18px;
}

/* ============================================
   9. GALLERY SECTION - MASONRY
   ============================================ */
.gallery-modern {
    padding: var(--space-24) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.gallery-item {
    position: relative;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    height: 320px;
    transition: var(--transition);
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(19, 40, 79, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-6);
    opacity: 0;
    transition: var(--transition);
}

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

.overlay-content {
    color: var(--white);
    width: 100%;
}

.overlay-content h4 {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: var(--white);
}

.overlay-content p {
    font-size: 14px;
    margin-bottom: var(--space-3);
    opacity: 0.9;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: var(--space-3);
    backdrop-filter: blur(10px);
}

.category-badge i {
    font-size: 14px;
}

.btn-gallery {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-gallery:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   10. TESTIMONIALS SECTION
   ============================================ */
.testimonials-modern {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-4);
    color: #fbbf24;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--primary);
}

.author-info p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   11. FOOTER - MODERN
   ============================================ */
.footer-modern {
    background: var(--primary-dark);
    color: var(--gray-300);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-col h4 {
    color: #4f6f9f !important;
    font-size: 18px;
    margin-bottom: var(--space-6);
    font-family: 'Oxygen', sans-serif;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-6);
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-3);
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 15px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: var(--space-2);
}

.contact-info li {
    display: flex;
    align-items: start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.contact-info i {
    color: var(--primary-light);
    font-size: 18px;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* ============================================
   13. WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: var(--shadow-xl);
    }
    50% {
        box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
    }
}

/* ============================================
   14. RESPONSIVE - TABLETS
   ============================================ */
@media (max-width: 1024px) {
    .hero-modern {
        padding: calc(var(--space-20) + 60px) var(--space-6) var(--space-16);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 18px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .testimonial-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* New Hero Responsive - Tablet */
    .hero-redesign {
        padding: 100px 0 60px;
    }

    .hero-card {
        padding: 40px;
    }

    .hero-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title-new {
        font-size: 44px;
    }

    .hero-desc-new {
        max-width: 100%;
    }

    .hero-visual-new {
        min-height: 320px;
    }

    .stat-card {
        min-width: 160px;
        padding: var(--space-4);
    }

    .stat-card-2 {
        top: 120px;
    }

    .stat-card-3 {
        bottom: 20px;
    }
}

/* ============================================
   15. RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-actions .btn-modern:not(.btn-primary) {
        display: none;
    }

    .hero-modern {
        padding: calc(var(--space-16) + 60px) var(--space-4) var(--space-12);
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: var(--space-4);
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: var(--space-6);
    }

    .hero-ctas {
        flex-direction: column;
        gap: var(--space-3);
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: var(--space-4);
    }

    .stat-item {
        flex: 1;
        min-width: 80px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-divider {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .scroll-prompt {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .tab-buttons {
        flex-direction: column;
        gap: var(--space-3);
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .service-showcase {
        padding: var(--space-8);
        gap: var(--space-8);
    }

    .showcase-content h3 {
        font-size: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }

    .gallery-card {
        height: 250px;
    }

    .testimonial-track {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-3);
    }

    /* New Hero Responsive - Mobile */
    .hero-redesign {
        padding: 100px 0 50px;
    }

    .hero-card {
        padding: 30px 24px;
        border-radius: var(--radius-xl);
    }

    .hero-content-new {
        text-align: center;
    }

    .hero-icon {
        display: flex;
        justify-content: center;
        margin-bottom: var(--space-3);
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .icon-wrapper i {
        font-size: 32px;
    }

    .hero-title-new {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-desc-new {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .btn-new {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero-trust {
        justify-content: center;
        gap: var(--space-4);
    }

    .trust-item {
        font-size: 13px;
    }

    .hero-visual-new {
        display: none;
    }

    .deco-line {
        display: none;
    }
}

/* ============================================
   16. RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .hero-modern {
        padding: calc(var(--space-12) + 60px) var(--space-3) var(--space-10);
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-stats {
        gap: var(--space-3);
    }

    .stat-item {
        min-width: 70px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .btn-hero {
        padding: 12px 20px;
        font-size: 14px;
        gap: var(--space-2);
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .btn-modern {
        padding: 10px 20px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: var(--space-6);
        right: var(--space-6);
    }

    .user-menu-btn span {
        display: none;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    /* New Hero Responsive - Small Mobile */
    .hero-redesign {
        padding: 90px 0 40px;
    }

    .hero-card {
        padding: 24px 20px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .icon-wrapper i {
        font-size: 28px;
    }

    .hero-title-new {
        font-size: 28px;
        line-height: 1.25;
    }

    .hero-desc-new {
        font-size: 14px;
    }

    .btn-new {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn-new i {
        font-size: 18px;
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-3);
    }

    .trust-item {
        font-size: 12px;
    }

    .trust-item i {
        font-size: 16px;
    }
}

/* ============================================
   17. UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: var(--space-12);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ============================================
   18. PRINT STYLES
   ============================================ */
@media print {
    .modern-nav,
    .whatsapp-float,
    .scroll-prompt {
        display: none;
    }
}
