/*
Theme Name: Maruf Khan Transport
Theme URI: https://marufkhantransport.ae
Author: Maruf Khan Transport
Author URI: https://marufkhantransport.ae
Description: Official Corporate Logistics, Heavy Transport & Equipment Rental WordPress Theme for Maruf Khan Transport, Abu Dhabi, UAE. Built with full UAE compliance (ICV, CICPA, Abu Dhabi Ports, DOT/ITC regulations), Home, About, Services, Fleet, Quote Booking, Contact, Privacy Policy, Terms & Cookies pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maruf-khan-transport
*/

:root {
    --primary: #D81324;
    --primary-dark: #b00e1c;
    --secondary: #0B2154;
    --secondary-light: #13327a;
    --light: #F2F2F2;
    --dark: #111111;
    --text-muted: #596275;
    --border-color: #e5e7eb;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-muted);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 85px 0;
}

.bg-light {
    background-color: var(--light);
}

.bg-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

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

.text-secondary {
    color: var(--secondary) !important;
}

.text-white {
    color: var(--white) !important;
}

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

/* Section Headers */
.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

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

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary);
}

/* Topbar */
.topbar {
    background-color: var(--light);
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--secondary);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.topbar-item i {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 30px;
    height: 30px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Main Header & Navbar */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 82px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 3px;
}

.brand-text h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-text span {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--secondary);
    padding: 28px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    font-size: 20px;
    cursor: pointer;
}

/* Hero Slider */
.hero-section {
    position: relative;
    height: 640px;
    overflow: hidden;
    background: var(--secondary);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 33, 84, 0.90) 0%, rgba(11, 33, 84, 0.65) 55%, rgba(11, 33, 84, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-prev { left: 25px; }
.slider-next { right: 25px; }

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background: var(--primary);
    width: 48px;
}

/* 6 Core Service Boxes */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 36px 30px;
    border: 1px solid var(--border-color);
    border-bottom: 4px solid var(--secondary);
    transition: all 0.35s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 33, 84, 0.1);
    border-bottom-color: var(--primary);
}

.service-card.featured {
    background: var(--light);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(216, 19, 36, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
    transition: 0.3s;
}

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

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    margin-bottom: 18px;
}

.service-link {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 55px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 3px;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 26px 32px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(216, 19, 36, 0.35);
}

.experience-badge .num {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.experience-badge .txt {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-features {
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-num {
    min-width: 46px;
    height: 46px;
    background: var(--light);
    color: var(--secondary);
    font-weight: 800;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 3px solid var(--primary);
}

.about-feature-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.about-feature-item p {
    font-size: 14.5px;
}

/* Fact Counters */
.facts-section {
    background: linear-gradient(rgba(11, 33, 84, 0.92), rgba(11, 33, 84, 0.92)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
    padding: 70px 0;
    color: var(--white);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.fact-item i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 14px;
}

.fact-number {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 6px;
}

.fact-label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
}

/* Interactive Fleet Tabs */
.fleet-tabs-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 35px;
    align-items: start;
}

.fleet-tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fleet-tab-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 24px;
    background: var(--light);
    border: none;
    border-left: 4px solid transparent;
    text-align: left;
    font-family: 'Barlow', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: 0.3s;
}

.fleet-tab-btn i {
    font-size: 22px;
    color: var(--primary);
    width: 28px;
}

.fleet-tab-btn.active,
.fleet-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-left-color: var(--secondary);
}

.fleet-tab-btn.active i,
.fleet-tab-btn:hover i {
    color: var(--white);
}

.fleet-tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 30px;
    align-items: center;
}

.fleet-tab-panel.active {
    display: grid;
}

.fleet-tab-panel img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 3px;
}

.fleet-checklist {
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fleet-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.fleet-checklist i {
    color: var(--primary);
}

/* Booking & Quote Section */
.booking-section {
    background: linear-gradient(rgba(11, 33, 84, 0.90), rgba(11, 33, 84, 0.90)),
                url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: var(--white);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.booking-form-box {
    background: var(--primary);
    padding: 45px 40px;
    border-radius: 3px;
}

.booking-form-box h3 {
    color: var(--white);
    font-size: 30px;
    margin-bottom: 24px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: var(--white);
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    border-radius: 2px;
}

.form-control:focus {
    outline: 2px solid var(--secondary);
}

.btn-book-submit {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-book-submit:hover {
    background: #071638;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--light);
    padding: 32px;
    border-top: 4px solid var(--primary);
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dark);
}

.client-info h4 {
    font-size: 17px;
    color: var(--secondary);
}

.client-info span {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

/* UAE Certifications Strip */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 28px 20px;
    text-align: center;
    transition: 0.3s;
}

.cert-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.cert-box i {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 14px;
}

.cert-box h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.cert-box p {
    font-size: 13.5px;
}

/* Page Banner (Subpages) */
.page-header {
    background: linear-gradient(rgba(11, 33, 84, 0.88), rgba(11, 33, 84, 0.88)),
                url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1600&q=80') center/cover;
    padding: 75px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--primary);
}

/* Legal & Policy Content */
.legal-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 45px;
    line-height: 1.8;
}

.legal-box h2 {
    font-size: 24px;
    margin: 28px 0 12px;
    color: var(--secondary);
    border-bottom: 2px solid var(--light);
    padding-bottom: 8px;
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

/* Footer */
.site-footer {
    background: linear-gradient(rgba(11, 33, 84, 0.96), rgba(11, 33, 84, 0.96)),
                url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #cbd5e1;
    padding-top: 75px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr 1fr;
    gap: 35px;
    padding-bottom: 55px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 3px;
    background: var(--primary);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14.5px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

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

.footer-links a {
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
}

.newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Floating WhatsApp & Back to Top */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 16px 20px;
    z-index: 1001;
    border-top: 3px solid var(--primary);
    display: none;
}

.cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Alert Notice */
.form-alert {
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 2px;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #16a34a;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid,
    .testimonials-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .booking-grid,
    .fleet-tabs-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .mobile-toggle { display: block; }
    .nav-actions .btn { display: none; }
    .nav-menu {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a {
        padding: 15px 25px;
        width: 100%;
        border-bottom: 1px solid var(--light);
    }
    .hero-title { font-size: 36px; }
    .hero-section { height: 540px; }
    .services-grid,
    .facts-grid,
    .testimonials-grid,
    .cert-grid,
    .footer-grid,
    .fleet-tab-panel.active,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        right: 10px;
        top: 10px;
        padding: 16px 20px;
    }
}
