/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ألوان جوجل الرسمية */
    --google-blue: #4285F4;
    --google-red: #EA4335;
    --google-yellow: #FBBC04;
    --google-green: #34A853;
    
    /* ألوان إضافية */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #5F6368;
    --dark-gray: #202124;
    --border-color: #DADCE0;
    
    /* تدرجات جوجل */
    --gradient-1: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
    --gradient-2: linear-gradient(135deg, #EA4335 0%, #FBBC04 100%);
    --gradient-3: linear-gradient(135deg, #4285F4 0%, #EA4335 50%, #FBBC04 75%, #34A853 100%);
    --gradient-multi: linear-gradient(90deg, #4285F4 0%, #EA4335 33%, #FBBC04 66%, #34A853 100%);
    
    /* ظلال */
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --shadow-md: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --shadow-lg: 0 2px 6px 2px rgba(60,64,67,0.15), 0 8px 24px 4px rgba(60,64,67,0.15);
}

/* ===== تحسين الأداء للموبايل ===== */
@media (max-width: 768px) {
    *,
    *::before,
    *::after {
        animation-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
    
    .animated-bg {
        display: none;
    }
    
    #particles {
        display: none;
    }
    
    .gradient-orb {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--white);
    color: var(--dark-gray);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    -webkit-overflow-scrolling: touch;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ANIMATED BACKGROUND (ألوان جوجل) ===== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F0FE 100%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite;
    will-change: transform;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--google-blue);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: var(--google-red);
    bottom: -150px;
    left: -150px;
    animation-delay: 7s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--google-yellow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

/* ===== PARTICLES ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--google-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    width: 200px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(52, 168, 83, 0.4);
    transform: translateY(-3px);
}

.whatsapp-text {
    display: none;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-float:hover .whatsapp-text {
    display: inline;
}

.whatsapp-float i {
    transition: margin-right 0.3s ease;
}

.whatsapp-float:hover i {
    margin-right: 10px;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-container {
    position: relative;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 11px;
    color: var(--gray);
    margin-top: -3px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 3px;
    background: var(--google-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
    right: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--google-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--google-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--google-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #1a73e8;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--google-blue);
    color: var(--google-blue);
}

.btn-outline:hover {
    background: var(--google-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F0FE 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    animation: float 3s infinite;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.gradient-text {
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    padding: 18px 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float 3s infinite;
    will-change: transform;
}

.floating-card i {
    font-size: 28px;
}

.card-1 {
    top: 50px;
    right: 50px;
    animation-delay: 0s;
}

.card-1 i {
    color: var(--google-blue);
}

.card-2 {
    top: 200px;
    right: 250px;
    animation-delay: 1s;
}

.card-2 i {
    color: var(--google-red);
}

.card-3 {
    top: 350px;
    right: 100px;
    animation-delay: 2s;
}

.card-3 i {
    color: var(--google-green);
}

.floating-card span {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-gray);
}

.hero-logo-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s infinite;
}

.hero-logo-display img {
    max-width: 180px;
}

.logo-fallback-hero {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-text-hero {
    font-size: 72px;
    font-weight: 900;
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.logo-tagline-hero {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.2);
    }
    50% {
        box-shadow: 0 0 0 40px rgba(66, 133, 244, 0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.2);
    border-radius: 50px;
    color: var(--google-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.section-description {
    font-size: 17px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 35px 28px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--google-blue);
}

.service-card.featured {
    border: 2px solid var(--google-blue);
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.03) 0%, rgba(234, 67, 53, 0.03) 100%);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    background: var(--google-red);
    color: white;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
    box-shadow: var(--shadow-sm);
}

.service-card:nth-child(1) .service-icon {
    background: var(--google-blue);
}

.service-card:nth-child(2) .service-icon {
    background: var(--google-red);
}

.service-card:nth-child(3) .service-icon {
    background: var(--google-yellow);
}

.service-card:nth-child(4) .service-icon {
    background: var(--google-green);
}

.service-card:nth-child(5) .service-icon {
    background: var(--gradient-1);
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.service-description {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 18px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.service-features i {
    color: var(--google-green);
    font-size: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--google-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

/* ===== STATS SECTION ===== */
.stats {
    background: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.stat-card:nth-child(1) .stat-icon {
    background: var(--google-blue);
}

.stat-card:nth-child(2) .stat-icon {
    background: var(--google-red);
}

.stat-card:nth-child(3) .stat-icon {
    background: var(--google-yellow);
}

.stat-card:nth-child(4) .stat-icon {
    background: var(--google-green);
}

.stat-info {
    flex: 1;
}

.stat-content {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.stat-number {
    font-size: 38px;
    font-weight: 900;
    color: var(--dark-gray);
}

.stat-plus {
    font-size: 22px;
    color: var(--google-blue);
    font-weight: 700;
}

.stat-label {
    font-size: 15px;
    color: var(--gray);
}

/* ===== WHY US SECTION ===== */
.why-us {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.why-card {
    padding: 35px 25px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    color: white;
}

.why-card:nth-child(1) .why-icon {
    background: var(--google-blue);
}

.why-card:nth-child(2) .why-icon {
    background: var(--google-red);
}

.why-card:nth-child(3) .why-icon {
    background: var(--google-yellow);
}

.why-card:nth-child(4) .why-icon {
    background: var(--google-green);
}

.why-card:nth-child(5) .why-icon {
    background: var(--gradient-1);
}

.why-card:nth-child(6) .why-icon {
    background: var(--gradient-2);
}

.why-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    background: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.portfolio-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 280px;
    border: 1px solid var(--border-color);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    color: rgba(95, 99, 104, 0.2);
    transition: transform 0.4s ease;
    background: var(--white);
}

.portfolio-item:nth-child(1) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(66, 133, 244, 0.05) 100%);
    color: var(--google-blue);
}

.portfolio-item:nth-child(2) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.1) 0%, rgba(234, 67, 53, 0.05) 100%);
    color: var(--google-red);
}

