/* ============================================================
   Fast Fuel Delivery - Master Stylesheet
   Premium Corporate Theme
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    /* Primary Colors */
    --primary: #0f3460;
    --primary-dark: #0a2340;
    --primary-light: #1a4f8a;
    --primary-rgb: 15, 52, 96;

    /* Accent Colors */
    --accent: #ff7a00;
    --accent-dark: #e06800;
    --accent-light: #ff9a33;
    --accent-rgb: 255, 122, 0;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --dark: #0b1526;
    --body-bg: #f5f7fa;

    /* Status Colors */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --card-radius: 12px;
    --btn-radius: 8px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(10px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.ff-navbar {
    background: var(--white);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: var(--transition);
}

.ff-navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: var(--glass-blur);
}

.ff-navbar .navbar-brand {
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 60px);
    overflow: hidden;
}

.ff-navbar .navbar-brand img {
    height: 50px;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.site-brand-name, .brand-text-name {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    max-width: 280px;
    letter-spacing: -0.3px;
    transition: var(--transition);
}

.sidebar-brand .site-brand-name {
    max-width: 180px;
    font-size: 1.1rem;
}

.ff-navbar .nav-link {
    color: var(--gray-800) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 12px !important;
    white-space: nowrap !important;
    position: relative;
    transition: var(--transition);
}

.ff-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

.ff-navbar .nav-link:hover::after,
.ff-navbar .nav-link.active::after {
    width: 60%;
}

.btn-book-fuel {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white) !important;
    border: none;
    padding: 6px 18px !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.btn-book-fuel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
    color: var(--white) !important;
}

.btn-login-nav {
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 6px 16px !important;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    transition: var(--transition);
    background: transparent;
}

