/* ===== General ===== */
:root {
    --primary: #dc3545;
    --primary-dark: #b02a37;
    --dark: #1a1a2e;
    --dark-light: #16213e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    overflow-x: hidden;
}

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

.ls-2 {
    letter-spacing: 2px;
}

/* ===== Navbar ===== */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 46, 0.95) !important;
    transition: all 0.3s ease;
    padding: 12px 0;
}

.navbar.scrolled {
    padding: 6px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem !important;
}

.nav-link {
    font-weight: 600;
    padding: 8px 16px !important;
    transition: color 0.3s;
}

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

/* ===== Hero ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/6169668/pexels-photo-6169668.jpeg?auto=compress&cs=tinysrgb&w=1260') center/cover no-repeat;
    opacity: 0.1;
}

.hero-img {
    max-height: 450px;
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.z-1 {
    z-index: 1;
}

/* ===== Partners ===== */
.partner-badge {
    display: inline-block;
    padding: 6px 24px;
    background: #f8f9fa;
    border-radius: 50px;
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

/* ===== Features ===== */
.feature-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ===== Steps ===== */
.step-card {
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 50%;
    transform: translateX(50%);
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

/* ===== Services ===== */
.service-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s;
}

.service-card:hover .service-icon-wrap {
    background: var(--primary);
    color: #fff;
}

/* ===== How We Work (Timeline) ===== */
.timeline-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    border-color: var(--primary);
    background: rgba(220, 53, 69, 0.05);
    transform: translateY(-5px);
}

.timeline-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    opacity: 0.8;
}

/* ===== About ===== */
.about-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
    background-size: 100px;
}

/* ===== Footer ===== */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

/* ===== Buttons ===== */
.btn-danger {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.35);
}

.btn-outline-light {
    font-weight: 600;
    border-radius: 8px;
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }

    .hero-section .d-flex {
        justify-content: center;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-5,
    .display-6 {
        font-size: 1.6rem;
    }
}

@media (max-width: 575.98px) {
    .step-card, .feature-card, .service-card {
        padding: 24px !important;
    }

    .btn-lg {
        padding: 10px 28px !important;
        font-size: 0.95rem;
    }
}
