/* ===================================
   ALKAUSAR - Premium Luxury Car Rental
   Modern Automotive Red & Black Theme
   =================================== */

:root {
    /* ===================================
       PRIMARY COLORS - ALKAUSAR Brand
       =================================== */
    --red-primary: #890508; /* Bold, eye-catching deep red - Luxury automotive style */
    --red-accent: #A5060A; /* Vibrant red for highlights and CTAs */
    --red-dark: #5C0000; /* Darker red for depth and contrast */
    --red-light: #C41E3A; /* Light red for subtle accents */
    /* ===================================
       SECONDARY COLORS - Premium Palette
       =================================== */
    --black: #000000; /* Pure black */
    --charcoal-dark: #1A1A1A; /* Dark charcoal for backgrounds */
    --charcoal: #2A2A2A; /* Medium charcoal for sections */
    --charcoal-light: #3A3A3A; /* Light charcoal for hover states */
    --gray-metallic: #4A4A4A; /* Metallic gray for borders and dividers */
    --gray-metallic-light: #6A6A6A; /* Light metallic gray */
    --gray-metallic-lighter: #8A8A8A; /* Lighter metallic gray */
    --white: #FFFFFF; /* Pure white */
    /* ===================================
       BACKGROUND COLORS
       =================================== */
    --page-bg: var(--black); /* Deep black page background */
    --section-bg: var(--charcoal-dark); /* Dark charcoal for cards, tables, forms */
    --section-bg-hover: var(--charcoal); /* Medium charcoal for hover states */
    --section-bg-light: var(--charcoal-light); /* Light charcoal for elevated elements */
    /* ===================================
       TEXT COLORS
       =================================== */
    --text-primary: var(--white); /* White for primary text */
    --text-secondary: #E0E0E0; /* Light gray for secondary text */
    --text-muted: var(--gray-metallic-lighter); /* Muted text */
    --text-dark: var(--charcoal-dark); /* Dark text for light backgrounds */
    --text-accent: var(--red-accent); /* Red for accent text */
    /* ===================================
       BORDER COLORS
       =================================== */
    --border-color: var(--gray-metallic); /* Metallic gray for borders */
    --border-light: var(--gray-metallic-light); /* Light metallic gray */
    --border-accent: var(--red-primary); /* Red for accent borders */
    /* ===================================
       COMPONENT COLORS
       =================================== */
    --table-header-bg: var(--charcoal); /* Charcoal for table headers */
    --success-color: #10B981; /* Green for success states */
    --danger-color: var(--red-primary); /* Red for danger/errors */
    --warning-color: #F59E0B; /* Amber for warnings */
    --info-color: var(--red-accent); /* Red for info states */
    /* ===================================
       SHADOWS - Premium Depth
       =================================== */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.5), 0 3px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 20px rgba(137, 5, 8, 0.4), 0 5px 10px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(137, 5, 8, 0.5), 0 10px 20px rgba(0, 0, 0, 0.6);
    --shadow-red: 0 4px 20px rgba(137, 5, 8, 0.4);
    --shadow-red-lg: 0 8px 30px rgba(137, 5, 8, 0.5);
    /* ===================================
       BORDER RADIUS
       =================================== */
    --radius: 8px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    /* ===================================
       TRANSITIONS & ANIMATIONS
       =================================== */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* ===================================
       GRADIENTS - Premium Effects
       =================================== */
    --gradient-red: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    --gradient-red-reverse: linear-gradient(135deg, var(--red-accent) 0%, var(--red-primary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--charcoal-dark) 0%, var(--black) 100%);
    --gradient-charcoal: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    /*--gold-accent: #d4af37;
    --luxury-red-dark: #4a0404;
    --luxury-red-mid: #800000;
    --luxury-red-light: #a30000;
    --premium-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --glass-effect: rgba(255, 255, 255, 0.05);*/
    /* Eye-catching Ruby Palette */
    /*--ruby-glow: #e60005;*/ /* The "pop" color */
    /*--ruby-deep: #8b0000;*/ /* The base */
    /*--ruby-shimmer: #ff1a1a;*/ /* The highlight */
    /*--gold-bright: #ffd700;*/ /* For contrast */
}

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

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--page-bg);
    background-image: var(--gradient-dark);
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    background: linear-gradient(135deg, #5b0305 0%, #8e060a 50%, #5b0305 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--red-accent);
    backdrop-filter: blur(10px);
}



.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}



.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}



.navbar-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}



.navbar-brand-text {
    display: inline-block;
}



