/* =============================================
   EL EMAN - مكتب الإيمان للمقاولات العامة والأعمال المساحية
   RTL & Brand Override CSS
   ============================================= */

/* ---- Font Override: Arabic Primary ---- */
body {
    font-family: 'Cairo', 'Tajawal', 'Poppins', sans-serif;
    direction: rtl;
    text-align: right;
    background: #f4f6f9;
    color: #4a4a6a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', 'Tajawal', sans-serif;
    font-weight: 700;
}

/* ---- RTL Bootstrap Overrides ---- */
.text-left { text-align: right !important; }
.ml-auto { margin-left: 0 !important; margin-right: auto !important; }
.mr-auto { margin-right: 0 !important; margin-left: auto !important; }

/* ---- Color Palette ---- */
:root {
    --navy: #030f27;
    --orange: #f5a623;
    --orange-dark: #e8941a;
    --white: #ffffff;
    --light-gray: #f4f6f9;
    --text-muted: #6c757d;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background: #030f27;
    height: auto;
    min-height: 70px;
    padding: 10px 0;
}

.top-bar .logo {
    text-align: right;
    padding: 5px 0;
}

.top-bar .logo img {
    max-height: 55px;
    max-width: 220px;
    object-fit: contain;
}

.top-bar .top-bar-item {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

.top-bar .top-bar-text {
    padding-left: 0;
    padding-right: 15px;
    text-align: right;
}

.top-bar .top-bar-text h3 {
    color: #f5a623;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.top-bar .top-bar-text p {
    color: #cfd8e3;
    font-size: 13px;
    direction: ltr;
    text-align: left;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before {
    color: #f5a623;
    font-size: 28px;
}

/* =============================================
   NAV BAR
   ============================================= */
.nav-bar {
    background: #f5a623;
}

.nav-bar .navbar {
    background: #030f27 !important;
    padding: 12px 20px;
}

.nav-bar .navbar-collapse {
    direction: rtl;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff !important;
    padding: 8px 14px !important;
    letter-spacing: 0;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #f5a623 !important;
}

.nav-bar .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #030f27;
    background: #f5a623;
    border: 2px solid #f5a623;
    border-radius: 4px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.nav-bar .btn:hover {
    color: #f5a623;
    background: transparent;
    border-color: #f5a623;
}

.nav-bar .navbar-brand img {
    max-height: 50px;
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    .nav-bar .btn {
        display: block;
        margin-top: 10px;
        width: fit-content;
    }
    .navbar-nav {
        padding: 10px 0;
    }
}

/* =============================================
   HERO / CAROUSEL
   ============================================= */
.carousel .carousel-caption p {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0;
    color: #f5a623;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.carousel .carousel-caption h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    line-height: 1.3;
}

.carousel .carousel-caption .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 17px;
    padding: 14px 40px;
    color: #ffffff;
    background: #f5a623;
    border: 2px solid #f5a623;
    border-radius: 4px;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.carousel .carousel-caption .btn:hover {
    color: #f5a623;
    background: transparent;
    border-color: #f5a623;
}

.carousel .carousel-caption .btn-outline-hero {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    margin-right: 12px;
}

.carousel .carousel-caption .btn-outline-hero:hover {
    background: #ffffff;
    color: #030f27;
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 32px;
    }
    .carousel .carousel-caption p {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 {
        font-size: 26px;
    }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header p {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #f5a623;
    text-transform: none;
    letter-spacing: 0;
}

.section-header h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #030f27;
}

.section-header h2::after {
    background: #f5a623;
}

/* =============================================
   FEATURES / INTRO STRIP
   ============================================= */
.feature {
    background: #030f27;
    padding: 30px 0;
    box-shadow: 0 4px 20px rgba(3,15,39,0.3);
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-left: none;
    border-right: 3px solid #f5a623;
}

.feature-icon [class^="flaticon-"]::before {
    color: #f5a623;
    font-size: 42px;
}

.feature-text {
    padding-right: 15px;
    padding-left: 0;
}

.feature-text h3 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    color: #a0b0c8;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 991.98px) {
    .feature-item {
        border-right: none;
        border-bottom: 2px solid #f5a623;
        margin-bottom: 15px;
    }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about {
    background: #ffffff;
    padding: 60px 0;
}

.about-img img {
    border-radius: 6px;
    box-shadow: 6px 6px 0 #f5a623;
}

.about-text p {
    font-family: 'Cairo', sans-serif;
    line-height: 1.9;
    color: #555;
    font-size: 16px;
}

.about-text .btn,
.btn-primary-elman {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    background: #030f27;
    color: #f5a623;
    border: 2px solid #030f27;
    border-radius: 4px;
    padding: 12px 32px;
    transition: all 0.3s ease;
}

.about-text .btn:hover,
.btn-primary-elman:hover {
    background: #f5a623;
    color: #030f27;
    border-color: #f5a623;
}

/* =============================================
   FACT / STATS SECTION
   ============================================= */
.fact {
    background: #030f27;
}

.fact-left, .fact-right {
    background: #030f27;
}

.fact-icon [class^="flaticon-"]::before {
    color: #f5a623;
}

.fact-text h2 {
    color: #f5a623;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 42px;
}

.fact-text p {
    color: #cfd8e3;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    font-size: 15px;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.service {
    background: #f4f6f9;
    padding: 60px 0;
}

.service-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 30px;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-text h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #030f27;
}

.service-text .btn {
    background: #f5a623;
    color: #030f27;
    border: none;
    font-weight: 700;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.service-text .btn:hover {
    background: #030f27;
    color: #f5a623;
}

.service-overlay {
    background: rgba(3, 15, 39, 0.85);
}

.service-overlay p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
}

/* =============================================
   WHY CHOOSE US (replaces video section)
   ============================================= */
.why-us {
    background: #030f27;
    padding: 60px 0;
}

.why-us .section-header p { color: #f5a623; }
.why-us .section-header h2 { color: #ffffff; }

.why-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border-right: 4px solid #f5a623;
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(245,166,35,0.1);
    transform: translateX(-4px);
}

.why-icon {
    width: 50px;
    min-width: 50px;
    height: 50px;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.why-icon i {
    color: #030f27;
    font-size: 22px;
}

.why-text h4 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-text p {
    color: #a0b0c8;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* =============================================
   PORTFOLIO / PROJECTS
   ============================================= */
.portfolio {
    background: #ffffff;
    padding: 60px 0;
}

#portfolio-flters li {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #030f27;
    border: 2px solid #030f27;
    padding: 5px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 4px;
}

#portfolio-flters li.filter-active,
#portfolio-flters li:hover {
    background: #030f27;
    color: #f5a623;
}

.portfolio-text h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #030f27;
}

.portfolio-overlay {
    background: rgba(3, 15, 39, 0.88);
}

.portfolio-overlay p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #ffffff;
    line-height: 1.8;
}