.btn-login-nav:hover {
    background: var(--primary);
    color: var(--white) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #162a4a 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content h1 span {
    color: var(--accent);
    display: block;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-graphic {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-graphic img {
    max-height: 400px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

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

/* Hero CTA Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.5);
    color: var(--white);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
    padding: 12px 28px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

/* Hero Pill Cards */
.hero-pills {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.hero-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-pill i {
    color: var(--accent);
    font-size: 18px;
}

/* ============================================================
   SECTION COMMON STYLES
   ============================================================ */
.section-padding {
    padding: var(--section-padding);
}

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

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: 2px;
}

.section-title p {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 600px;
    margin: 16px auto 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--primary-rgb), 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

.service-card .service-icon i {
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}

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

.service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-card .learn-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .learn-more i {
    transition: var(--transition);
}

.service-card:hover .learn-more i {
    transform: translateX(4px);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.why-section .section-title h2 {
    color: var(--white);
}

.why-section .section-title h2::after {
    background: var(--accent);
}

.why-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--card-radius);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
}

.why-card .why-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.why-card .why-icon i {
    font-size: 24px;
    color: var(--white);
}

.why-card h6 {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */
.booking-section {
    background: var(--gray-50);
}

.booking-form-wrapper {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.booking-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 50%;
}

.booking-form-wrapper h3 {
    color: var(--white);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.booking-form-wrapper .form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.booking-form .form-control,
.booking-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: var(--btn-radius);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.booking-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
    color: var(--white);
}

.booking-form .form-select option {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-submit-booking {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.4);
    color: var(--white);
}

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.stats-section {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1), rgba(var(--primary-rgb), 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.stat-card .stat-icon i {
    font-size: 22px;
    color: var(--accent);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
    background: var(--gray-50);
}

.gallery-item {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(var(--primary-rgb), 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Gallery Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(var(--accent-rgb), 0.5);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    margin: 10px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(var(--accent-rgb), 0.15);
    margin-bottom: 12px;
}

.testimonial-card .review-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-card .reviewer-info h6 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--gray-900);
}

.testimonial-card .reviewer-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 0.85rem;
}

/* Testimonial Slider */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 33.333%;
    padding: 0 10px;
    flex-shrink: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    width: 30px;
    border-radius: 5px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    background: var(--gray-50);
}

.faq-item {
    background: var(--white);
    border-radius: var(--card-radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

.faq-answer p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    background: var(--white);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--card-radius);
    padding: 40px 30px;
    color: var(--white);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(var(--accent-rgb), 0.1);
    border-radius: 50%;
}

.contact-info-card h4 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-info-card .subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-detail .icon-box {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail .icon-box i {
    color: var(--accent);
    font-size: 16px;
}

.contact-detail h6 {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.contact-detail p, .contact-detail a {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin: 0;
}

.contact-detail a:hover {
    color: var(--accent);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.contact-form .form-control {
    border: 1px solid var(--gray-300);
    border-radius: var(--btn-radius);
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.contact-form label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ff-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.ff-footer h5 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.ff-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.ff-footer .footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

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

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

.ff-footer .footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ff-footer .footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.ff-footer .footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
}

.footer-contact-item span, .footer-contact-item a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

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

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.float-whatsapp {
    background: #25D366;
}

.float-call {
    background: var(--primary);
}

.float-top {
    background: var(--accent);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   COMMON BUTTON STYLES
   ============================================================ */
.btn-primary-ff {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-ff:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
    color: var(--white);
}

.btn-outline-ff {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 10px 24px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    transition: var(--transition);
}

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

/* ============================================================
   AUTH PAGES (LOGIN, REGISTER, FORGOT PASSWORD)
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 76px 20px 40px 20px;
    position: relative;
}

/* App-style Top Navigation Titlebar */
.app-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
}

.appbar-back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-800);
    font-size: 1.15rem;
    transition: var(--transition);
    text-decoration: none;
}

.appbar-back-btn:hover, .appbar-back-btn:active {
    background: rgba(15, 52, 96, 0.08);
    color: var(--accent);
}

.appbar-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray-900);
    letter-spacing: -0.2px;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card .auth-logo img {
    height: 60px;
}

.auth-card h3 {
    text-align: center;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.auth-card .form-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 6px;
}

.auth-card .input-group {
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.auth-card .input-group:hover {
    border-color: #94a3b8;
}

.auth-card .input-group:focus-within {
    border-color: var(--accent, #ff7a00);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.auth-card .input-group-text {
    background: #f1f5f9;
    border: none;
    color: var(--primary, #0f3460);
    font-size: 1rem;
    padding: 12px 16px;
    transition: all 0.25s ease;
}

.auth-card .input-group:focus-within .input-group-text {
    background: rgba(255, 122, 0, 0.12);
    color: var(--accent, #ff7a00);
}

.auth-card .form-control {
    border: none !important;
    background: transparent !important;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    box-shadow: none !important;
}

.auth-card .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.btn-auth {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    transition: var(--transition);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
    color: var(--white);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--accent);
    font-weight: 600;
}

/* ============================================================
   CUSTOMER PANEL
   ============================================================ */
.customer-layout {
    display: flex;
    min-height: 100vh;
    background: var(--body-bg);
}

.customer-sidebar {
    width: 260px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    transition: var(--transition);
    overflow-y: auto;
}

.customer-sidebar .sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.customer-sidebar .sidebar-brand img {
    height: 45px;
}

.customer-sidebar .sidebar-nav {
    padding: 16px 0;
    list-style: none;
    margin: 0;
}

.customer-sidebar .sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.customer-sidebar .sidebar-nav li a:hover,
.customer-sidebar .sidebar-nav li a.active {
    background: rgba(var(--accent-rgb), 0.05);
    color: var(--accent);
    border-left-color: var(--accent);
}

.customer-sidebar .sidebar-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.customer-main {
    flex: 1;
    margin-left: 260px;
    transition: var(--transition);
}

.customer-header {
    background: var(--white);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.customer-header .toggle-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-700);
    cursor: pointer;
    display: none;
}

.customer-header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notification-bell {
    position: relative;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-600);
    cursor: pointer;
}

.notification-bell .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 10px;
}

.customer-content {
    padding: 30px;
}

/* Dashboard Cards */
.dash-stat-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.dash-stat-card.card-indigo {
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
    border: none;
}
.dash-stat-card.card-cyan {
    background: linear-gradient(135deg, #00acc1, #00bcd4);
    border: none;
}
.dash-stat-card.card-orange {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border: none;
}
.dash-stat-card.card-green {
    background: linear-gradient(135deg, #4caf50, #81c784);
    border: none;
}
.dash-stat-card.card-purple {
    background: linear-gradient(135deg, #8e24aa, #ba68c8);
    border: none;
}

.dash-stat-card.card-indigo h4, .dash-stat-card.card-indigo p,
.dash-stat-card.card-cyan h4, .dash-stat-card.card-cyan p,
.dash-stat-card.card-orange h4, .dash-stat-card.card-orange p,
.dash-stat-card.card-green h4, .dash-stat-card.card-green p,
.dash-stat-card.card-purple h4, .dash-stat-card.card-purple p {
    color: var(--white) !important;
}

.dash-stat-card.card-indigo .stat-icon-box,
.dash-stat-card.card-cyan .stat-icon-box,
.dash-stat-card.card-orange .stat-icon-box,
.dash-stat-card.card-green .stat-icon-box,
.dash-stat-card.card-purple .stat-icon-box {
    background: rgba(255, 255, 255, 0.22) !important;
    color: var(--white) !important;
}

.dash-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.dash-stat-card .stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dash-stat-card .stat-details h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--gray-900);
}

.dash-stat-card .stat-details p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.icon-bg-blue { background: rgba(15, 52, 96, 0.1); color: var(--primary); }
.icon-bg-orange { background: rgba(255, 122, 0, 0.1); color: var(--accent); }
.icon-bg-green { background: rgba(40, 167, 69, 0.1); color: var(--success); }
.icon-bg-red { background: rgba(220, 53, 69, 0.1); color: var(--danger); }
.icon-bg-purple { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--body-bg);
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1040;
    transition: var(--transition);
    overflow-y: auto;
}

.admin-sidebar::-webkit-scrollbar {
    width: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

.admin-sidebar .sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.admin-sidebar .sidebar-brand img {
    height: 45px;
    max-width: 100%;
    object-fit: contain;
}

.admin-sidebar .sidebar-nav {
    padding: 16px 0;
    list-style: none;
    margin: 0;
}

.admin-sidebar .sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar .sidebar-nav li a:hover,
.admin-sidebar .sidebar-nav li a.active {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-left-color: var(--accent);
}

.admin-sidebar .sidebar-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    transition: var(--transition);
}

.admin-header {
    background: var(--white);
    padding: 16px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.admin-header .toggle-sidebar {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-700);
    cursor: pointer;
    display: none;
}

.admin-content {
    padding: 18px;
}

/* Admin Dashboard Widgets */
.admin-stat-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Animated Bubble Effect */
.admin-stat-card::before,
.admin-stat-card::after,
.dash-stat-card::before,
.dash-stat-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: floatBubbles 6s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.admin-stat-card::before,
.dash-stat-card::before {
    width: 65px;
    height: 65px;
    bottom: -20px;
    right: -10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 100, 255, 0.22) 60%, rgba(255, 255, 255, 0) 100%);
}