.navbar-brand:hover {
    color: var(--red-accent);
    transform: scale(1.05);
}



    .navbar-brand:hover .navbar-logo {
        transform: scale(1.1);
        transition: var(--transition);
    }



.navbar-nav {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}



.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    position: relative;
}



    .nav-link:hover {
        color: var(--red-accent);
        background: var(--section-bg-hover);
        box-shadow: var(--shadow-red);
        transform: translateY(-1px);
    }



    .nav-link.active {
        color: var(--red-accent);
    }



        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 1rem;
            right: 1rem;
            height: 2px;
            background: var(--gradient-red);
            border-radius: 2px;
            box-shadow: var(--shadow-red);
        }



/* Mobile Menu Toggle */

.navbar-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}



    .navbar-toggle:hover {
        background: var(--section-bg-hover);
        border-color: var(--red-accent);
        color: var(--red-accent);
        box-shadow: var(--shadow-red);
    }



    .navbar-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: currentColor;
        margin: 5px 0;
        transition: var(--transition);
        border-radius: 2px;
    }



    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    font-weight: 600;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-red-reverse);
    transition: var(--transition);
    z-index: 0;
}

.btn-primary:hover {
    background: var(--gradient-red-reverse);
    box-shadow: var(--shadow-xl), var(--shadow-red-lg);
    transform: translateY(-2px);
    border-color: var(--red-accent);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    background: var(--red-dark);
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--section-bg-hover) 0%, var(--charcoal) 100%);
    border-color: var(--red-primary);
    color: var(--red-primary);
    box-shadow: var(--shadow-red);
    transform: translateY(-1px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--white);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, var(--success-color) 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    color: var(--white);
}

.btn-danger:hover {
    background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-primary) 100%);
    box-shadow: var(--shadow-red-lg);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-w-100 {
    width: 100%;
}

/* ===================================
   Cards
   =================================== */

.card {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

.card:hover {
    box-shadow: var(--shadow-xl), var(--shadow-red-lg);
    transform: translateY(-4px);
    border-color: var(--red-accent);
    background: var(--section-bg-hover);
}

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

.card-img-top, .car-image-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.card-text {
    color: whitesmoke;
    margin-bottom: 0.5rem;
    flex: 1;
}

.card-footer {
    padding: 1rem 1.5rem;
    background: var(--section-bg-hover);
    border-top: 1px solid var(--border-color);
}

/* ===================================
   Grid System
   =================================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.col-12 { grid-column: span 12; }
.col-md-4 { grid-column: span 12; }
.col-md-6 { grid-column: span 12; }
.col-md-3 { grid-column: span 12; }
.col-md-2 { grid-column: span 12; }
.col-auto { width: auto; }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .col-sm-6 { grid-column: span 6; }
}

@media (min-width: 768px) {
    .col-md-4 { grid-column: span 4; }
    .col-md-6 { grid-column: span 6; }
    .col-md-3 { grid-column: span 3; }
    .col-md-2 { grid-column: span 2; }
    .container { padding: 0 2rem; }
    .container-fluid { padding: 0 2rem; }
}

@media (min-width: 992px) {
    .col-lg-4 { grid-column: span 4; }
    .col-lg-6 { grid-column: span 6; }
}

/* ===================================
   Forms
   =================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--section-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--red-accent);
    box-shadow: 0 0 0 3px rgba(137, 5, 8, 0.2), var(--shadow-red);
    background: var(--section-bg-hover);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--red-accent);
    box-shadow: 0 0 0 3px rgba(137, 5, 8, 0.2), var(--shadow-red);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--section-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.form-select:focus {
    outline: none;
    border-color: var(--red-accent);
    box-shadow: 0 0 0 3px rgba(137, 5, 8, 0.2), var(--shadow-red);
    background: var(--section-bg-hover);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--red-accent);
}

.form-check-label {
    cursor: pointer;
    margin: 0;
}

/* ===================================
   Tables
   =================================== */

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.table thead {
    background: var(--table-header-bg);
    color: var(--text-primary);
}

.bg-info {
    background: var(--red-accent) !important;
    color: var(--white) !important;
    font-weight: 600;
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.table tbody tr {
    transition: var(--transition);
    background: var(--section-bg);
}

.table tbody tr:hover {
    background: var(--section-bg-hover);
    border-left: 3px solid var(--red-accent);
    box-shadow: inset 3px 0 0 var(--red-accent);
}

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

/* Table Container with Horizontal Scroll */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border-radius: var(--radius);
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: var(--section-bg);
    border-radius: var(--radius-sm);
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    border-radius: var(--radius-sm);
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-primary) 100%);
}