.portfolio-text .btn {
    background: #f5a623;
    color: #030f27;
    border: none;
    font-weight: 700;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.portfolio-text .btn:hover {
    background: #030f27;
    color: #f5a623;
}

/* =============================================
   FAQs / ACCORDION
   ============================================= */
.faqs {
    background: #f4f6f9;
    padding: 60px 0;
}

.faqs .card {
    border-radius: 6px !important;
    margin-bottom: 10px;
    border: 1px solid #dee2e6;
}

.faqs .card-header {
    background: #ffffff;
    padding: 0;
    border-bottom: none;
}

.faqs .card-link {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #030f27;
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    position: relative;
}

.faqs .card-link::after {
    content: '\f067';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #f5a623;
    font-size: 14px;
}

.faqs .card-link:not(.collapsed)::after {
    content: '\f068';
}

.faqs .card-link:hover {
    color: #f5a623;
    text-decoration: none;
}

.faqs .card-body {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    padding: 15px 20px;
}

/* =============================================
   TESTIMONIALS (hidden - replaced by why us)
   ============================================= */
.testimonial { display: none; }

/* =============================================
   TEAM (hidden - no real team data)
   ============================================= */
.team { display: none; }

/* =============================================
/* BLOG (Re-enabled) */
.blog { 
    background: #ffffff; 
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, #f5a623 0%, #e8941a 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #030f27;
    margin-bottom: 10px;
}

.cta-section p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    color: #030f27;
    margin-bottom: 30px;
    opacity: 0.85;
}

.cta-section .btn-cta {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 17px;
    padding: 14px 40px;
    background: #030f27;
    color: #f5a623;
    border: 2px solid #030f27;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin: 6px;
}

.cta-section .btn-cta:hover {
    background: transparent;
    color: #030f27;
    border-color: #030f27;
}

.cta-section .btn-cta-outline {
    background: transparent;
    color: #030f27;
    border-color: #030f27;
}

.cta-section .btn-cta-outline:hover {
    background: #030f27;
    color: #f5a623;
}

/* =============================================
   VIDEO SECTION (now a CTA background)
   ============================================= */
.video {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(rgba(3,15,39,0.85), rgba(3,15,39,0.85)), url('/frontend/img/carousel-1.jpg') center/cover;
}

.video .container {
    text-align: center;
}

.video-cta h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.video-cta p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    color: #cfd8e3;
    margin-bottom: 30px;
    line-height: 1.8;
}

.video-cta .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 38px;
    margin: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.video-cta .btn-orange {
    background: #f5a623;
    color: #030f27;
    border: 2px solid #f5a623;
}