.admin-stat-card::after,
.dash-stat-card::after {
    width: 45px;
    height: 45px;
    top: -10px;
    left: 80%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(0, 188, 212, 0.25) 60%, rgba(255, 255, 255, 0) 100%);
}

.admin-stat-card .stat-icon-box,
.admin-stat-card .stat-details,
.dash-stat-card .stat-icon-box,
.dash-stat-card .stat-details {
    position: relative;
    z-index: 1;
}

@keyframes floatBubbles {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-12px) scale(1.08) rotate(180deg); }
}

/* Color Coding and Gradients */
.admin-stat-card.card-indigo {
    background: linear-gradient(135deg, #3f51b5, #5c6bc0);
    border: none;
}
.admin-stat-card.card-cyan {
    background: linear-gradient(135deg, #00acc1, #00bcd4);
    border: none;
}
.admin-stat-card.card-orange {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    border: none;
}
.admin-stat-card.card-green {
    background: linear-gradient(135deg, #4caf50, #81c784);
    border: none;
}
.admin-stat-card.card-purple {
    background: linear-gradient(135deg, #8e24aa, #ba68c8);
    border: none;
}

.admin-stat-card.card-indigo h4, .admin-stat-card.card-indigo p,
.admin-stat-card.card-cyan h4, .admin-stat-card.card-cyan p,
.admin-stat-card.card-orange h4, .admin-stat-card.card-orange p,
.admin-stat-card.card-green h4, .admin-stat-card.card-green p,
.admin-stat-card.card-purple h4, .admin-stat-card.card-purple p {
    color: var(--white) !important;
}

.admin-stat-card.card-indigo .stat-icon-box,
.admin-stat-card.card-cyan .stat-icon-box,
.admin-stat-card.card-orange .stat-icon-box,
.admin-stat-card.card-green .stat-icon-box,
.admin-stat-card.card-purple .stat-icon-box {
    background: rgba(255, 255, 255, 0.22) !important;
    color: var(--white) !important;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.admin-stat-card .stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Chart Containers */
.chart-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.chart-card h6 {
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

/* SVG Chart Styles */
.chart-line {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-area {
    opacity: 0.1;
}

.chart-grid line {
    stroke: var(--gray-200);
    stroke-dasharray: 4;
}

.chart-label {
    font-size: 11px;
    fill: var(--gray-500);
    font-family: var(--font-primary);
}

/* Donut Chart */
.donut-segment {
    transition: var(--transition);
    cursor: pointer;
}

.donut-segment:hover {
    opacity: 0.8;
    filter: brightness(1.1);
}

.donut-center-text {
    font-size: 24px;
    font-weight: 800;
    fill: var(--gray-900);
    font-family: var(--font-primary);
}

.donut-center-label {
    font-size: 11px;
    fill: var(--gray-500);
    font-family: var(--font-primary);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Admin Quick Actions */
.quick-action-btn {
    padding: 12px 20px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 13px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    color: var(--white);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table-card {
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.table-card .table-header {
    padding: 12px 18px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-card .table-header h6 {
    font-weight: 700;
    margin: 0;
    color: var(--gray-800);
}

.ff-table {
    width: 100%;
    margin: 0;
}

.ff-table thead th {
    background: var(--gray-50);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-bottom: 2px solid var(--gray-200);
}

.ff-table tbody td {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}

.ff-table tbody tr:hover {
    background: rgba(var(--accent-rgb), 0.02);
}

.ff-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-card {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.form-card .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-card .form-control,
.form-card .form-select {
    border: 1px solid var(--gray-300);
    border-radius: var(--btn-radius);
    padding: 11px 16px;
    font-size: 14px;
    transition: var(--transition);
}

.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

/* ============================================================
   INVOICE PRINT STYLES
   ============================================================ */
.invoice-wrapper {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    max-width: 800px;
    margin: 0 auto;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.invoice-table th {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .testimonial-slide {
        min-width: 50%;
    }
}

@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-graphic img {
        max-height: 280px;
    }

    .hero-pills {
        justify-content: center;
    }

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

    .customer-sidebar,
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 1050 !important;
        box-shadow: var(--shadow-xl) !important;
    }

    .customer-sidebar.show,
    .admin-sidebar.show,
    .customer-layout.sidebar-open .customer-sidebar,
    .admin-layout.sidebar-open .admin-sidebar {
        transform: translateX(0) !important;
    }

    .customer-main,
    .admin-main {
        margin-left: 0;
    }

    .customer-header .toggle-sidebar,
    .admin-header .toggle-sidebar {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .testimonial-slide {
        min-width: 50%;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 40px;
        min-height: auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        margin: 0 auto 24px;
    }

    .hero-graphic {
        margin-top: 30px;
    }

    .hero-graphic img {
        max-height: 220px;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-pill {
        padding: 10px 16px;
        font-size: 12px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .booking-form-wrapper {
        padding: 24px;
    }

    .testimonial-slide {
        min-width: 100%;
    }

    .customer-content,
    .admin-content {
        padding: 20px 16px;
    }

    .invoice-wrapper {
        padding: 20px;
    }

    .floating-btns {
        bottom: 16px;
        right: 16px;
    }

    .float-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Universal Mobile Safeguards */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.table-responsive, .ff-table-wrapper {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .site-brand-name, .brand-text-name {
        max-width: 220px;
        font-size: 1.1rem;
    }
    
    .ff-navbar .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 12px;
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }
    
    .ff-navbar .navbar-nav {
        margin-bottom: 15px;
    }
    
    .ff-navbar .nav-link {
        padding: 10px 14px !important;
        border-radius: 8px;
    }

    .ff-navbar .nav-link::after {
        display: none;
    }

    .ff-navbar .nav-link:hover,
    .ff-navbar .nav-link.active {
        background: rgba(255, 122, 0, 0.08);
    }
}

@media (max-width: 576px) {
    .ff-navbar .navbar-brand {
        max-width: calc(100% - 60px);
    }

    .ff-navbar .navbar-brand img {
        height: 36px;
    }

    .site-brand-name, .brand-text-name {
        max-width: 150px;
        font-size: 0.98rem;
    }

    .hero-content h1 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
    }

    .hero-content p {
        font-size: 0.92rem;
    }

    .dash-stat-card {
        padding: 16px;
    }

    .dash-stat-card .stat-details h4 {
        font-size: 1.2rem;
    }

    .customer-header, .admin-header, .partner-header {
        padding: 12px 16px;
    }

    .customer-content, .admin-content, .partner-content {
        padding: 15px 12px;
    }
}

@media (max-width: 380px) {
    .ff-navbar .navbar-brand {
        max-width: calc(100% - 55px);
    }

    .site-brand-name, .brand-text-name {
        max-width: 115px;
        font-size: 0.88rem;
    }

    .hero-content h1 {
        font-size: 1.4rem !important;
    }

    .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .ff-navbar, .ff-footer, .floating-btns, .customer-sidebar, .admin-sidebar,
    .customer-header, .admin-header, .no-print {
        display: none !important;
    }

    .customer-main, .admin-main {
        margin-left: 0 !important;
    }

    .invoice-wrapper {
        box-shadow: none;
        border: none;
    }

    body {
        background: white;
    }
}

/* ============================================================
   SIDEBAR OVERLAY (MOBILE)
   ============================================================ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1045;
    display: none;
}

.sidebar-overlay.show,
.customer-layout.sidebar-open .sidebar-overlay,
.admin-layout.sidebar-open .sidebar-overlay {
    display: block !important;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-accent { color: var(--accent) !important; }
.text-primary-ff { color: var(--primary) !important; }
.bg-primary-ff { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Google Map */
.map-container {
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sweet Alert customization */
.swal2-popup {
    border-radius: var(--card-radius) !important;
    font-family: var(--font-primary) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
    border-radius: var(--btn-radius) !important;
}

/* DataTables customization */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--btn-radius) !important;
    padding: 8px 14px !important;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--btn-radius) !important;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
}

.page-header h4 {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.page-header .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.page-header .breadcrumb-item {
    font-size: 0.85rem;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99998;
}

.loading-overlay.show {
    display: flex;
}

/* ============================================================
   LANDING PAGE MOBILE MOCKUP STYLING OVERRIDES
   ============================================================ */

/* Hero Banner Bottom Feature Bar */
.hero-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 15px 20px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--gray-200);
}
@media (max-width: 991px) {
    .hero-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 15px;
    }
}
@media (max-width: 575px) {
    .hero-bottom-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
.hero-bottom-bar .bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
}
.hero-bottom-bar .bar-item i {
    font-size: 1.8rem;
    color: var(--accent);
}
.hero-bottom-bar .bar-item .bar-text {
    display: flex;
    flex-direction: column;
}
.hero-bottom-bar .bar-item .bar-text strong {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
}
.hero-bottom-bar .bar-item .bar-text span {
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Services Slider (Carousel) Container */
.services-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 15px 5px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.services-slider-container::-webkit-scrollbar {
    display: none;
}
.service-slide-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.service-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}
.service-slide-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}
.service-slide-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.service-slide-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.service-slide-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Why Choose Us & Form Card containers */
.why-choose-box {
    background: #002e6e;
    border-radius: 16px;
    padding: 40px 30px;
    color: var(--white);
}
.why-choose-box .section-title h2 {
    color: var(--white);
}
.why-grid-item {
    text-align: center;
    padding: 15px;
}
.why-grid-item i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.why-grid-item h6 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}
.why-grid-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* Book Fuel Form Container styling from mockup */
.mockup-booking-card {
    background: #002e6e;
    border-radius: 16px;
    padding: 40px;
    color: var(--white);
}
.mockup-booking-card h2 {
    color: var(--white);
    font-weight: 700;
}
.mockup-booking-card .form-control,
.mockup-booking-card .form-select {
    background: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--gray-800);
}
.mockup-booking-card .btn-submit-booking {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    width: 100%;
    transition: var(--transition);
}
.mockup-booking-card .btn-submit-booking:hover {
    background: var(--accent-dark);
}

/* Slider buttons positioning for desktop */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.slider-btn.btn-prev {
    left: -20px;
}
.slider-btn.btn-next {
    right: -20px;
}
@media (max-width: 991px) {
    .slider-btn {
        display: none;
    }
}

/* Emergency Call Out section */
.emergency-banner-box {
    background: #002e6e;
    border-radius: 16px;
    padding: 40px;
    color: var(--white);
    overflow: hidden;
    position: relative;
}
.emergency-banner-box h2 {
    color: var(--white);
    font-weight: 800;
}
.emergency-banner-box .phone-link {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}
.emergency-banner-box .phone-link:hover {
    color: var(--accent);
}
.emergency-graphic-img {
    max-height: 250px;
    object-fit: contain;
}
@media (max-width: 991px) {
    .emergency-graphic-img {
        max-height: 180px;
        margin-top: 20px;
    }
}

/* App badge downloads in footer */
.app-badges {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.app-badges a img {
    height: 40px;
    object-fit: contain;
}

/* Double underline utility */
.double-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.double-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}
.double-underline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -6px;
    width: 40px;
    height: 1.5px;
    background: var(--primary);
}

/* Mobile responsive navigation & UI adjustments */
@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 50px 0;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        text-align: center;
    }
    .hero-content p {
        text-align: center;
    }
    .hero-content .d-flex {
        justify-content: center;
    }
    .hero-graphic {
        margin-top: 30px;
        text-align: center;
    }
    .hero-graphic img {
        max-width: 90% !important;
    }
    .section-padding {
        padding: 50px 0;
    }
    .mockup-booking-card {
        padding: 30px 20px;
    }
    .why-choose-box {
        padding: 30px 20px;
    }
}

/* ============================================================
   PARTNER PANEL MOBILE APP OVERHAUL STYLES
   ============================================================ */

/* Mobile App Bottom Navigation Bar for Delivery Partners */
.partner-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding: 4px 0;
}

.partner-mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    padding: 4px 0;
    transition: var(--transition);
    position: relative;
}

.partner-mobile-bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.partner-mobile-bottom-nav .nav-item.active {
    color: var(--accent);
}

.partner-mobile-bottom-nav .nav-item .badge-dot {
    position: absolute;
    top: 4px;
    right: calc(50% - 14px);
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
}

@media (max-width: 767px) {
    .customer-content, .partner-content {
        padding-bottom: 85px !important;
    }
}

/* Mobile App Booking Card Styling */
.partner-booking-card-mobile {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--accent) !important;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.partner-booking-card-mobile:hover {
    box-shadow: var(--shadow-md);
}

.partner-booking-card-mobile .card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.partner-booking-card-mobile .customer-info-box {
    background: var(--gray-100);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.partner-booking-card-mobile .action-btns-row {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.partner-booking-card-mobile .action-btns-row .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================================
   CUSTOMER PANEL MOBILE APP OVERHAUL STYLES
   ============================================================ */

/* Mobile App Bottom Navigation Bar for Customers */
.customer-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding: 4px 0;
}

.customer-mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    flex: 1;
    padding: 4px 0;
    transition: var(--transition);
}

.customer-mobile-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.customer-mobile-bottom-nav .nav-item.active {
    color: var(--accent);
    font-weight: 700;
}

/* Quick Action Grid & Cards */
.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--white) !important;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quick-action-card.action-orange {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.quick-action-card.action-blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.quick-action-card.action-green {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.quick-action-card .action-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.quick-action-card .action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.quick-action-card .action-text strong {
    font-size: 0.95rem;
    font-weight: 700;
}

.quick-action-card .action-text span {
    font-size: 0.75rem;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .quick-action-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-action-card {
        flex-direction: column;
        text-align: center;
        padding: 12px 8px;
        gap: 6px;
    }

    .quick-action-card .action-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .quick-action-card .action-text strong {
        font-size: 0.8rem;
    }

    .quick-action-card .action-text span {
        display: none;
    }
}

@media (max-width: 480px) {
    .dash-stat-card {
        padding: 10px 12px !important;
        gap: 10px !important;
    }
    .dash-stat-card .stat-icon-box {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    .dash-stat-card .stat-details h4 {
        font-size: 1.05rem !important;
    }
    .dash-stat-card .stat-details p {
        font-size: 0.72rem !important;
    }
    .customer-welcome-card {
        padding: 16px !important;
    }
    .customer-welcome-card h4 {
        font-size: 1.1rem !important;
    }
}

/* Partner Points Auto-Sliding Carousel Styles */
.partner-point-slide-item {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
    box-sizing: border-box;
}
@media (max-width: 991px) {
    .partner-point-slide-item {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
    }
}
@media (max-width: 576px) {
    .partner-point-slide-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .partner-point-slide-item .card {
        padding: 18px !important;
        border-radius: 18px !important;
    }
    .partner-point-slide-item h5 {
        font-size: 1rem !important;
    }
    #delivery-network .display-6 {
        font-size: 1.65rem !important;
    }
}