/* Responsive table - Enable horizontal scroll on mobile */
@media (max-width: 991px) {
    .table-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        position: relative;
        box-shadow: var(--shadow-sm);
    }

    .table {
        display: table !important;
        width: 100%;
        min-width: 800px; /* Ensure minimum width for all columns */
    }

    .table thead {
        display: table-header-group !important;
    }

    .table tbody {
        display: table-row-group !important;
    }

    .table tbody tr {
        display: table-row !important;
    }

    .table td {
        display: table-cell !important;
        padding: 0.75rem 0.5rem !important;
        white-space: nowrap !important;
    }

    .table th {
        padding: 0.75rem 0.5rem !important;
        white-space: nowrap !important;
        font-size: 0.75rem !important;
    }

    /* Hide mobile card view */
    .table-mobile-view {
        display: none !important;
    }

    /* Ensure table wrapper containers allow scrolling */
    #carsTableContainer,
    #bookingsTableContainer,
    #reviewsTableContainer,
    #categoriesTableContainer,
    #faqsTableContainer {
        overflow-x: auto !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Add scroll indicator hint */
    .table-wrapper::after {
        content: '← Scroll →';
        position: absolute;
        bottom: -25px;
        right: 10px;
        font-size: 0.75rem;
        color: var(--text-muted);
        pointer-events: none;
        opacity: 0.7;
    }
}

/* Desktop: Normal table display */
@media (min-width: 992px) {
    .table-mobile-view {
        display: none !important;
    }

    .table {
        min-width: auto;
    }

    .table th,
    .table td {
        white-space: normal;
    }
}


/* ===================================
   Badges
   =================================== */

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

/* ===================================
   Modals
   =================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-dialog {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), var(--shadow-red-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    border: 2px solid var(--red-primary);
    position: relative;
}

.modal-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-lg {
    max-width: 900px;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--section-bg);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--red-accent);
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-close:hover {
    background: var(--section-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    background: var(--section-bg);
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--section-bg);
}

/* ===================================
   Alerts
   =================================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--danger-color);
    color: #991b1b;
}

.alert-info {
    background: rgba(137, 5, 8, 0.15);
    border-color: var(--red-accent);
    color: var(--text-primary);
    border-left-width: 4px;
}

/* ===================================
   Notification / Popup Layers
   Ensure SweetAlert2 and Toastr appear above custom modals
   =================================== */

/* SweetAlert2 */
.swal2-container {
    z-index: 4000 !important; /* higher than .lightbox-modal (3000) and .modal (2000) */
}

/* Toastr */
.toast-top-right {
    z-index: 3500 !important;
}

/* ===================================
   Pagination
   =================================== */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    list-style: none;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.page-item {
    display: inline-block;
}

.page-link {
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    display: block;
    background: var(--section-bg);
}

.page-link:hover {
    background: var(--section-bg-hover);
    color: var(--red-accent);
    border-color: var(--red-accent);
    box-shadow: var(--shadow-red);
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: var(--gradient-red);
    color: var(--white);
    border-color: var(--red-accent);
    box-shadow: var(--shadow-red-lg);
    font-weight: 600;
}

/* ===================================
   Spinner/Loading
   =================================== */

.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 4px solid var(--section-bg);
    border-top-color: var(--red-accent);
    border-right-color: var(--red-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

.text-muted {
    color: var(--text-muted);
}

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.me-2 { margin-right: 0.5rem; }
.w-100 { width: 100%; }

/* ===================================
   Main Content
   =================================== */

main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--gradient-charcoal);
    color: var(--text-primary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid var(--red-primary);
    box-shadow: 0 -4px 20px rgba(137, 5, 8, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-red);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(137, 5, 8, 0.5);
}

.footer-brand p {
    color: whitesmoke;
    line-height: 1.6;
}

.footer-links h5,
.footer-contact h5,
.footer-social h5 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    color: whitesmoke;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

.footer a:hover {
    color: var(--red-accent);
    text-decoration: underline;
    text-shadow: 0 0 8px rgba(137, 5, 8, 0.5);
    transform: translateX(2px);
}

/* Social Media Icons */
.footer-social {
    display: flex;
    flex-direction: column;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(137, 5, 8, 0.4);
    border-color: var(--red-primary);
    text-decoration: none;
}

.social-icon svg {
    transition: all 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--red-accent);
    filter: drop-shadow(0 0 4px rgba(137, 5, 8, 0.6));
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    text-align: center;
    padding: 3rem 0 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 0 20px rgba(137, 5, 8, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.125rem;
    color: whitesmoke;
}