.video-cta .btn-orange:hover {
    background: transparent;
    color: #f5a623;
}

.video-cta .btn-white {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.video-cta .btn-white:hover {
    background: #ffffff;
    color: #030f27;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    background: linear-gradient(135deg, #030f27 0%, #0a2a5c 100%);
    padding: 70px 0;
}

.page-header h2 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 44px;
    font-weight: 800;
}

.page-header h2::after {
    background: #f5a623;
}

.page-header a {
    font-family: 'Cairo', sans-serif;
    color: #a0b0c8;
    font-size: 15px;
    transition: color 0.3s;
}

.page-header a:hover {
    color: #f5a623;
}

.page-header a::after {
    content: ' \003E';
    color: #f5a623;
    margin: 0 6px;
}

.page-header a:last-child::after { display: none; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    background: #ffffff;
    padding: 60px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-direction: row;
}

.contact-item i {
    font-size: 28px;
    color: #f5a623;
    margin-left: 15px;
    margin-right: 0;
}

.contact-item [class^="flaticon-"]::before {
    color: #f5a623;
    font-size: 30px;
}

.contact-text {
    text-align: right;
    padding-left: 0;
    padding-right: 20px;
}

.contact-text h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #030f27;
    margin-bottom: 4px;
}

.contact-text p {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #666;
    margin: 0;
}

.contact-form .form-control {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #333;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    background: #f9f9f9;
    text-align: right;
    direction: rtl;
}

.contact-form .form-control:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.25);
    background: #ffffff;
}

.contact-form .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 36px;
    background: #030f27;
    color: #f5a623;
    border: 2px solid #030f27;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .btn:hover {
    background: #f5a623;
    color: #030f27;
    border-color: #f5a623;
}

.contact-map {
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid #f5a623;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 28px;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.whatsapp-btn i {
    margin-left: 8px;
    margin-right: 0;
    font-size: 20px;
}

.whatsapp-btn:hover {
    background: #1da851;
    color: #ffffff;
    text-decoration: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #030f27;
    padding: 50px 0 0;
}

.footer-contact h2,
.footer-link h2,
.newsletter h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(245,166,35,0.3);
}

.footer-contact p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #a0b0c8;
    line-height: 2;
    margin-bottom: 8px;
}

.footer-contact p i {
    color: #f5a623;
    margin-left: 8px;
    margin-right: 0;
    width: 16px;
}

.footer-link a {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #a0b0c8;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-link a:hover {
    color: #f5a623;
    padding-right: 5px;
}

.footer-link a::before {
    content: '← ';
    color: #f5a623;
    font-size: 12px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245,166,35,0.15);
    color: #f5a623;
    border-radius: 50%;
    margin-left: 8px;
    margin-right: 0;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-social a:hover {
    background: #f5a623;
    color: #030f27;
}

.newsletter p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #a0b0c8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.newsletter .form-control {
    font-family: 'Cairo', sans-serif;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(245,166,35,0.3);
    color: #ffffff;
    border-radius: 4px 0 0 4px;
    text-align: right;
}

.newsletter .form-control::placeholder {
    color: #7a8fa6;
}

.newsletter .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: #f5a623;
    box-shadow: none;
    color: #ffffff;
}

.newsletter .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    background: #f5a623;
    color: #030f27;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 18px;
    transition: all 0.3s ease;
}

.newsletter .btn:hover {
    background: #e8941a;
}

.footer-menu {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-menu .f-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-menu .f-menu a {
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    color: #7a8fa6;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-menu .f-menu a:hover {
    color: #f5a623;
}

.copyright {
    margin-top: 15px;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.copyright p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #7a8fa6;
    margin: 0;
}

.copyright a {
    color: #f5a623;
    font-weight: 600;
}

.copyright a:hover {
    color: #ffffff;
}

/* =============================================
   ABOUT PAGE SPECIFIC
   ============================================= */
.values-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 4px solid #f5a623;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.values-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.values-card .val-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #030f27, #0a2a5c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.values-card .val-icon i {
    font-size: 26px;
    color: #f5a623;
}

.values-card h4 {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #030f27;
    margin-bottom: 10px;
}

.values-card p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #777;
    line-height: 1.8;
    margin: 0;
}

/* Mission / Vision boxes */
.mission-box {
    background: linear-gradient(135deg, #030f27, #0a2a5c);
    border-radius: 8px;
    padding: 35px 30px;
    margin-bottom: 20px;
}

.mission-box h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 12px;
}

.mission-box p {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #cfd8e3;
    line-height: 1.9;
    margin: 0;
}

/* =============================================
   SERVICE PAGE SPECIFIC
   ============================================= */
.service-detail-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.14);
}

