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

:root {
    --primary-color: #0d2c54;
    /* Darker, more corporate blue */
    --secondary-color: #1b4d89;
    --accent-color: #c9ab81;
    /* Gold/Champagne accent for professionalism */
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-soft: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Official Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    padding: 5px 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 0;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

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

.btn-official {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    /* Sharper corners for official look */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-official:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}

/* Desktop: keep navbar layout unchanged (collapse area = one row) */
@media (min-width: 992px) {
    .nav-container.navbar {
        flex-wrap: nowrap;
    }
    .nav-container.navbar .navbar-collapse {
        display: flex !important;
        flex: 1;
        justify-content: space-between;
        align-items: center;
    }
}

/* Mobile only: hamburger + collapsible menu */
@media (max-width: 991.98px) {
    .nav-mobile-toggler {
        border: 1px solid var(--border-color);
        padding: 0.4rem 0.65rem;
        border-radius: 4px;
    }
    .nav-mobile-toggler .navbar-toggler-icon {
        width: 1.25rem;
        height: 1.25rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d2c54' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .nav-container .navbar-collapse {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .nav-container .navbar-collapse .nav-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 0 0 12px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-container .navbar-collapse .auth-buttons {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }
    .nav-container .navbar-collapse .nav-link {
        padding: 6px 0;
        font-size: 0.95rem;
    }
}

/* Hero Section - More Structured */
.hero-section {
    position: relative;
    height: 650px;
    background-color: var(--primary-color);
}

.carousel-item {
    height: 650px;
    background-size: cover;
    background-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 44, 84, 0.7);
    /* Using primary color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

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

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

.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
}

/* Official Cards */
.official-card {
    background: white;
    padding: 40px;
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    height: 100%;
}

.official-card:hover {
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

/* Footer - Clean and Bold */
footer {
    background: #111;
    color: #ddd;
    padding: 80px 0 30px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 30px;
    font-weight: 700;
    border-right: 4px solid var(--accent-color);
    padding-right: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Utility Classes */
.bg-official-soft {
    background-color: var(--bg-soft);
}

.text-official-primary {
    color: var(--primary-color);
}

.border-official {
    border: 1px solid var(--border-color);
}

.rounded-official {
    border-radius: 4px;
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Shipping Process & Icons */
.process-icon-wrap {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: var(--transition);
}

.process-icon-wrap:hover {
    background: var(--primary-color);
}

.process-icon-wrap:hover i {
    color: white !important;
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    box-shadow: var(--shadow-sm);
}

.icon-box-small {
    min-width: 45px;
    height: 45px;
    background: var(--bg-soft);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
}

.process-timeline {
    position: relative;
}

@media (min-width: 992px) {
    .process-timeline::after {
        content: '';
        position: absolute;
        top: 25%;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--border-color);
        z-index: -1;
    }
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: scale(1.05);
    color: white;
}