/* =============================== */
/* COLORS */
/* =============================== */
:root {
    --navy: #1E2A4C;      /* Main navy blue */
    --gold: #D4AF79;      /* Accent gold */
}

/* =============================== */
/* GENERAL STYLING */
/* =============================== */
body {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Change Bootstrap colors to match our brand */
.text-primary, 
.bi.text-primary {
    color: var(--navy) !important;
}

.fs-1.text-primary,
.display-4.text-primary {
    color: var(--gold) !important;
}
/* =============================== */
/* TYPOGRAPHY */
/* =============================== */

/* Arabic text uses Cairo font */
.lang-ar {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 500;
    line-height: 1.6;
}

/* Make Arabic navigation bigger */
.navbar .nav-link .lang-ar {
    font-size: 1.25em !important;
    font-weight: 700 !important;
}

/* Arabic long text (descriptions, paragraphs) uses Sakkal Majalla */
.lang-ar.long-text {
    font-family: 'Sakkal Majalla', 'Cairo', sans-serif !important;
    font-size: 1.2em;
    line-height: 1.8;
    font-weight: 400;
}

/* =============================== */
/* NAVIGATION */
/* =============================== */
.navbar .nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Language switcher buttons */
.lang-switcher .btn {
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    font-weight: 600;
    font-size: 0.75rem;
    color: #6c757d;
    background-color: white;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lang-switcher .btn:hover {
    color: var(--gold);
    background-color: #fefefe;
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lang-switcher .btn.active {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
    box-shadow: 0 2px 8px rgba(212, 175, 121, 0.3);
}

.lang-switcher .btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 121, 0.2);
}

/* =============================== */
/* BUTTONS */
/* =============================== */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #c5a06a;
    border-color: #c5a06a;
    color: white;
    transform: translateY(-2px);
}

/* =============================== */
/* HERO SECTION */
/* =============================== */
.hero-section {
    background: #f8f9fa;
    color: var(--navy);
    min-height: 70vh;
    border-bottom: 1px solid #e9ecef;
}

.hero-section h1 {
    color: var(--navy);
}

.hero-section .lead {
    color: #6c757d;
}

/* =============================== */
/* CARDS & COMPONENTS */
/* =============================== */

/* Feature cards */
.client-profile-card {
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.client-profile-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Testimonial cards */
.testimonial-card {
    border-left: 4px solid var(--gold);
    height: 100%;
}

/* Blog cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.blog-card .btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.blog-card .btn-link:hover {
    color: var(--navy);
}

/* =============================== */
/* PRICING SECTION */
/* =============================== */
#pricing .card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

#pricing .card:hover {
    transform: scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

#pricing .popular-plan {
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

#pricing .card-price {
    font-size: 3rem;
    color: var(--navy);
    margin: 0;
}

#pricing .card-price .period {
    font-size: 0.8rem;
    color: #6c757d;
}

/* =============================== */
/* CLIENT AREA TABS */
/* =============================== */
#clientAreaTabs .nav-link {
    font-weight: 600;
    color: #6c757d !important;
    border-color: transparent;
    transition: all 0.3s ease;
}

#clientAreaTabs .nav-link:hover {
    color: var(--gold) !important;
    border-color: var(--gold);
}

#clientAreaTabs .nav-link.active {
    color: var(--gold) !important;
    border-color: var(--gold) var(--gold) white;
    border-bottom-width: 3px;
}

/* =============================== */
/* CONTACT & MAP */
/* =============================== */
.map-placeholder {
    height: 100%;
    min-height: 300px;
    background-color: var(--navy);
    border-radius: 0.375rem;
    color: white;
    font-size: 1.5rem;
}

/* =============================== */
/* FOOTER */
/* =============================== */
.footer-dark {
    background-color: var(--navy);
    color: white;
}

.footer-dark h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-dark a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-dark a:hover {
    color: var(--gold);
}

.footer-dark .social-icon {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

.footer-dark .social-icon:hover {
    color: var(--gold);
}

.footer-dark .social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-dark hr {
    border-color: rgba(255,255,255,0.2);
}

/* Force all footer text to be white */
.footer-dark,
.footer-dark *,
.footer-dark p,
.footer-dark .small,
.footer-dark .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

@media (min-width: 992px) {
    .navbar .nav-link .lang-ar {
        font-size: 1.3em !important;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar .nav-link .lang-ar {
        font-size: 1.25em !important;
    }
}
@media (max-width: 767.98px) {
    .navbar .nav-link .lang-ar {
        font-size: 1.2em !important;
    }
    
    .navbar-collapse .navbar-nav .nav-link {
        padding: 0.75rem 0;
        text-align: center;
    }
    
    .hero-section {
        min-height: 60vh;
    }
}