.service-detail-card .svc-icon {
    background: linear-gradient(135deg, #030f27, #0a2a5c);
    padding: 30px;
    text-align: center;
}

.service-detail-card .svc-icon i {
    font-size: 50px;
    color: #f5a623;
}

.service-detail-card .svc-icon [class^="flaticon-"]::before {
    font-size: 60px;
    color: #f5a623;
    margin: 0;
}

.service-detail-card .svc-body {
    padding: 25px;
}

.service-detail-card .svc-body h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #030f27;
    margin-bottom: 10px;
}

.service-detail-card .svc-body p {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.85;
    margin-bottom: 15px;
}

.service-detail-card .svc-body .btn-more {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #030f27;
    border: 2px solid #030f27;
    border-radius: 4px;
    padding: 8px 20px;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-detail-card .svc-body .btn-more:hover {
    background: #f5a623;
    border-color: #f5a623;
    color: #030f27;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    background: #f5a623;
    color: #030f27;
    border-radius: 4px;
}

.back-to-top:hover {
    background: #030f27;
    color: #f5a623;
}

/* =============================================
   GENERAL ARABIC TYPOGRAPHY
   ============================================= */
p, li, td, th, label, input, textarea, select, button, a {
    font-family: 'Cairo', 'Tajawal', 'Poppins', sans-serif;
}

/* Placeholders */
::placeholder {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

/* =============================================
   LOAD MORE BUTTON
   ============================================= */
.load-more .btn {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 36px;
    background: #030f27;
    color: #f5a623;
    border: 2px solid #030f27;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.load-more .btn:hover {
    background: #f5a623;
    color: #030f27;
    border-color: #f5a623;
}

/* =============================================
   RESPONSIVE FIXES
   ============================================= */
@media (max-width: 767.98px) {
    .section-header h2 { font-size: 28px; }
    .cta-section h2 { font-size: 28px; }
    .video-cta h2 { font-size: 28px; }
    .page-header h2 { font-size: 32px; }
    .about-img { margin-bottom: 30px; }
    .why-item { flex-direction: column; align-items: flex-start; }
    .why-icon { margin-bottom: 10px; }
}

@media (max-width: 575.98px) {
    .top-bar { min-height: 60px; }
    .top-bar .logo img { max-height: 45px; }
}

/* =============================================
   CONTACT FORM STYLES
   ============================================= */
.contact-form .form-control {
    padding: 15px;
    background: #ffffff !important;
    border: 1px solid #a0aab5 !important;
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
    color: #4a4a6a;
    height: auto;
    font-size: 15px;
}

.contact-form .form-control:focus {
    border-color: #f5a623 !important;
    box-shadow: 0 0 5px rgba(245, 166, 35, 0.3);
    background: #ffffff;
    outline: none;
}

.contact-form select.form-control {
    padding-right: 15px;
    padding-left: 30px;
}

.contact-form .btn {
    background: #030f27;
    color: #f5a623;
    border: 2px solid #030f27;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'Cairo', sans-serif;
}

.contact-form .btn:hover {
    background: #f5a623;
    color: #030f27;
    border-color: #f5a623;
}

/* =============================================
   CONTACT OVERRIDES - beat template specificity
   (template styles contact for dark bg; site uses light bg)
   ============================================= */
.contact .contact-item {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 30px;
    padding: 0;
    border: none;
}

.contact .contact-item i {
    font-size: 28px;
    color: #f5a623;
    margin-left: 15px;
    margin-right: 0;
}

.contact .contact-item [class^="flaticon-"]::before {
    margin: 0;
    color: #f5a623;
    font-size: 30px;
}

.contact .contact-text {
    text-align: right;
    padding-left: 0;
    padding-right: 20px;
}

.contact .contact-text h2 {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #030f27;
    margin-bottom: 4px;
}

.contact .contact-text p {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #666;
    margin: 0;
}

.contact .contact-text a {
    color: inherit;
}

/* Nested form columns must not inherit template dark/yellow panels */
.contact .contact-form .col-md-6,
.contact .contact-form .col-md-6:first-child,
.contact .contact-form .col-md-6:last-child {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}

.contact .contact-form input,
.contact .contact-form textarea,
.contact .contact-form select.form-control {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #333;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    background: #f9f9f9;
    text-align: right;
    direction: rtl;
    height: auto;
    border-width: 1px;
    border-color: #ddd;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus,
.contact .contact-form select.form-control:focus {
    border-color: #f5a623;
    box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.25);
    background: #ffffff;
    color: #333;
}

.contact .contact-form .form-control::placeholder {
    color: #999;
    opacity: 1;
}

.contact .contact-form .form-control::-ms-input-placeholder {
    color: #999;
}

.contact .contact-form .btn,
.contact .contact-form .btn:hover {
    font-family: 'Cairo', sans-serif;
}
