/* ========================================
   Al-Rwad - Premium Arabic RTL Styles
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;900&family=Tajawal:wght@400;500;700;800&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Colors - Gold Theme */
    --color-primary: #C9A227;
    --color-primary-dark: #A68523;
    --color-primary-light: #E8D48A;
    --color-accent: #8B7355;
    --color-dark: #1A1814;
    --color-dark-lighter: #2A2520;
    --color-light: #F5F0E8;
    --color-light-darker: #E8E0D5;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-gold: linear-gradient(135deg, #E8D48A 0%, #C9A227 50%, #A68523 100%);
    --gradient-dark: linear-gradient(135deg, #1A1814 0%, #2A2520 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 24, 20, 0.9) 0%, rgba(42, 37, 32, 0.8) 100%);

    /* Typography */
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;

    /* Font Sizes - Fluid */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 10px 40px rgba(201, 162, 39, 0.3);
    --shadow-glow: 0 0 30px rgba(201, 162, 39, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-toast: 500;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-light);
    overflow-x: hidden;
}

/* RTL Adjustments */
html[dir="rtl"] {
    direction: rtl;
}

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

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

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

ul,
ol {
    list-style: none;
}

/* ========================================
   Accessibility
   ======================================== */
.skip-link {
    position: absolute;
    top: -100%;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    z-index: var(--z-modal);
    border-radius: 0 0 0 var(--radius-md);
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

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

/* ========================================
   Utilities
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(201, 162, 39, 0.1);
    color: var(--color-primary-dark);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(26, 24, 20, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

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

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

.nav-link {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 500;
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-base);
}

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

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: var(--z-fixed);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--gradient-dark);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transition: right var(--transition-slow);
    }

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

    .nav-link {
        font-size: var(--text-xl);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1920&h=1080&fit=crop') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-4xl) 0;
}

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

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: rgba(201, 162, 39, 0.2);
    color: var(--color-primary-light);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid rgba(201, 162, 39, 0.3);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card-icon {
    font-size: var(--text-3xl);
}

.hero-card-text strong {
    display: block;
    font-size: var(--text-xl);
    color: var(--color-primary);
}

.hero-card-text span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.3;
        top: 16px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-cards {
        flex-direction: row;
        justify-content: center;
    }

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

/* ========================================
   Stats Section
   ======================================== */
.stats {
    background: var(--gradient-dark);
    padding: var(--space-3xl) 0;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--color-primary);
    display: inline;
}

.stat-suffix {
    font-size: var(--text-2xl);
    color: var(--color-primary);
    display: inline;
}

.stat-label {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-sm);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Products Section
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

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

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
}

.product-badge {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.product-content {
    padding: var(--space-xl);
    text-align: center;
}

.product-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.product-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   Process Section
   ======================================== */
.process {
    background: var(--color-light-darker);
}

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

.process-step {
    position: relative;
    text-align: center;
    padding: var(--space-xl);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: var(--text-2xl);
    font-weight: 900;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-gold);
}

.step-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.step-line {
    position: absolute;
    top: 50px;
    left: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    z-index: 0;
}

.process-step:first-child .step-line {
    display: none;
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .step-line {
        display: none;
    }
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-gold);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

.feature-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

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

/* ========================================
   Gallery Section
   ======================================== */
.gallery {
    background: var(--color-light-darker);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 24, 20, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.gallery-overlay span {
    color: var(--color-white);
    font-weight: 600;
}

.gallery-item-lg {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

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

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--gradient-dark);
}

.testimonials .section-badge {
    background: rgba(201, 162, 39, 0.2);
    color: var(--color-primary-light);
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
    color: var(--color-primary);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

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

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

.author-info strong {
    display: block;
    color: var(--color-white);
}

.author-info span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition-base);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-dark);
    text-align: right;
    transition: color var(--transition-base);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

.contact-icon {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-xs);
}

.contact-details p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

.contact-details a {
    color: var(--color-primary-dark);
    transition: color var(--transition-base);
}

.contact-details a:hover {
    color: var(--color-primary);
}

.contact-social h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-light-darker);
    border-radius: var(--radius-full);
    color: var(--color-dark);
    transition: all var(--transition-base);
}

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

/* Contact Map */
.contact-map {
    margin-top: var(--space-lg);
}

.contact-map h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--space-md);
}

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

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-text);
    background: var(--color-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
}

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

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

/* Checkbox styles */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form-checkbox label {
    display: inline;
    margin-bottom: 0;
    font-size: var(--text-sm);
    cursor: pointer;
}

/* Turnstile widget */
.turnstile-wrapper {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-dark);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.8;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
    padding-right: var(--space-sm);
}

.footer-bottom {
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    left: var(--space-xl);
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* ========================================
   Toast Notification
   ======================================== */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: var(--color-dark);
    color: var(--color-white);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    z-index: var(--z-toast);
    transform: translateX(calc(100% + var(--space-xl)));
    transition: transform var(--transition-base);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-right: 4px solid var(--color-success);
}

.toast.error {
    border-right: 4px solid var(--color-error);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--color-success);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
}

.toast.error .toast-icon {
    background: var(--color-error);
}

/* ========================================
   Animations
   ======================================== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.animate-fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Custom Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light-darker);
}

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

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

/* ========================================
   Print Styles
   ======================================== */
@media print {

    .header,
    .whatsapp-float,
    .toast,
    .hero-scroll {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .hero-overlay {
        background: none;
    }

    .hero-title,
    .section-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}