/* ============================================
   SYRIA FIREWORKS COMPANY - Main Stylesheet
   ============================================ */

/* ----- CSS VARIABLES ----- */
:root {
    --clr-dark: #0a0a12;
    --clr-dark-2: #12121e;
    --clr-dark-3: #1a1a2e;
    --clr-dark-4: #16213e;
    --clr-primary: #e63946;
    --clr-primary-light: #ff6b6b;
    --clr-primary-dark: #b71c1c;
    --clr-accent: #ffd700;
    --clr-accent-2: #ff6b35;
    --clr-gold: #fca311;
    --clr-purple: #6c63ff;
    --clr-purple-dark: #2d1b69;
    --clr-cyan: #00d4ff;
    --clr-pink: #ff2d78;
    --clr-green: #00e676;
    --clr-white: #ffffff;
    --clr-gray: #b0b0b0;
    --clr-gray-light: #e0e0e0;
    --clr-gray-dark: #555555;
    --clr-bg: #08080f;
    --clr-bg-section: #0d0d1a;
    --clr-bg-card: rgba(26, 26, 46, 0.6);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Tajawal', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.3);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-max: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg);
    color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--clr-primary);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--clr-bg-section);
}

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--clr-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary-light);
}

/* ----- SELECTION ----- */
::selection {
    background: var(--clr-primary);
    color: var(--clr-white);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--transition-base);
    height: var(--header-height);
}

.header.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-white) !important;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-2));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 0 25px rgba(230, 57, 70, 0.8); }
}

.logo-highlight {
    color: var(--clr-primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-gray);
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-base);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    transition: width var(--transition-base);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-white);
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 16px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
}

.lang-toggle:hover {
    border-color: var(--clr-primary);
}

.lang-toggle span {
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.lang-toggle span.active {
    opacity: 1;
    color: var(--clr-primary);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #050508 0%, #0a0a18 30%, #0d0d2b 60%, #1a0533 100%);
}

#fireworks-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(5, 5, 8, 0.4) 50%, rgba(5, 5, 8, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--clr-white) 0%, var(--clr-primary) 50%, var(--clr-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    line-height: 1.15;
}

.hero-title-arabic {
    display: block;
    font-family: var(--font-arabic);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--clr-accent);
    margin-top: 8px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--clr-gray);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: var(--clr-white);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6);
    color: var(--clr-white);
}

.btn-outline {
    background: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(252, 163, 17, 0.2);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--clr-gray);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2s ease-in-out infinite;
}

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

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-primary);
    background: rgba(230, 57, 70, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: 16px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--clr-primary);
    font-size: 1rem;
}

.section-divider span {
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
    border-radius: 1px;
}

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

.about-text {
    color: var(--clr-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    -webkit-text-fill-color: var(--clr-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--clr-gray);
    margin-top: 8px;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-frame {
    width: 400px;
    height: 500px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--clr-dark-3), var(--clr-purple-dark));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-image-frame > i {
    position: absolute;
    font-size: 12rem;
    opacity: 0.05;
    color: var(--clr-primary);
}

.about-image-placeholder {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    perspective: 1200px;
}

.product-card {
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: cardEntrance 0.6s ease forwards;
    opacity: 0;
}

/* Staggered entrance */
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

/* Animated border glow on hover */
.product-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, transparent, rgba(230, 57, 70, 0.3), transparent, rgba(252, 163, 17, 0.3), transparent);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s ease infinite;
}

.product-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    border-color: transparent;
    box-shadow: var(--shadow-lg), var(--shadow-glow), 0 0 40px rgba(230, 57, 70, 0.15);
}

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

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

/* Shimmer overlay on hover */
.product-card .card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.product-card:hover .card-shimmer {
    left: 100%;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(252, 163, 17, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--clr-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(230, 57, 70, 0.2);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-card:hover .product-icon {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-2));
    color: var(--clr-white);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.4);
}

.product-card:hover .product-icon::after {
    opacity: 1;
    inset: -6px;
    border-color: rgba(230, 57, 70, 0.4);
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.product-card:hover .product-title {
    background: linear-gradient(135deg, var(--clr-white), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-desc {
    color: var(--clr-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    transition: color var(--transition-base);
}

.product-card:hover .product-desc {
    color: var(--clr-gray-light);
}

.product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-top: 16px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-badge:first-of-type {
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
    color: var(--clr-dark);
}

.product-card:last-child .product-badge {
    background: linear-gradient(135deg, var(--clr-purple), var(--clr-pink));
    color: var(--clr-white);
}

.product-card:hover .product-badge {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

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

.service-card {
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: cardEntrance 0.6s ease forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

/* Staggered entrance */
.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.15s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.25s; }

/* Accent line at bottom */
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-purple), var(--clr-primary), transparent);
    transition: transform 0.4s ease;
}

/* Glow border on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, transparent, rgba(108, 99, 255, 0.2), transparent, rgba(230, 57, 70, 0.2), transparent);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s ease infinite;
}

.service-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(2deg);
    border-color: transparent;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(108, 99, 255, 0.15);
}

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

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

.service-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(108, 99, 255, 0.15);
    transform: scale(1.2) translateX(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(-10deg);
    color: var(--clr-purple);
    text-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: all var(--transition-base);
}

.service-card:hover .service-title {
    background: linear-gradient(135deg, var(--clr-white), var(--clr-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-desc {
    color: var(--clr-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    transition: color var(--transition-base);
}

.service-card:hover .service-desc {
    color: var(--clr-gray-light);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    transition: all var(--transition-slow);
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-overlay i {
    font-size: 1.2rem;
    color: var(--clr-primary);
}

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

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-card:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateX(5px);
}

.contact-card i {
    width: 44px;
    height: 44px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-gray);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.contact-card p {
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--clr-gray);
    transition: all var(--transition-base);
}

.contact-social a:hover {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--clr-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 36px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--clr-gray-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--clr-white);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary);
    background: rgba(230, 57, 70, 0.05);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--clr-gray-dark);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23b0b0b0' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--clr-dark-3);
    color: var(--clr-white);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--clr-dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 64px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    color: var(--clr-gray);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--clr-white);
}

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

.footer-links ul li a {
    color: var(--clr-gray);
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

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

.footer-newsletter h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: var(--clr-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: var(--clr-white);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: var(--clr-gray-dark);
}

.newsletter-form button {
    padding: 14px 20px;
    background: var(--clr-primary);
    border: none;
    color: var(--clr-white);
    cursor: pointer;
    transition: background var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--clr-primary-dark);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: var(--clr-gray-dark);
    font-size: 0.85rem;
}

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

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
    color: var(--clr-white);
}

.whatsapp-tooltip {
    position: absolute;
    left: 70px;
    background: var(--clr-dark-3);
    color: var(--clr-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    font-family: 'Tajawal', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 6px 6px 6px 0;
    border-color: transparent var(--clr-dark-3) transparent transparent;
}

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

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 35px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        left: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6);
    color: var(--clr-white);
}

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

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

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

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

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

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

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

/* Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(20px);
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 18, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition-base);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .lang-toggle {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
    }

    .hero-title-line {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .about-image-frame {
        width: 100%;
        height: 350px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

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

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

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

    .gallery-item--large {
        grid-column: span 2;
        grid-row: span 1;
    }

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

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

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .gallery-item--large {
        grid-column: span 1;
    }

    .contact-form {
        padding: 24px 16px;
    }
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ----- Card Entrance Animation ----- */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ----- Animated Border Glow ----- */
@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ----- Floating Animation for Icons ----- */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ----- Pulse Glow for Badges ----- */
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
}

/* ----- Particle Sparkle Effect for products ----- */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}