/* Cover Image Carousel */
.cover-image-carousel {
    position: relative !important;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.cover-image-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.cover-image-slide.active {
    opacity: 1;
    z-index: 10;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero carousel indicators (dots) */
.cover-image-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    border-color: var(--red-accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-red);
}

/* ===================================
   Filter Section
   =================================== */

.filter-card {
    margin-top: 1rem;
    background: var(--section-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
}

    .filter-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        background: var(--gradient-red);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
/*        box-shadow : 2px 10px rgba(163, 0, 0, 0.4);*/
        z-index:1;
    }

/* ===================================
   Image Gallery / Lightbox
   =================================== */

.image-gallery {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.car-image-main {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.image-gallery:hover .car-image-main {
    transform: scale(1.05);
}

.image-count-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, rgba(137, 5, 8, 0.95) 0%, rgba(165, 6, 10, 0.95) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--red-accent);
}

.view-images-btn {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.image-gallery:hover .view-images-btn {
    opacity: 1;
    pointer-events: all;
}

.view-images-btn:hover {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    color: var(--white);
    font-weight: 700;
    box-shadow: var(--shadow-red-lg);
    transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

.lightbox-modal.show {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    color: var(--white);
    transform: rotate(90deg);
    box-shadow: var(--shadow-red-lg);
}

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

.lightbox-nav:hover {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    color: var(--white);
    box-shadow: var(--shadow-red-lg);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.lightbox-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding: 1rem;
    overflow-x: auto;
}

.lightbox-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail.active {
    opacity: 1;
    border-color: var(--red-accent);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--red-accent), var(--shadow-red);
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===================================
   Responsive Design
   =================================== */

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        color: var(--text-primary);
    }

    .nav-link:hover {
        background: var(--section-bg-hover);
        color: var(--red-accent);
    }

    .nav-link.active {
        color: var(--red-accent);
        background: var(--section-bg);
    }

    .nav-link.active::after {
        display: none;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-logo {
        height: 70px;
    }

    .navbar-brand-text {
        display: none;
    }

    .navbar-text {
        font-size: 0.75rem;
        margin-right: 0.5rem;
        color: var(--text-primary);
    }

    .footer {
        padding: 1.5rem 0 0.5rem;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-brand h4 {
        font-size: 1.125rem;
    }

    .footer-links h5,
    .footer-contact h5,
    .footer-social h5 {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .social-icons {
        justify-content: center;
    }

    .navbar-nav {
        width: 100%;
        flex-direction: column;
        gap: 0.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

/*    .cover-image {
        height: 250px;
    }*/

    .modal-dialog {
        margin: 0.5rem;
        max-height: 95vh;
        width: calc(100% - 1rem);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .filter-card {
        padding: 1rem;
    }

    .card-body {
        padding: 1rem;
    }

    .card-title {
        font-size: 1.125rem;
    }

    /* Table styles are handled in @media (max-width: 991px) above */
    .table td {
        font-size: 0.875rem !important;
    }

    .table td:before {
        font-size: 0.75rem !important;
    }

    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        width: auto;
        margin-bottom: 0;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-thumbnail {
        width: 60px;
        height: 60px;
    }

    .container,
    .container-fluid {
        padding: 0 1rem;
    }

    .row {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .justify-content-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .justify-content-between > * {
        width: 100%;
    }

    .btn-sm {
        width: auto;
        display: inline-block;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .modal-footer .btn:last-child {
        margin-bottom: 0;
    }
}

/* Tablet Styles */
@media (min-width: 577px) and (max-width: 991px) {
    .navbar-nav {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

/* Large Mobile / Small Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .row {
        gap: 1.25rem;
    }

    .col-md-6 {
        grid-column: span 6;
    }

    .col-md-4 {
        grid-column: span 4;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cover-image-carousel {
        height: 350px;
    }

    .modal-dialog {
        margin: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .cover-image-carousel {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .cover-image-carousel {
        height: 500px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }
}

/* Utility Classes */
.justify-content-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Admin Container Styles */
.admin-container {
    background: var(--section-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.admin-header {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
        margin: 1rem 0;
    }

    .admin-header {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .admin-container {
        padding: 0.75rem;
        margin: 0.5rem 0;
        border-radius: var(--radius);
    }

    .admin-header {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .admin-header h1 {
        font-size: 1.25rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--white);
}

.accordion-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background: darkred;
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover {
    background: var(--section-bg);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-red);
    color: var(--white);
    border-bottom: 2px solid var(--red-accent);
    box-shadow: var(--shadow-red);
}

.accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: rotate(0deg);
}

.accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.accordion-collapse.show {
    max-height: 1000px;
    opacity: 1;
}

.accordion-body {
    padding: 1.5rem;
    background: slategrey;
    color: var(--text-primary);
}

/* Reviews Container - Direct styling */
/*#reviewsContainer {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    gap: 1.5rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;*/
    /* Hide scrollbar for cleaner look */
    /*scrollbar-width: none;*/ /* Firefox */
    /*-ms-overflow-style: none;*/ /* IE and Edge */
/*}

#reviewsContainer::-webkit-scrollbar {
    display: none;*/ /* Chrome, Safari, Opera */
/*}*/

/* Reviews Horizontal Scroll */
/*.reviews-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    display: block;*/
    /* Hide scrollbar for cleaner look - works across all browsers */
    /*scrollbar-width: none;*/ /* Firefox */
    /*-ms-overflow-style: none;*/ /* IE and Edge */
/*}*/

/* Hide scrollbar in WebKit browsers (Chrome, Safari, Opera) */
/*.reviews-scroll-container::-webkit-scrollbar {
    display: none;
}

.reviews-scroll-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
    width: max-content;
    align-items: stretch;
}

.review-card {
    flex-shrink: 0;
    flex-grow: 0;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
}

.review-card .card {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
}*/

/* Responsive adjustments for #reviewsContainer */
/*@media (max-width: 768px) {
    #reviewsContainer {
        gap: 1rem;
    }
    
    #reviewsContainer .review-card {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
    }
}

@media (max-width: 576px) {
    #reviewsContainer {
        gap: 0.75rem;
    }
    
    #reviewsContainer .review-card {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
    }
}*/

.g-3 {
    gap: 1rem;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 1.75rem;
    }
}


/* --- Horizontal Reviews Slider --- */
#reviewsContainer {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Forces cards into a single line */
    overflow-x: auto !important; /* Enables horizontal scrolling */
    gap: 1.5rem; /* Space between cards */
    padding: 1rem 0.5rem 1.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Momentum scroll for mobile */
}

    /* Custom Scrollbar - Themed with your variables */
    #reviewsContainer::-webkit-scrollbar {
        height: 8px;
    }

    #reviewsContainer::-webkit-scrollbar-track {
        background: var(--section-bg);
        border-radius: var(--radius);
    }

    #reviewsContainer::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
        border-radius: var(--radius);
    }

        #reviewsContainer::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, var(--red-accent) 0%, var(--red-primary) 100%);
        }

/* Ensure the cards don't shrink and stay fixed width */
.review-card {
    flex: 0 0 auto !important;
    width: 320px !important;
}

.review-card .card {
    background: var(--section-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.review-card .card:hover {
    border-color: var(--red-accent);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.review-card .card-body {
    background: dimgrey;
}

.review-card strong {
    color: white;
}

@media (max-width: 576px) {
    .review-card {
        width: 280px !important; /* Slightly smaller for mobile screens */
    }
}

/* ===================================
   Floating WhatsApp Button
   =================================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #FFFFFF;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* ===================================
   About Page Styles
   =================================== */

.about-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--section-bg) 0%, #535151 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.6;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Sections */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-section {
    padding: 2rem;
/*    background: var(--white);*/
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.about-intro,
.about-mission {
    font-size: 1.125rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 1.5rem;
}

.about-mission {
    font-weight: 500;
    color: palegoldenrod;
}

/* Section Titles */
.about-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-section-title .icon {
    font-size: 2rem;
}

/* Features Grid */
.about-features {
    background: linear-gradient(135deg, var(--section-bg) 0%, #535151 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
/*    background: var(--white);*/
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services List */
.about-services {
    background: linear-gradient(135deg, var(--section-bg) 0%,  100%);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
/*    background: var(--section-bg);*/
    border-radius: var(--radius);
    font-size: 1.125rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.service-item:hover {
    background: var(--gradient-red);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: var(--shadow-red);
}

.service-bullet {
    font-size: 1.5rem;
    color: bisque;
    font-weight: bold;
}

.service-item:hover .service-bullet {
    color: var(--white);
}

/* Commitment Section */
.about-commitment {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.about-commitment .about-section-title {
    color: var(--white);
}

.commitment-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--white);
}

/* Contact Section */
.about-contact {
    background: var(--section-bg);
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
/*    background: var(--white);*/
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item span {
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .about-hero-image {
        min-height: 250px;
    }

    .about-section-title {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .about-hero {
        padding: 1.5rem;
    }

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

    .about-hero-subtitle {
        font-size: 1rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .about-section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .about-hero-content h1 {
        font-size: 1.5rem;
    }

    .about-section-title {
        font-size: 1.25rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-item h3 {
        font-size: 1.125rem;
    }
}