/* =====================================================
   DORRAT AL JOUDA TECHNICAL SERVICES - Main Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-red: #E31E24;
    --primary-red-dark: #B91C1C;
    --primary-red-light: #F87171;
    --primary-red-text: #C41A1E; /* WCAG AA compliant for text (5.2:1 contrast) */
    --primary-black: #1A1A1A;
    --accent-gray: #333333;
    --light-gray: #F5F5F5;
    --medium-gray: #E5E5E5;
    --text-gray: #666666;
    --white: #FFFFFF;

    /* Functional Colors */
    --success: #25D366;
    --warning: #F59E0B;
    --info: #3B82F6;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-arabic: 'Cairo', sans-serif;

    /* Spacing - 8px base unit */
    --space-1: 0.5rem;    /* 8px */
    --space-2: 1rem;      /* 16px */
    --space-3: 1.5rem;    /* 24px */
    --space-4: 2rem;      /* 32px */
    --space-5: 2.5rem;    /* 40px */
    --space-6: 3rem;      /* 48px */
    --space-8: 4rem;      /* 64px */
    --space-10: 5rem;     /* 80px */
    --space-12: 6rem;     /* 96px */

    --section-padding: 100px 0;
    --container-padding: 0 100px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 50px;
    --radius-md: 50px;
    --radius-lg: 50px;
    --radius-full: 50%;
}

/* =====================================================
   SCROLLBAR STYLING
   ===================================================== */
/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 6px;
}

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

/* Firefox */
* {
    scrollbar-color: var(--primary-red) var(--primary-black);
    scrollbar-width: thin;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    direction: ltr;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    overflow-x: hidden;
    direction: ltr;
    text-align: left;
}

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

ul {
    list-style: none;
}

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

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   ACCESSIBILITY - Focus States
   ===================================================== */
*:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
}

.btn:focus-visible,
.nav-link:focus-visible,
.filter-btn:focus-visible,
.social-link:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(227, 30, 36, 0.2);
}

.whatsapp-float:focus-visible,
.btn-whatsapp:focus-visible {
    outline: 3px solid var(--white);
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.3);
}

/* Skip to Content Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section Styling */
.section {
    padding: var(--section-padding);
}

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

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red-text); /* WCAG AA compliant */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.section-title span {
    color: var(--primary-red-text); /* WCAG AA compliant */
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), transparent);
    border-radius: 2px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Image Placeholders */
.image-placeholder,
.hero-placeholder,
.work-placeholder,
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--light-gray) 100%);
    border: 2px dashed var(--text-gray);
    border-radius: var(--radius-md);
    color: var(--text-gray);
    text-align: center;
    padding: 20px;
}

.image-placeholder i,
.hero-placeholder i,
.work-placeholder i,
.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.image-placeholder span,
.hero-placeholder span,
.work-placeholder span,
.map-placeholder span {
    font-weight: 600;
    margin-bottom: 5px;
}

.image-placeholder small,
.hero-placeholder small,
.work-placeholder small,
.map-placeholder small {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-fast);
}

.header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-fast);
}

.header.scrolled .logo img {
    height: 50px;
}

/* Centered nav menu */
.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-link {
    color: var(--primary-black);
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

/* Mobile nav-actions fix */
@media (max-width: 992px) {
    .nav-actions {
        gap: 10px;
        padding-right: 5px;
    }
}

/* Header Phone - hidden on mobile by default */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

/* Hide phone on screens smaller than 992px */
@media (max-width: 992px) {
    .header-phone {
        display: none !important;
    }
}

.header-phone i {
    color: var(--primary-red);
}

.header.scrolled .header-phone {
    color: var(--primary-black);
}

.header-phone:hover {
    color: var(--primary-red);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-weight: 500;
    transition: var(--transition-fast);
}

.header.scrolled .lang-switch {
    background: var(--light-gray);
    border-color: var(--medium-gray);
    color: var(--primary-black);
}

.lang-switch:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    min-width: 45px;
    min-height: 45px;
    justify-content: center;
    align-items: center;
}

/* Show hamburger on mobile */
@media (max-width: 992px) {
    .hamburger {
        display: flex !important;
        z-index: 1002;
    }
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.header.scrolled .hamburger .bar {
    background: var(--primary-black);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg .hero-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--accent-gray) 100%);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    .hero-bg {
        background: linear-gradient(135deg, var(--primary-black) 0%, var(--accent-gray) 100%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary-red);
}

.hero-text p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Subcopy */
.btn-primary {
    padding: 16px 36px;
}