.portfolio-item:nth-child(3) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(251, 188, 4, 0.1) 0%, rgba(251, 188, 4, 0.05) 100%);
    color: var(--google-yellow);
}

.portfolio-item:nth-child(4) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(52, 168, 83, 0.05) 100%);
    color: var(--google-green);
}

.portfolio-item:nth-child(5) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(234, 67, 53, 0.05) 100%);
    color: var(--google-blue);
}

.portfolio-item:nth-child(6) .portfolio-placeholder {
    background: linear-gradient(135deg, rgba(52, 168, 83, 0.1) 0%, rgba(251, 188, 4, 0.05) 100%);
    color: var(--google-green);
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(32, 33, 36, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--white);
}

.portfolio-overlay p {
    color: #E8EAED;
    margin-bottom: 12px;
    font-size: 14px;
}

.portfolio-link {
    width: 45px;
    height: 45px;
    background: var(--google-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    transform: scale(1.1) rotate(90deg);
    background: var(--google-red);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.info-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.info-card:nth-child(1) .info-icon {
    background: var(--google-blue);
}

.info-card:nth-child(2) .info-icon {
    background: var(--google-red);
}

.info-card:nth-child(3) .info-icon {
    background: var(--google-green);
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--dark-gray);
}

.info-text p {
    color: var(--gray);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:nth-child(1):hover {
    background: var(--google-blue);
    color: white;
    border-color: var(--google-blue);
}

.social-link:nth-child(2):hover {
    background: var(--google-red);
    color: white;
    border-color: var(--google-red);
}

.social-link:nth-child(3):hover {
    background: var(--google-yellow);
    color: white;
    border-color: var(--google-yellow);
}

.social-link:nth-child(4):hover {
    background: var(--google-green);
    color: white;
    border-color: var(--google-green);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 45px 14px 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-gray);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--google-blue);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.form-group i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
}

.form-group textarea + i {
    top: 18px;
    transform: none;
}

.contact-form button {
    grid-column: 1 / -1;
    width: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: #E8EAED;
    padding: 60px 0 25px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    height: 50px;
}

.footer .logo-fallback {
    display: flex;
}

.footer .logo-text {
    color: var(--white);
    font-size: 20px;
}

.footer .logo-tagline {
    color: #9AA0A6;
    font-size: 11px;
}

