/* ========== VARIABLES & BASE STYLES ========== */
:root {
    --primary: #10b981;
    /* Trust Green */
    --primary-dark: #059669;
    --secondary: #2563eb;
    /* Safe Blue */
    --secondary-dark: #1d4ed8;
    --dark: #0f172a;
    /* Deep Slate */
    --dark-light: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== LAYOUT ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.text-white {
    color: var(--bg-white) !important;
}

.text-white h2 {
    color: var(--bg-white) !important;
}

.text-white p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-center {
    text-align: center;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-contact {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-btn {
    color: var(--primary);
    background-color: rgba(16, 185, 129, 0.1);
}

.whatsapp-btn:hover {
    background-color: var(--primary);
    color: white;
}

.call-btn {
    color: white;
    background-color: var(--secondary);
}

.call-btn:hover {
    background-color: var(--secondary-dark);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    padding: 10rem 0 7rem;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: var(--transition);
}

.cta-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.cta-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-secondary:hover {
    background-color: white;
    color: var(--dark);
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.urgency-text {
    font-size: 0.9rem;
    color: #fca5a5;
    font-weight: 600;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ========== SERVICES ========== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--secondary);
    color: white;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ========== WHY CHOOSE US ========== */
.why-us {
    background-color: var(--bg-white);
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.wu-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 16px;
    border-top: 4px solid transparent;
    transition: var(--transition);
    border-left: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.wu-card:hover {
    background: var(--bg-white);
    border-top-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.wu-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.wu-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.wu-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    background-color: var(--dark);
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    color: white;
    width: 30%;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0.2);
}

.step-card h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.step-line {
    position: absolute;
    top: 30px;
    height: 2px;
    background: dashed 2px rgba(255, 255, 255, 0.2);
    width: 25%;
    z-index: 1;
}

.step-line:nth-of-type(2) {
    left: 20%;
}

.step-line:nth-of-type(4) {
    right: 20%;
}

/* ========== TRUST & SAFETY ========== */
.trust-safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ts-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ts-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.ts-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.ts-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ts-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background-color: var(--bg-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.test-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stars {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.test-card p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.client-info span {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========== FAQ ========== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ========== FINAL CTA ========== */
.final-cta {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
    padding: 6rem 0;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.bg-white {
    background-color: var(--bg-white) !important;
    color: var(--secondary) !important;
}

.text-blue {
    color: var(--secondary) !important;
}

.border-white {
    border-color: var(--bg-white) !important;
}

.hover-bg-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-col {
    max-width: 300px;
}

.footer-col .logo {
    margin-bottom: 1rem;
}

.text-right {
    text-align: left;
}

.footer-bottom {
    font-size: 0.9rem;
}

/* ========== STICKY MOBILE CTA ========== */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.mobile-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.mobile-btn.whatsapp {
    background-color: var(--primary);
}

.mobile-btn.call {
    background-color: var(--secondary);
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 900px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .trust-safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-contact span {
        display: none;
    }

    .nav-btn {
        padding: 0.5rem;
    }

    .hero {
        padding: 8rem 0 5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .step-card {
        width: 100%;
        max-width: 300px;
    }

    .hidden-mobile {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .text-right {
        text-align: center;
        max-width: 100%;
    }

    .footer-col {
        max-width: 100%;
    }

    /* Reveal Sticky mobile CTA safely */
    body {
        padding-bottom: 60px;
    }
}

@media (min-width: 769px) {
    .sticky-mobile-cta {
        display: none;
    }
}