.btn-subcopy {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge i {
    font-size: 1.25rem;
    color: var(--success);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.hero-scroll a:hover {
    opacity: 1;
}

.hero-scroll i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-image .image-placeholder {
    height: 450px;
}

.about-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    word-break: break-word;
    overflow-wrap: break-word;
}

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

.about-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features .feature i {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.about-features .feature span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.stat-card {
    background: var(--primary-black);
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 50%;
}

.stat-card:hover {
    border-color: var(--primary-red-light);
    box-shadow: 0 10px 35px rgba(227, 30, 36, 0.4);
    transform: scale(1.1);
    background: rgba(26, 26, 26, 0.95);
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-size: 1rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.25);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.35);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
/* ===== SERVICES SECTION ===== */
.services {
    background: linear-gradient(135deg, var(--white) 0%, #f9f9f9 100%);
    position: relative;
    padding: 80px 0;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    letter-spacing: 1px;
}

.services .section-title {
    color: var(--primary-black);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services .section-title span {
    color: var(--primary-red);
}

.services .section-description {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Service Card */
.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(227, 30, 36, 0.1);
    height: 100%;
    min-height: 420px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.service-card:hover {
    background: var(--white);
    border-color: rgba(227, 30, 36, 0.3);
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(227, 30, 36, 0.15);
}

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

/* Service Image Background */
.service-image-bg {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.service-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    transition: all 0.4s ease;
    z-index: 1;
}

.service-card:hover .service-image-bg::after {
    background: none;
}

/* Service Content Wrapper */
.service-content-wrapper {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Service Icon */
.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(227, 30, 36, 0.4);
}

/* Service Title */
.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Service Description */
.service-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 0;
    flex-grow: 1;
}

/* Service Number */
.service-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    z-index: 2;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE SERVICES ===== */
@media (max-width: 1024px) {
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-top: 50px;
    }

    .services .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }

    .services .section-header {
        text-align: center;
    }

    .services .section-title {
        font-size: 1.75rem;
    }

    .services .section-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .service-card {
        min-height: 400px;
    }

    .service-image-bg {
        height: 240px;
    }

    .service-content-wrapper {
        padding: 16px 18px;
    }

    .service-card:hover {
        transform: translateY(-8px);
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .service-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .service-number {
        font-size: 2.2rem;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 40px 0;
    }

    .services .section-title {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .service-card {
        min-height: 350px;
    }

    .service-image-bg {
        height: 210px;
        border-radius: 10px;
    }

    .service-content-wrapper {
        padding: 14px 16px;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .service-card h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .service-number {
        font-size: 2rem;
        top: 6px;
        right: 10px;
    }
}

/* =====================================================
   WORKS/PORTFOLIO SECTION
   ===================================================== */
.works {
    background: var(--light-gray);
    overflow: hidden;
}

/* Works Row Container */
.works-row {
    margin-bottom: 40px;
}

.works-row:last-of-type {
    margin-bottom: 0;
}

.works-row-header {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 100px;
    text-align: center;
}

.works-row-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.works-row-header h3 i {
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* Scroll Container */
.works-scroll-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0;
    cursor: grab;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.works-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.works-scroll-container:active,
.works-scroll-container.dragging {
    cursor: grabbing;
}

/* Scroll Track */
.works-scroll-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}

.works-scroll-track.reverse {
    animation: scrollRight 40s linear infinite;
}

.works-scroll-track:hover,
.works-scroll-track.paused {
    animation-play-state: paused;
}

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

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

/* Work Item Card */
.works-scroll-track .work-item {
    flex: 0 0 350px;
    width: 350px;
    height: 280px;
    position: relative;
    border-radius: 20px;
    padding: 7px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.works-scroll-track .work-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.works-scroll-track .work-item img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
    transition: transform 0.6s ease;
}

.works-scroll-track .work-item:hover img {
    transform: scale(1.1);
}

/* Work Overlay */
.works-scroll-track .work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(227, 30, 36, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.works-scroll-track .work-item:hover .work-overlay {
    opacity: 1;
}

.works-scroll-track .work-overlay h4,
.works-scroll-track .work-overlay p {
    display: none; /* Hide title and subtitle */
}

/* Responsive Works Section */
@media (max-width: 992px) {
    .works-row-header {
        padding: 0 30px;
    }

    .works-scroll-track .work-item {
        flex: 0 0 240px;
        width: 240px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .works-row-header {
        padding: 0 20px;
    }

    .works-row-header h3 {
        font-size: 1.1rem;
    }

    .works-scroll-track .work-item {
        flex: 0 0 350px;
        width: 350px;
        height: 280px;
        border-radius: 20px;
        padding: 7px;
    }

    .works-scroll-track .work-item img {
        border-radius: 15px;
    }

    .works-scroll-track {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .works-row-header {
        padding: 0 15px;
    }

    .works-scroll-track .work-item {
        flex: 0 0 250px;
        width: 250px;
        height: 200px;
        border-radius: 20px;
        padding: 7px;
    }

    .works-scroll-track .work-item img {
        border-radius: 15px;
    }

    .works-scroll-track {
        gap: 30px;
    }

    .works-scroll-track .work-overlay {
        padding: 30px;
    }

    .works-scroll-track .work-overlay h4 {
        font-size: 1rem;
    }

    .works-scroll-track .work-overlay p {
        font-size: 0.85rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .works-scroll-track,
    .works-scroll-track.reverse {
        animation: none;
    }
}

/* =====================================================
   FEEDBACK/TESTIMONIALS SECTION
   ===================================================== */
/* ===== FEEDBACK SECTION ===== */
.feedback {
    background: linear-gradient(135deg, var(--primary-black) 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.feedback::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.feedback::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.feedback .section-subtitle {
    color: var(--primary-red);
    font-weight: 600;
    letter-spacing: 1px;
}

.feedback .section-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feedback .section-title span {
    color: var(--primary-red);
}

.feedback .section-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Feedback Grid Container */
.feedback-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

/* Feedback Track - Holds all cards */
.feedback-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    min-height: auto;
}

/* Individual Feedback Card */
.feedback-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 35px;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: auto;
}

.feedback-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feedback-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(227, 30, 36, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(227, 30, 36, 0.15);
}

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

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    overflow: visible;
}

/* Quote Icon */
.quote-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Star Rating */
.feedback-stars {
    display: flex;
    gap: 5px;
}

.feedback-stars i {
    color: #FFD700;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Feedback Text */
.feedback-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.feedback-text::before {
    content: '"';
    position: absolute;
    left: -8px;
    top: -8px;
    font-size: 3rem;
    color: rgba(227, 30, 36, 0.1);
    font-weight: 700;
}

/* Author Section */
.feedback-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.author-info span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Carousel Navigation */
.feedback-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.feedback-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-nav-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

.feedback-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.feedback-nav-btn:disabled:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    transform: none;
}

/* Carousel Dots */
.feedback-dots {
    display: flex;
    gap: 10px;
}

.feedback-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.feedback-dot.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

.feedback-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE FEEDBACK ===== */
@media (max-width: 1024px) {
    .feedback {
        padding: 60px 0;
    }

    .feedback-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }

    .feedback .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .feedback {
        padding: 50px 0;
    }

    .feedback .section-header {
        text-align: center;
    }

    .feedback .section-title {
        font-size: 1.75rem;
    }

    .feedback .section-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .feedback-carousel {
        padding: 15px 0;
        margin-top: 40px;
        overflow: visible;
        min-height: auto;
    }

    .feedback-track {
        gap: 20px;
        min-height: auto;
        align-items: stretch;
    }

    .feedback-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        overflow: visible;
        height: auto;
        min-height: auto;
    }

    .feedback-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }

    .card-header {
        margin-bottom: 15px;
    }

    .quote-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feedback-text {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .author-avatar {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .author-info h4 {
        font-size: 0.95rem;
    }

    .author-info span {
        font-size: 0.75rem;
    }

    .feedback-nav {
        margin-top: 25px;
        gap: 15px;
    }

    .feedback-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }

    .feedback-dots {
        gap: 8px;
    }

    .feedback-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .feedback {
        padding: 40px 0;
    }

    .feedback .section-title {
        font-size: 1.5rem;
    }

    .feedback-carousel {
        padding: 10px 0;
        overflow: visible;
        margin-top: 30px;
    }

    .feedback-track {
        gap: 15px;
        align-items: stretch;
    }

    .feedback-card {
        padding: 20px 18px;
        overflow: visible;
        height: auto;
        min-height: auto;
    }

    .feedback-card:hover {
        transform: translateY(-5px);
    }

    .feedback-track {
        gap: 15px;
    }

    .card-header {
        margin-bottom: 12px;
    }

    .quote-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .feedback-stars i {
        font-size: 0.8rem;
    }

    .feedback-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .feedback-text::before {
        font-size: 2rem;
        left: -3px;
        top: -10px;
    }

    .feedback-author {
        gap: 10px;
        padding-top: 12px;
    }

    .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    .author-info h4 {
        font-size: 0.9rem;
    }

    .author-info span {
        font-size: 0.7rem;
    }

    .feedback-nav {
        margin-top: 20px;
        gap: 12px;
    }

    .feedback-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    .feedback-dots {
        gap: 6px;
    }

    .feedback-dot {
        width: 8px;
        height: 8px;
    }
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products {
    background: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

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

.product-image .image-placeholder {
    height: 200px;
    border-radius: 0;
}

.product-info {
    padding: 25px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.info-card:hover {
    background: var(--primary-red);
}

.info-card:hover .info-icon,
.info-card:hover .info-text h3,
.info-card:hover .info-text p {
    color: var(--white);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-red);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.info-card:hover .info-icon {
    background: var(--white);
    color: var(--primary-red);
}

.info-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-black);
    transition: var(--transition-fast);
}

.info-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

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

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    color: var(--primary-black);
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-5px);
}

/* WhatsApp CTA */
.contact-cta-wrapper {
    background: var(--light-gray);
    padding: 50px 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-cta {
    text-align: center;
    max-width: 400px;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 3rem;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 15px;
}

.whatsapp-cta p {
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.7;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    margin-bottom: 30px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.5rem;
}

/* Ripple Wrapper - Container for ripple effect */
.ripple-wrapper {
    position: relative;
    display: inline-block;
}

/* Create ripple rings that expand outward */
.ripple-wrapper::before,
.ripple-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ripple-wrapper::before {
    animation: rippleExpand 2s ease-out infinite;
}

.ripple-wrapper::after {
    animation: rippleExpand 2s ease-out infinite 0.6s;
}

@keyframes rippleExpand {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-color: #25D366;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
        border-color: rgba(37, 211, 102, 0);
    }
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.cta-feature i {
    color: #25D366;
    font-size: 1rem;
}

/* Map */
.map-wrapper .map-placeholder {
    height: 350px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
}

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

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

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* Footer Services Two-Column Grid */
.footer-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.footer-services-grid ul li {
    margin-bottom: 10px;
}

.footer-services-grid ul li a {
    font-size: 0.9rem;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact ul li i {
    color: var(--primary-red);
    margin-top: 4px;
}

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

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

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.privacy-policy-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.privacy-policy-link:hover {
    color: var(--primary-red);
}

/* =====================================================
   WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999 !important;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary-black);
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--primary-black);
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-black);
    transform: translateY(-5px);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Prevent horizontal overflow on all devices */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure container doesn't overflow */
.container {
    max-width: 100%;
}

/* Tablet - Large */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* Tablet */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: auto;
        right: -100%;
        transform: none;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 15px;
        padding: 80px 30px 50px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-fast);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: var(--primary-black);
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-gray);
        display: block;
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Hamburger stays visible and clickable when menu is open */
    .hamburger {
        position: relative;
    }

    .hamburger.active {
        position: fixed;
        top: 15px;
        right: 20px;
        z-index: 1003;
        background: var(--white);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-sm);
    }

    .hamburger.active .bar {
        background: var(--primary-black);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 350px;
    }

    .about-image .image-placeholder {
        height: 350px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 30px;
    }

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .btn-submit {
        grid-column: span 1;
        width: 100%;
    }

    /* Trust badges - 2 columns on tablet */
    .hero-trust-badges {
        gap: 15px;
    }

    .trust-badge {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* Contact CTA adjustments */
    .contact-cta-wrapper {
        padding: 40px 30px;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    /* Service icon size */
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
}

/* Mobile - Large */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Hero buttons stack on mobile-large */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Trust badges stack vertically */
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 30px;
    }

    .trust-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    /* Stats adjustments */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 50px;
    }

    .stat-card {
        width: 170px;
        height: 170px;
    }

    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .stat-card h3 {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    /* Grids to single column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    /* Placeholder heights reduced */
    .about-image .image-placeholder {
        height: 280px;
    }

    .work-placeholder {
        height: 220px;
    }

    .product-image .image-placeholder {
        height: 180px;
    }

    .map-wrapper .map-placeholder {
        height: 280px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    /* Contact section */
    .contact-cta-wrapper {
        padding: 30px 20px;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .whatsapp-cta h3 {
        font-size: 1.5rem;
    }

    .btn-whatsapp {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 10px;
    }

    /* Works filter scrollable */
    .works-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    /* Header adjustments */
    .header {
        padding: 10px 0;
    }

    .nav {
        padding: 0 5px;
    }

    .logo img {
        height: 45px;
    }

    .header.scrolled .logo img {
        height: 40px;
    }

    /* Hide phone number completely */
    .header-phone {
        display: none !important;
    }

    /* Nav actions spacing */
    .nav-actions {
        gap: 8px;
    }

    .lang-switch {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .lang-switch span {
        display: none;
    }

    /* Hero section */
    .hero-text h1 {
        font-size: 1.65rem;
        line-height: 1.35;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        max-width: 100%;
        padding: 12px 24px;
    }

    .btn-subcopy {
        font-size: 0.7rem;
    }

    .hero-scroll {
        display: none;
    }

    /* About features */
    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-text h3 {
        font-size: 1.35rem;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 15px;
    }

    .about-image img {
        height: 280px;
    }

    .about-image .image-placeholder {
        height: 280px;
    }

    /* Stats two column layout on mobile */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 45px;
    }

    .stat-card {
        width: 140px;
        height: 140px;
        margin: 0 auto;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .stat-card h3 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    /* Service cards */
    .service-card {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    /* Works section */
    .work-placeholder {
        height: 200px;
    }

    .work-overlay {
        padding: 20px;
    }

    .work-overlay h3 {
        font-size: 1.1rem;
    }

    .works-filter {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* Products */
    .product-image .image-placeholder {
        height: 160px;
    }

    .product-info {
        padding: 20px 15px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    /* Contact section */
    .info-card {
        padding: 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: 0 auto;
    }

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

    .info-text h3 {
        font-size: 1rem;
    }

    .info-text p {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
    }

    .contact-cta-wrapper {
        padding: 25px 15px;
    }

    .cta-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin-bottom: 20px;
    }

    .whatsapp-cta h3 {
        font-size: 1.25rem;
    }

    .whatsapp-cta p {
        font-size: 0.9rem;
    }

    .btn-whatsapp {
        padding: 14px 25px;
        font-size: 0.95rem;
        width: 100%;
    }

    .btn-whatsapp i {
        font-size: 1.25rem;
    }

    /* Map */
    .map-wrapper .map-placeholder {
        height: 220px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 0;
    }

    .footer-logo {
        height: 50px;
        margin: 0 auto 15px;
    }

    .footer-brand p {
        font-size: 0.9rem;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-links ul li a,
    .footer-services ul li a {
        font-size: 0.9rem;
    }

    .footer-contact ul li {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* Floating buttons */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 15px;
        left: auto;
        font-size: 1.75rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .back-to-top {
        width: 42px;
        height: 42px;
        bottom: 150px;
        right: 15px;
        font-size: 1rem;
    }
}

/* Extra small mobile (320px) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }

    .hero-text h1 {
        font-size: 1.45rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .trust-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .trust-badge i {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.35rem;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* Contact Map */
.contact-map {
    margin-top: var(--spacing-xl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* Hero WhatsApp Button */
.btn-whatsapp-hero {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.btn-whatsapp-hero:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--white);
}

.btn-whatsapp-hero i {
    margin-right: 8px;
    font-size: 1.5rem !important;
}

/* RTL support for hero buttons */
[dir="rtl"] .btn-whatsapp-hero i {
    margin-right: 0;
    margin-left: 8px;
}

/* Hero buttons with icons */
.hero-buttons .btn i {
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .contact-map iframe {
        height: 300px;
    }
}

/* =====================================================
   AOS (ANIMATE ON SCROLL) ANIMATIONS
   ===================================================== */

/* Default AOS animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Fade-up animation */
[data-aos="fade-up"] {
    transform: translate3d(0, 40px, 0);
}

[data-aos="fade-up"].aos-animate {
    transform: translate3d(0, 0, 0);
}

/* Fade-in animation */
[data-aos="fade-in"] {
    opacity: 0;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

/* Slide-up animation */
[data-aos="slide-up"] {
    transform: translate3d(0, 50px, 0);
    opacity: 0;
}

[data-aos="slide-up"].aos-animate {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Service card specific animations with staggered delays */
.service-card[data-aos] {
    transition-property: opacity, transform;
    transition-duration: 800ms;
    transition-timing-function: ease-out;
}

.service-card[data-aos-delay="100"] {
    transition-delay: 100ms;
}

.service-card[data-aos-delay="150"] {
    transition-delay: 150ms;
}

.service-card[data-aos-delay="200"] {
    transition-delay: 200ms;
}

.service-card[data-aos-delay="250"] {
    transition-delay: 250ms;
}

.service-card[data-aos-delay="300"] {
    transition-delay: 300ms;
}

.service-card[data-aos-delay="350"] {
    transition-delay: 350ms;
}

.service-card[data-aos-delay="400"] {
    transition-delay: 400ms;
}

.service-card[data-aos-delay="450"] {
    transition-delay: 450ms;
}

.service-card[data-aos-delay="500"] {
    transition-delay: 500ms;
}

.service-card[data-aos-delay="550"] {
    transition-delay: 550ms;
}