.footer-description {
    color: #9AA0A6;
    line-height: 1.7;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 18px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #9AA0A6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--google-blue);
    transform: translateX(-4px);
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9AA0A6;
    font-size: 14px;
}

.footer-contact i {
    color: var(--google-blue);
    font-size: 15px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #3C4043;
}

.footer-bottom p {
    font-size: 14px;
    color: #9AA0A6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: #3C4043;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E8EAED;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.footer-social a:nth-child(1):hover {
    background: var(--google-blue);
}

.footer-social a:nth-child(2):hover {
    background: var(--google-red);
}

.footer-social a:nth-child(3):hover {
    background: var(--google-yellow);
}

.footer-social a:nth-child(4):hover {
    background: var(--google-green);
}

/* ===== WELCOME POPUP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 33, 36, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    max-width: 520px;
    width: 90%;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px 35px;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-lg);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 38px;
    height: 38px;
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.popup-close:hover {
    background: var(--google-red);
    color: white;
    transform: rotate(90deg);
}

.popup-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.popup-logo {
    margin-bottom: 18px;
}

.popup-logo img {
    height: 70px;
}

.popup .logo-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 22px;
}

.popup-stars i {
    color: var(--google-yellow);
    animation: star-twinkle 1.5s infinite;
}

.popup-stars i:nth-child(1) { animation-delay: 0s; }
.popup-stars i:nth-child(2) { animation-delay: 0.2s; }
.popup-stars i:nth-child(3) { animation-delay: 0.4s; }
.popup-stars i:nth-child(4) { animation-delay: 0.6s; }
.popup-stars i:nth-child(5) { animation-delay: 0.8s; }

@keyframes star-twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.popup-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--dark-gray);
}

.popup-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 22px;
    line-height: 1.6;
}

.popup-description strong {
    color: var(--google-blue);
    font-weight: 700;
}

.popup-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    text-align: right;
}

.popup-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.popup-feature:hover {
    background: rgba(66, 133, 244, 0.05);
    transform: translateX(-4px);
}

.popup-feature i {
    color: var(--google-green);
    font-size: 18px;
}

.popup-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

.popup-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.1), rgba(251, 188, 4, 0.1));
    border: 1px solid rgba(234, 67, 53, 0.2);
    border-radius: 12px;
    margin-bottom: 22px;
}

.popup-timer i {
    color: var(--google-red);
    font-size: 18px;
}

.popup-timer span {
    font-size: 14px;
    color: var(--dark-gray);
}

.popup-timer strong {
    color: var(--google-red);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Courier New', monospace;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.popup-btn {
    width: 100%;
    justify-content: center;
}

.popup-skip {
    width: 100%;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--gray);
    font-size: 14px;
}

.popup-skip:hover {
    color: var(--dark-gray);
    background: var(--light-gray);
}

.popup-trust {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trust-item i {
    font-size: 18px;
}

.trust-item:nth-child(1) i {
    color: var(--google-blue);
}

.trust-item:nth-child(2) i {
    color: var(--google-yellow);
}

.trust-item:nth-child(3) i {
    color: var(--google-green);
}

.trust-item span {
    font-size: 11px;
    color: var(--gray);
    white-space: nowrap;
}

/* ===== ANIMATIONS ===== */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-30deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-visual {
        height: 350px;
        order: -1;
    }

    .hero-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 34px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 35px;
        gap: 18px;
        border-left: 1px solid var(--border-color);
        transition: right 0.4s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-visual {
        height: 280px;
    }

    .floating-card {
        padding: 14px 18px;
    }

    .floating-card i {
        font-size: 22px;
    }

    .floating-card span {
        font-size: 14px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-description {
        font-size: 15px;
    }

    .services-grid,
    .why-us-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-float:hover {
        width: 50px;
        border-radius: 50%;
    }

    .whatsapp-text {
        display: none !important;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 15px;
    }

    .popup-container {
        padding: 35px 25px;
        max-width: 95%;
    }

    .popup-title {
        font-size: 22px;
    }

    .popup-description {
        font-size: 15px;
    }

    .popup-logo img {
        height: 55px;
    }

    .popup-trust {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    .navbar {
        padding: 12px 15px;
    }

    .logo {
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}