/* ===================================================================
   MCOM TRANSPORT - MAIN STYLESHEET
   This file controls the primary look and feel of the website.
   Colors are dynamically controlled by /includes/dynamic_styles.php
=================================================================== */

/* ===================================================================
   1. ROOT & BASE STYLES
=================================================================== */
:root {
    --sidebar-width: 280px;
    --cart-sidebar-width: 400px;
    --border-radius: 12px;
    
    
}
*, ::after, ::before { box-sizing: border-box; }
html, body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--color-background-end); 
    background-image: linear-gradient(160deg, var(--color-background-start), var(--color-background-end)); 
    color: var(--color-text-body); 
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.modal-open, body.sidebar-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--color-text-heading); font-weight: 600; }
label, .form-label { color: var(--color-text-body); font-weight: 500; }
.text-muted { color: var(--color-text-light) !important; }
hr { border-color: var(--color-border) !important; opacity: 0.25; }

/* ===================================================================
   2. GENERAL COMPONENTS (Buttons, Forms, Cards)
=================================================================== */
.service-card, .modal-content-lg, .modal-content-md, #filter-sidebar, 
.top-filters-container, #cart-sidebar, .cart-item, .checkout-panel,
.dark-form-container .card, .modal-content, .company-features-box {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end));
}
.primary-button, .secondary-button, .btn-action { 
    text-decoration: none; border: none; border-radius: .5rem; padding: .8rem 1.75rem; 
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .3s ease; 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
}
.primary-button:hover, .secondary-button:hover, .btn-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.primary-button:disabled, .secondary-button:disabled, .btn-action:disabled { background: #555; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }
.primary-button, .btn-action.btn-primary { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.primary-button:hover, .btn-action.btn-primary:hover { background-color: var(--color-brand-accent); }
.secondary-button, .btn-action.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--color-text-heading); border: 1px solid var(--color-border); }
.secondary-button:hover, .btn-action.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); }
.modal-input, .filter-group input, .form-control, .form-select { 
    width: 100%; padding: .75rem 1rem; background-color: rgba(0, 0, 0, 0.2); 
    border: 1px solid var(--color-border); color: var(--color-text-heading); border-radius: .5rem; 
    font-family: 'Poppins', sans-serif; transition: all 0.2s; 
}
.modal-input:focus, .filter-group input:focus, .form-control:focus, .form-select:focus { 
    outline: none; border-color: var(--color-brand-primary); 
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-primary) 25%, transparent); 
    background-color: rgba(0, 0, 0, 0.3); 
}
#bundle-form-container .form-control, #bundle-form-container .form-select {
    color: var(--color-text-heading) !important; background-color: rgba(0,0,0,0.2) !important;
}
#bundle-form-container .form-control:focus, #bundle-form-container .form-select:focus {
    background-color: rgba(0,0,0,0.3) !important;
}
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cccccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.modal-input::placeholder, .filter-group input::placeholder, .form-control::placeholder { color: var(--color-text-light); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { 
    -webkit-text-fill-color: var(--color-text-heading) !important; 
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,0.3) inset !important; 
}
::-webkit-calendar-picker-indicator { filter: invert(1); }
.btn { 
    --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .8rem; --bs-btn-font-weight: 600; 
    --bs-btn-color: var(--color-text-on-brand); --bs-btn-bg: var(--color-brand-primary); 
    --bs-btn-border-color: var(--color-brand-primary); --bs-btn-hover-color: var(--color-text-on-brand); 
    --bs-btn-hover-bg: var(--color-brand-accent); --bs-btn-hover-border-color: var(--color-brand-accent); 
    --bs-btn-active-color: var(--color-text-on-brand); --bs-btn-active-bg: var(--color-brand-accent); 
    --bs-btn-active-border-color: var(--color-brand-accent); --bs-btn-disabled-color: #999; 
    --bs-btn-disabled-bg: #555; --bs-btn-disabled-border-color: #555; 
}
.btn-outline-secondary { 
    --bs-btn-color: var(--color-text-light); --bs-btn-border-color: var(--color-border); 
    --bs-btn-hover-color: var(--color-text-on-brand); --bs-btn-hover-bg: var(--color-brand-primary); 
    --bs-btn-hover-border-color: var(--color-brand-primary); --bs-btn-active-color: var(--color-text-on-brand); 
    --bs-btn-active-bg: var(--color-brand-accent); --bs-btn-active-border-color: var(--color-brand-accent); 
}

/* ===================================================================
   3. LAYOUT & NAVIGATION
=================================================================== */
.page-container { max-width: 1320px; margin: 0 auto; padding: 1.5rem; }
/* see navbar block in section 3 */

/* ===================================================================
   4. SECTION STYLES (Hero, Content, Footer, etc.)
=================================================================== */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 4rem 1.5rem; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.hero-title { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; max-width: 600px; margin: 0 auto 1.5rem auto; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }
.content-section { padding: 2rem 1.5rem; }
.content-section.bg-light-shade { background-color: rgba(0,0,0,0.1); }
.section-title { text-align: center; margin-bottom: 1.25rem; font-size: 2.5rem; } /* see heading system below */
.ceo-message { text-align: left; }
.ceo-message .ceo-image-wrap { display:flex; justify-content:center; }
.ceo-message .ceo-image { max-height:420px; width:100%; max-width:420px; object-fit:cover; border-radius:12px; }
.ceo-message .ceo-body p { color: var(--color-text-body); font-size:1.05rem; line-height:1.8; margin-bottom:1rem; }
.ceo-message .ceo-body { color: var(--color-text-body); background: transparent; padding: 1rem 0; }
.ceo-message .ceo-body .fw-bold { margin-top:1rem; }

@media (max-width: 767.98px) {
    .ceo-message .ceo-image { max-width: 320px; }
    .ceo-message .ceo-body p { font-size: 1rem; }
}
.main-site-footer { background-color: var(--color-surface-solid); color: var(--color-text-body); padding: 3rem 0; }
/* footer styles — see FOOTER REDESIGN block at end of file */

/* ===================================================================
   5. PAGE-SPECIFIC COMPONENTS
=================================================================== */
/* --- Booking Form (Hero) --- */
.hero-booking-form-container { border: 1px solid var(--color-border); border-radius: var(--border-radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-medium); background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end)); overflow: hidden; }
.hero-form-tabs { border-bottom: 1px solid var(--color-border); }
.hero-form-tabs .nav-link { color: var(--color-text-light); font-weight: 600; border: none; padding: 1rem 1.5rem; flex-grow: 1; }
.hero-form-tabs .nav-link.active { color: var(--color-brand-primary); background-color: rgba(0,0,0,0.2); border-bottom: 3px solid var(--color-brand-primary); }
#nav-tabContent .btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.hero-features-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding: 1rem; border-radius: var(--border-radius); background-color: rgba(0, 0, 0, 0.2); }
.hero-feature-item { display: flex; align-items: center; gap: 0.75rem; color: #e0e0e0; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.hero-feature-item i { font-size: 1.5rem; color: var(--color-brand-primary); }
.hero-feature-item span { font-weight: 500; font-size: 0.9rem; }

/* --- Carousels --- */
.horizontal-scroll-wrapper { position: relative; }
.carousel-nav { display: flex; justify-content: flex-end; margin-bottom: 1rem; gap: 0.5rem; }
.service-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 1rem; flex-wrap: nowrap; }
.service-carousel::-webkit-scrollbar { display: none; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease, background-color 0.2s ease; }
.carousel-nav button:hover { transform: scale(1.1); }
.carousel-nav button:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.carousel-prev { background-color: var(--color-surface-solid); color: var(--color-text-heading); border: 1px solid var(--color-border); }
.carousel-next { background-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.service-carousel > div { flex-shrink: 0; scroll-snap-align: start; padding-left: 0.75rem; padding-right: 0.75rem; width: 85%; }

/* --- Service & Content Cards --- */
#service-selection-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; display: flex; flex-direction: column; overflow: hidden; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); border-color: color-mix(in srgb, var(--color-border) 50%, white); }
.service-card-image-wrapper { position: relative; }
.service-card-image { width: 100%; height: 190px; object-fit: cover; }
.service-card-category { position: absolute; top: .75rem; left: .75rem; display: inline-block; background-color: rgba(255, 255, 255, 0.88); color: var(--color-brand-primary); padding: .18rem .6rem; border-radius: 9999px; font-size: .76rem; font-weight: 600; box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16); }
.service-card-content { padding: 1rem 1rem .8rem; display: flex; flex-direction: column; gap: .55rem; flex-grow: 1; }
.service-card-title { margin: 0 0 .4rem; font-size: 1.1rem; }
.service-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.service-card-location { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; margin-bottom: .6rem; }
.service-card-location i { color: var(--color-brand-primary); }
.service-card-price { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--color-border); text-align: right; margin-bottom: .6rem; }
.service-card-price small { display: block; color: var(--color-text-light); font-size: 0.8rem; }
.service-card-price strong { font-size: 1.4rem; font-weight: 700; color: var(--color-brand-primary); }
.service-card-content .primary-button { margin-top: auto; }
.content-card { display: block; position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; color: inherit; aspect-ratio: 3 / 2; }
.content-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.content-card__image-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.content-card__image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.content-card:hover .content-card__image-wrapper img { transform: scale(1.05); }
.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2.5rem 1.5rem 1.25rem; background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent); color: #fff; z-index: 2; }
.card-overlay h5 { font-size: 1.2rem; font-weight: 600; color: #fff; margin: 0; text-shadow: 1px 1px 5px rgba(0,0,0,0.6); }

/* --- Modals, Cart & Sidebars --- */
#no-services-message { text-align: center; padding: 3rem; background: rgba(0,0,0,0.2); border-radius: var(--border-radius); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 1050; padding: 20px; }
.modal-content-lg, .modal-content-md { max-height: 90vh; display: flex; flex-direction: column; animation: fadeIn 0.3s; }
.modal-content-lg { width: 100%; max-width: 900px; }
.modal-content-md { width: 100%; max-width: 600px; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.modal-close-btn, .modal .btn-close { background: none; border: none; font-size: 2rem; color: var(--color-text-light); cursor: pointer; line-height: 1; }
.modal .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
#details-modal-body, #modal-body { padding: 1.5rem; overflow-y: auto; }
#modal-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; background-color: rgba(0,0,0,0.2); }
#cart-button { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 60px; height: 60px; background-color: var(--color-brand-primary); color: var(--color-text-on-brand); border: 1px solid var(--color-brand-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1045; box-shadow: var(--shadow-medium); transition: opacity 0.3s ease, transform 0.3s ease; }
#cart-button.is-hidden { transform: scale(0.8); opacity: 0; pointer-events: none; }
#cart-count { position: absolute; top: -5px; right: -5px; background-color: var(--color-error); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; border: 2px solid var(--color-brand-primary); transform: scale(0); transition: transform .2s ease-out; }
#cart-count.visible { transform: scale(1); }
#cart-sidebar { position: fixed; top: 0; right: 0; width: 100%; max-width: var(--cart-sidebar-width); height: 100%; z-index: 1040; transform: translateX(100%); transition: transform .4s ease; display: flex; flex-direction: column; }
#cart-sidebar.is-open { transform: translateX(0); }
#cart-header { padding: 1.5rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
#cart-close-btn { background: none; border: none; font-size: 2rem; cursor: pointer; line-height: 1; color: var(--color-text-light); }
#cart-items-container { flex-grow: 1; overflow-y: auto; padding: 1rem; background-color: rgba(0,0,0,0.2); }
#cart-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.cart-item { padding: 1rem; display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.cart-item-info { flex-grow: 1; }
.cart-item-title { margin: 0 0 .25rem; font-size: 1.1rem; }
.cart-item-details { font-size: .9rem; margin-bottom: 0.2rem; }
.cart-item-addons { font-size: 0.85rem; padding-left: 1.2rem; margin-top: 0.5rem; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-item-price { font-weight: 600; font-size: 1.1rem; color: var(--color-brand-primary); }
.remove-btn { background: none; border: none; color: var(--color-error); cursor: pointer; font-size: 1.2rem; }
.grand-total-section { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.grand-total-section .label { font-size: 1.1rem; }
.grand-total-section .amount { font-size: 1.75rem; font-weight: 700; }
.cart-actions-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cart-empty-message { text-align: center; padding: 4rem 1rem; }

/* ===================================================================
   6. STATIC PAGE STYLES
=================================================================== */
.static-page-body .content-section { background-color: var(--color-background-end); }
.page-hero { position: relative; min-height: 65vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 5rem 1.5rem; overflow: hidden; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4); }
.who-we-are-hero::before { background-color: rgba(0, 0, 0, 0.95); }
.who-we-are-hero .hero-content { text-shadow: 0 2px 20px rgba(0,0,0,1); }
.who-we-are-hero .hero-content h1,
.who-we-are-hero .hero-content p { color: #ffffff; }
.page-hero .hero-background { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); z-index: 0; filter: brightness(0.85); }
.page-hero .hero-overlay { position: absolute; inset: 0; z-index: 1; background-color: rgba(0,0,0,0.55); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 3rem; }
.section-title-static { font-size: 2.2rem; font-weight: 600; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 3px solid var(--color-brand-primary); display: inline-block; color: var(--color-text-heading); } /* see heading system below */
.text-secondary { color: var(--color-text-light) !important; }
.vehicle-card { background-color: var(--color-surface-start); border: 1px solid var(--color-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.vehicle-card .card-title, .contact-card h5 { color: var(--color-text-heading); }
.accordion-item, .accordion-button, .accordion-body { background-color: var(--color-surface-solid); color: var(--color-text-body); border-color: var(--color-border); }
.accordion-button:not(.collapsed) { color: var(--color-brand-primary); background-color: color-mix(in srgb, var(--color-brand-primary) 10%, var(--color-surface-solid)); box-shadow: inset 0 -1px 0 var(--color-border); }
.accordion-button:focus { box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--color-brand-primary) 25%, transparent); }
.contact-card { background-color: var(--color-surface-start); border: 1px solid var(--color-border); }

/* ===================================================================
   7. RESPONSIVE MEDIA QUERIES
=================================================================== */
@media (min-width: 576px) {
    .service-carousel > div { width: 60%; }
}
@media (min-width: 768px) {
    .service-carousel > div { width: 50%; }
}
@media (min-width: 992px) {
    .service-carousel > div { width: 25%; }
}

@media (max-width: 767.98px) {
    .content-section { padding: 2rem 1rem; }
    .section-title, .page-hero h1 { font-size: 2rem; } /* overridden by heading system */
    .carousel-nav { justify-content: center; margin-top: 1rem; margin-bottom: 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-features-strip { gap: 1rem; justify-content: flex-start; padding: 0.75rem; }
    .hero-feature-item { width: calc(50% - 0.5rem); }
    .hero-feature-item span { font-size: 0.8rem; }
    .fab-container { left: 1.5rem; bottom: 1.5rem; }
    #cart-button { right: 1.5rem; bottom: 1.5rem; }
}


/* ===================================================================
   BRANDING & THEME CONTROL PANEL (FROM DYNAMIC_STYLES.PHP)
=================================================================== */
:root {
    --sidebar-width: 280px;
    --cart-sidebar-width: 400px;
    --border-radius: 12px;
}

/* ===================================================================
   Base & Global Styles
=================================================================== */
:root {
    --sidebar-width: 280px;
    --cart-sidebar-width: 400px;
    --border-radius: 12px;
}
*, ::after, ::before { box-sizing: border-box; }
html, body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--color-background-end); 
    background-image: linear-gradient(160deg, var(--color-background-start), var(--color-background-end)); 
    color: var(--color-text-body); 
    min-height: 100vh; 
}
body.modal-open, body.sidebar-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--color-text-heading); font-weight: 600; }
label, .form-label { color: var(--color-text-body); font-weight: 500; }
.text-muted { color: var(--color-text-light) !important; }
hr { border-color: var(--color-border) !important; opacity: 0.25; }

/* ===================================================================
   Surfaces, Buttons & Forms
=================================================================== */
.service-card, .modal-content-lg, .modal-content-md, #filter-sidebar, 
.top-filters-container, #cart-sidebar, .cart-item, .checkout-panel,
.dark-form-container .card, .modal-content {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end));
}
.primary-button, .secondary-button, .btn-action { 
    text-decoration: none; border: none; border-radius: .5rem; padding: .8rem 1.75rem; 
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .3s ease; 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
}
.primary-button:hover, .secondary-button:hover, .btn-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.primary-button:disabled, .secondary-button:disabled, .btn-action:disabled { background: #555; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }
.primary-button, .btn-action.btn-primary { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.primary-button:hover, .btn-action.btn-primary:hover { background-color: var(--color-brand-accent); }
.secondary-button, .btn-action.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--color-text-heading); border: 1px solid var(--color-border); }
.secondary-button:hover, .btn-action.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); }
.modal-input, .filter-group input, .form-control, .form-select { 
    width: 100%; padding: .75rem 1rem; background-color: rgba(0, 0, 0, 0.2); 
    border: 1px solid var(--color-border); color: var(--color-text-heading); border-radius: .5rem; 
    font-family: 'Poppins', sans-serif; transition: all 0.2s; 
}
.modal-input:focus, .filter-group input:focus, .form-control:focus, .form-select:focus { 
    outline: none; border-color: var(--color-brand-primary); 
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-primary) 25%, transparent); 
    background-color: rgba(0, 0, 0, 0.3); 
}

/* **FIX FOR BUNDLE FORM INPUTS** */
#bundle-form-container .form-control,
#bundle-form-container .form-select {
    color: var(--color-text-heading) !important;
    background-color: rgba(0,0,0,0.2) !important;
}
#bundle-form-container .form-control:focus,
#bundle-form-container .form-select:focus {
    background-color: rgba(0,0,0,0.3) !important;
}

.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cccccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.modal-input::placeholder, .filter-group input::placeholder, .form-control::placeholder { color: var(--color-text-light); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { 
    -webkit-text-fill-color: var(--color-text-heading) !important; 
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,0.3) inset !important; 
}
::-webkit-calendar-picker-indicator { filter: invert(1); }
.btn { 
    --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .8rem; --bs-btn-font-weight: 600; 
    --bs-btn-color: var(--color-text-on-brand); --bs-btn-bg: var(--color-brand-primary); 
    --bs-btn-border-color: var(--color-brand-primary); --bs-btn-hover-color: var(--color-text-on-brand); 
    --bs-btn-hover-bg: var(--color-brand-accent); --bs-btn-hover-border-color: var(--color-brand-accent); 
    --bs-btn-active-color: var(--color-text-on-brand); --bs-btn-active-bg: var(--color-brand-accent); 
    --bs-btn-active-border-color: var(--color-brand-accent); --bs-btn-disabled-color: #999; 
    --bs-btn-disabled-bg: #555; --bs-btn-disabled-border-color: #555; 
}
.btn-outline-secondary { 
    --bs-btn-color: var(--color-text-light); --bs-btn-border-color: var(--color-border); 
    --bs-btn-hover-color: var(--color-text-on-brand); --bs-btn-hover-bg: var(--color-brand-primary); 
    --bs-btn-hover-border-color: var(--color-brand-primary); --bs-btn-active-color: var(--color-text-on-brand); 
    --bs-btn-active-bg: var(--color-brand-accent); --bs-btn-active-border-color: var(--color-brand-accent); 
}

/* ===================================================================
   Page Structure & Headers
=================================================================== */
.page-container { max-width: 1320px; margin: 0 auto; padding: 1.5rem; }
.page-header { text-align: center; }
.page-header h3 { font-size: 2rem; margin: 0 0 .25rem; }

/* ===================================================================
   Filter Sidebar & Mobile Functionality
=================================================================== */
.service-view-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .service-view-grid { grid-template-columns: var(--sidebar-width) 1fr; } }
#filter-sidebar { padding: 1.5rem; position: sticky; top: 1.5rem; align-self: flex-start; }
.sidebar-filter-group h3 { border-bottom: 1px solid var(--color-border); font-size: 1.25rem; margin: 0 0 1rem; padding-bottom: .75rem; }
.filter-options { display: flex; flex-direction: column; gap: .75rem; }
.filter-checkbox { display: flex; align-items: center; cursor: pointer; padding: .25rem; }
.filter-checkbox input { display: none; }
.filter-checkbox .checkmark { width: 20px; height: 20px; border: 2px solid var(--color-text-light); border-radius: 4px; margin-right: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s ease; }
.filter-checkbox input:checked + .checkmark { background-color: var(--color-brand-primary); border-color: var(--color-brand-primary); }
.filter-checkbox input:checked + .checkmark::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--color-text-on-brand); font-size: 12px; }
#mobile-filter-close-btn { display: none; }
.mobile-filter-toggle { display: none; border: 1px solid var(--color-border); align-items: center; gap: .5rem; padding: .6rem 1rem; background: none; border-radius: 2rem; cursor: pointer; font-weight: 600; color: var(--color-text-heading); }
@media (max-width: 1023.98px) {
    #filter-sidebar { position: fixed; top: 0; left: 0; width: 85%; max-width: 350px; height: 100%; z-index: 1040; overflow-y: auto; transform: translateX(-100%); transition: transform .4s ease; border-radius: 0; }
    #filter-sidebar.is-open { transform: translateX(0); }
    #mobile-filter-close-btn { display: block; position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--color-text-light); }
    .mobile-filter-toggle { display: flex; }
}
#filter-backdrop { background-color: rgba(0, 0, 0, .7); display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1035; opacity: 0; transition: opacity .3s; }
#filter-backdrop.is-open { display: block; opacity: 1; }
.top-filters-container { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding: 1rem; margin-bottom: 2rem; overflow: visible; position: relative; }
.filter-group { display: flex; align-items: center; gap: .75rem; flex-grow: 1; min-width: 180px; position: relative; overflow: visible; }
.filter-group i { color: var(--color-text-light); }
.filter-group input { border: none; outline: 0; background: 0 0; width: 100%; }
.search-autocomplete { max-width: 440px; position: relative; overflow: visible; }
.search-suggestions { display: none; position: absolute; z-index: 1045; background: #ffffff; border: 1px solid var(--color-border); border-radius: 0.75rem; box-shadow: 0 16px 32px rgba(0,0,0,0.12); overflow: hidden; max-height: 320px; overflow-y: auto; box-sizing: border-box; }
.search-suggestions.active { display: block; }
.search-suggestion-item { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; padding: 0.95rem 1rem; border: none; background: transparent; text-align: left; cursor: pointer; color: var(--color-text-heading); font-weight: 600; }
.search-suggestion-item small { display: block; color: var(--color-text-muted); font-size: 0.85rem; margin-top: 0.25rem; font-weight: 400; }
.search-suggestion-item:hover, .search-suggestion-item:focus { background: rgba(0,0,0,0.04); }
.search-suggestion-empty { padding: 1rem; color: var(--color-text-muted); font-size: 0.95rem; }

/* ===================================================================
   Homepage & Content Page Styles
=================================================================== */
.content-section { padding: 2.5rem 0; }
.content-section.bg-light-shade { background-color: rgba(0,0,0,0.1); }
.section-title { text-align: center; margin-bottom: 1.75rem; font-size: 2.5rem; } /* see heading system below */

/* ===================================================================
   NEW: Split-Image Card Design
=================================================================== */
.content-card {
    display: block;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 1 / 1; /* Makes the card a perfect square */
}
.content-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}
.content-card__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.content-card__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.content-card:hover .content-card__image-wrapper img {
    transform: scale(1.05);
}
.content-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
    z-index: 2;
}
.card-overlay h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* ===================================================================
   MODIFIED: Carousel Styles for Homepage
=================================================================== */
.horizontal-scroll-wrapper {
    position: relative;
}
.carousel-nav {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
    gap: 0.5rem;
}
.service-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1rem;
    flex-wrap: nowrap;
}
.service-carousel::-webkit-scrollbar {
    display: none;
}
.service-carousel > .col-md-6, .service-carousel > .col-lg-3 {
    flex-shrink: 0;
    scroll-snap-align: start;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.carousel-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.carousel-nav button:hover {
    transform: scale(1.1);
}
.carousel-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}
.carousel-prev {
    background-color: var(--color-surface-solid);
    color: var(--color-text-heading);
    border: 1px solid var(--color-border);
}
.carousel-next {
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
}

/* ===================================================================
   MODALS, CART, NAVBAR, ETC.
=================================================================== */
#service-selection-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; display: flex; flex-direction: column; overflow: hidden; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); border-color: color-mix(in srgb, var(--color-border) 50%, white); }
.service-card-image-wrapper { position: relative; }
.service-card-image { width: 100%; height: 190px; object-fit: cover; }
.service-card-category { position: absolute; top: .75rem; left: .75rem; display: inline-block; background-color: rgba(255, 255, 255, 0.88); color: var(--color-brand-primary); padding: .18rem .6rem; border-radius: 9999px; font-size: .76rem; font-weight: 600; box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16); }
.service-card-content { padding: 1rem 1rem .8rem; display: flex; flex-direction: column; gap: .55rem; flex-grow: 1; }
.service-card-title { margin: 0 0 .4rem; font-size: 1.1rem; }
.service-card p { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.service-card-location { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; margin-bottom: .6rem; }
.service-card-location i { color: var(--color-brand-primary); }
.service-card-price { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--color-border); text-align: right; margin-bottom: .6rem; }
.service-card-price small { display: block; color: var(--color-text-light); font-size: 0.8rem; }
.service-card-price strong { font-size: 1.4rem; font-weight: 700; color: var(--color-brand-primary); }
.service-card-content .primary-button { margin-top: auto; }
.related-services-section { background-color: rgba(255,255,255,0.95); border-radius: 24px; padding: 2rem; box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06); }
.related-services-section h2 { margin-bottom: 0; font-size: 2rem; }
#no-services-message { text-align: center; padding: 3rem; background: rgba(0,0,0,0.2); border-radius: var(--border-radius); }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); display: none; justify-content: center; align-items: center; z-index: 1050; padding: 20px; }
.modal-content-lg, .modal-content-md { max-height: 90vh; display: flex; flex-direction: column; animation: fadeIn 0.3s; }
.modal-content-lg { width: 100%; max-width: 900px; }
.modal-content-md { width: 100%; max-width: 600px; }
@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.modal-header { padding: 1.5rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.modal-close-btn, .modal .btn-close { background: none; border: none; font-size: 2rem; color: var(--color-text-light); cursor: pointer; line-height: 1; }
.modal .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
#details-modal-body, #modal-body { padding: 1.5rem; overflow-y: auto; }
#modal-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; background-color: rgba(0,0,0,0.2); }
.config-step { margin-bottom: 2rem; }
.config-step h3 { font-size: 1.25rem; margin: 0 0 1rem; }
.validation-message { color: var(--color-error); font-size: 0.9rem; margin-top: 0.5rem; }
#total-price-container .label { font-size: .9rem; }
#total-price-container .amount { font-size: 1.75rem; font-weight: 700; }
.details-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 1.5rem; }
.details-gallery img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform .2s ease; border: 1px solid var(--color-border); }
.details-gallery img:hover { transform: scale(1.05); }
.full-description-content { line-height: 1.8; }
.full-description-content * { color: inherit; }
.vehicle-card-sm { display: grid; grid-template-columns: 140px 1fr auto; gap: 1rem; align-items: center; padding: 1.25rem; border-radius: 20px; margin-bottom: 1rem; background: rgba(255,255,255,0.95); border: 1px solid rgba(15,23,42,0.08); box-shadow: 0 10px 30px rgba(15,23,42,0.06); }
.vehicle-card-sm:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(15,23,42,0.12); }
.vehicle-card-sm-image { display: flex; align-items: center; justify-content: center; width: 150px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 18px; border: 1px solid rgba(15,23,42,0.08); }
.vehicle-card-sm img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-info-sm { display: flex; flex-direction: column; gap: 0.65rem; }
.vehicle-info-sm h6 { margin: 0; font-size: 1.05rem; color: var(--color-text-heading); }
.capacity-icons-sm { display: flex; flex-wrap: wrap; gap: 0.8rem; font-size: 0.9rem; color: var(--color-text-light); }
.capacity-icons-sm span { display: inline-flex; align-items: center; gap: 0.35rem; }
.capacity-icons-sm i { color: var(--color-brand-primary); }
.vehicle-specs-sm { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: var(--color-text-light); }
.vehicle-specs-sm span { background: rgba(0,0,0,0.04); padding: 0.4rem 0.75rem; border-radius: 999px; }
.vehicle-price-section-sm { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 0.75rem; }
.vehicle-price-section-sm .price-amount { font-weight: 700; font-size: 1.25rem; color: var(--color-brand-primary); }
.vehicle-price-section-sm .primary-button { margin-top: 0.25rem; padding: 0.6rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 767.98px) {
    .vehicle-card-sm { grid-template-columns: 1fr; }
    .vehicle-price-section-sm { align-items: stretch; }
    .vehicle-price-section-sm .primary-button { width: 100%; }
    .vehicle-card-sm { padding: 1rem; }
}
#cart-button { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 60px; height: 60px; background-color: var(--color-brand-primary); color: var(--color-text-on-brand); border: 1px solid var(--color-brand-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1045; box-shadow: var(--shadow-medium); transition: opacity 0.3s ease, transform 0.3s ease; }
#cart-button.is-hidden { transform: scale(0.8); opacity: 0; pointer-events: none; }
#cart-count { position: absolute; top: -5px; right: -5px; background-color: var(--color-error); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; border: 2px solid var(--color-brand-primary); transform: scale(0); transition: transform .2s ease-out; }
#cart-count.visible { transform: scale(1); }
#cart-sidebar { position: fixed; top: 0; right: 0; width: 100%; max-width: var(--cart-sidebar-width); height: 100%; z-index: 1040; transform: translateX(100%); transition: transform .4s ease; display: flex; flex-direction: column; }
#cart-sidebar.is-open { transform: translateX(0); }
#cart-header { padding: 1.5rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
#cart-close-btn { background: none; border: none; font-size: 2rem; cursor: pointer; line-height: 1; color: var(--color-text-light); }
#cart-items-container { flex-grow: 1; overflow-y: auto; padding: 1rem; background-color: rgba(0,0,0,0.2); }
#cart-footer { padding: 1.5rem; border-top: 1px solid var(--color-border); flex-shrink: 0; }
.cart-item { padding: 1rem; display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.cart-item-info { flex-grow: 1; }
.cart-item-title { margin: 0 0 .25rem; font-size: 1.1rem; }
.cart-item-details { font-size: .9rem; margin-bottom: 0.2rem; }
.cart-item-addons { font-size: 0.85rem; padding-left: 1.2rem; margin-top: 0.5rem; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }
.cart-item-price { font-weight: 600; font-size: 1.1rem; color: var(--color-brand-primary); }
.remove-btn { background: none; border: none; color: var(--color-error); cursor: pointer; font-size: 1.2rem; }
.grand-total-section { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.grand-total-section .label { font-size: 1.1rem; }
.grand-total-section .amount { font-size: 1.75rem; font-weight: 700; }
.cart-actions-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cart-empty-message { text-align: center; padding: 4rem 1rem; }
/* see navbar block in section 3 */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 4rem 1.5rem; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background-color: rgba(0, 0, 0, 0.55); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.hero-title { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; max-width: 600px; margin: 0 auto 1.5rem auto; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }
.hero-booking-form-container { border: 1px solid var(--color-border); border-radius: var(--border-radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-medium); background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end)); overflow: hidden; }
.hero-form-tabs { border-bottom: 1px solid var(--color-border); }
.hero-form-tabs .nav-link { color: var(--color-text-light); font-weight: 600; border: none; padding: 1rem 1.5rem; flex-grow: 1; }
.hero-form-tabs .nav-link.active { color: var(--color-brand-primary); background-color: rgba(0,0,0,0.2); border-bottom: 3px solid var(--color-brand-primary); }
#nav-tabContent .btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
#selection-modal .modal-content { background-color: var(--color-surface-solid); border: 1px solid var(--color-border); }
.selection-item, .selection-item-bundle { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: 8px; cursor: pointer; transition: background-color 0.2s ease; border: 1px solid var(--color-border); margin-bottom: 1rem; }
.selection-item:hover, .selection-item-bundle:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--color-brand-primary); }
.selection-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.selection-item-info { flex-grow: 1; }
.selection-item-info strong { display: block; color: var(--color-text-heading); }
.selection-item-info span { font-size: 0.9rem; color: var(--color-text-light); }
.bundle-discount-tag { background-color: var(--color-brand-primary); color: var(--color-text-on-brand); padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: 600; font-size: 0.8rem; }
.selection-group-header { font-size: 1.2rem; border-bottom: 1px solid var(--color-border); padding-bottom: 0.5rem; margin: 1.5rem 0 1rem 0; color: var(--color-brand-primary); }
.cart-upsells { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--color-border); }
.cart-upsells h6 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; text-align: center; }
.cart-upsell-item { display: flex; align-items: center; gap: 1rem; background: rgba(0,0,0,0.2); padding: .75rem; border-radius: .5rem; margin-bottom: 1rem; }
.cart-upsell-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.upsell-info { flex-grow: 1; }
.upsell-info strong { display: block; color: var(--color-text-heading); font-size: 0.9rem; }
.upsell-info .secondary-button { font-size: .8rem; padding: .3rem .8rem; margin-top: .25rem; }
.feature-list { list-style: none; padding-left: 0; }
.feature-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 1rem; }
.feature-list i { color: var(--color-brand-primary); font-size: 1.2rem; width: 25px; text-align: center; }
.rules-box { margin-top: 1.5rem; padding: 1rem; background: rgba(0,0,0,0.2); border-radius: 8px; border-left: 3px solid var(--color-brand-primary); }
.rules-box .rules-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 0.5rem; }
.rules-box ul { list-style: none; padding-left: 0; margin-bottom: 0; font-size: 0.9rem; color: var(--color-text-light); }
.rules-box ul li { margin-bottom: 5px; }

@media (max-width: 767.98px) {
    .hero-form-tabs { flex-direction: column; align-items: stretch; }
    .hero-form-tabs .nav-link { margin-bottom: 8px; text-align: center; }
    .hero-form-tabs .nav-link:last-child { margin-bottom: 0; }
    .hero-form-tabs .nav-link.active { border-bottom-color: var(--bs-nav-tabs-border-color); }
}

/* ===================================================================
   STATIC PAGE STYLES (FOR THEME COMPATIBILITY)
=================================================================== */
.static-page-body {
    background-color: var(--color-background-end);
    color: var(--color-text-body);
}
.page-header-minimal, .page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 3.5rem 1.5rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.page-header-minimal::before, .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}
.who-we-are-hero::before {
    background-color: rgba(0,0,0,0.72);
}
.who-we-are-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.46) 50%, rgba(0,0,0,0.64) 100%);
}
.who-we-are-hero .hero-content h1,
.who-we-are-hero .hero-content p {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.75);
}
.page-header-minimal .container, .page-hero .container {
    position: relative; z-index: 2;
}
.page-header-minimal h1, .page-hero h1 {
    color: #fff; font-size: 3rem;
}
.page-header-minimal {
    min-height: 55vh;
    background-color: #111;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
}
.page-header-minimal::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(10, 25, 47, 0.9));
}
.page-header-minimal h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -.03em;
    margin-bottom: 0;
    text-transform: uppercase;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.page-header-minimal + .content-section,
.page-hero + .content-section {
    padding-top: 3rem;
}
@media (min-width: 992px) {
    .page-header-minimal + .content-section,
    .page-hero + .content-section {
        padding-top: 4.5rem;
    }
}
.booking-box {
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.08);
}
.booking-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.booking-box .rules-box {
    background: rgba(248, 249, 250, 0.95);
    border-left-color: var(--color-brand-primary);
}
.booking-box .feature-list-condensed {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: var(--color-text-body);
}
.booking-box .feature-list-condensed li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}
.booking-box .feature-list-condensed li i {
    color: var(--color-brand-primary);
    min-width: 22px;
    margin-top: 0.15rem;
}
.details-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 1.75rem;
}
.details-gallery a {
    border-radius: 16px;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}
.details-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.details-gallery a:hover img {
    transform: scale(1.03);
}
.full-description-content {
    line-height: 1.85;
    color: var(--color-text-body);
}
.full-description-content p {
    margin-bottom: 1.4rem;
}
.content-section {
    background-color: rgba(255,255,255,0.92);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.04);
}
.page-header-minimal + .content-section {
    margin-top: -3rem;
}
.service-page-direct-book {
    min-width: 220px;
}
.booking-box {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.booking-box:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.16);
}
.details-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 2rem;
}
.details-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.related-services-section {
    background-color: rgba(255,255,255,0.96);
    border-radius: 22px;
    padding: 2.5rem;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}
.related-services-inner {
    margin: 0 -1rem;
    padding: 0 1rem;
}
.related-services-section h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.9rem, 3.2vw, 2.2rem);
}
.related-services-inner {
    margin: 0 -1rem;
    padding: 0 1rem;
}
.related-services-section .primary-button {
    width: 100%;
    margin-top: 0.5rem;
}
@media (max-width: 991.98px) {
    .page-header-minimal {
        min-height: 42vh;
        padding: 3rem 1rem;
    }
    .page-header-minimal h1 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }
    .page-header-minimal + .content-section {
        margin-top: -1.75rem;
    }
    .content-section {
        padding: 1.75rem 1rem;
        border-radius: 22px;
    }
    .booking-box {
        position: static;
        box-shadow: var(--shadow-soft);
        margin-top: 2rem;
    }
    .service-page-direct-book {
        min-width: auto;
        width: 100%;
    }
    .related-services-section {
        padding: 1.5rem 1rem;
    }
    .related-services-inner {
        margin: 0;
        padding: 0;
    }
    .related-services-section .primary-button {
        white-space: normal;
    }
}
/* .section-title-static — see heading system at end of file */
.text-secondary {
    color: var(--color-text-light) !important;
}
.vehicle-card {
    background-color: var(--color-surface-start);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vehicle-card .card-title, .contact-card h5 {
    color: var(--color-text-heading);
}
.accordion-item, .accordion-button, .accordion-body {
    background-color: var(--color-surface-solid);
    color: var(--color-text-body);
    border-color: var(--color-border);
}
.accordion-button:not(.collapsed) {
    color: var(--color-brand-primary);
    background-color: color-mix(in srgb, var(--color-brand-primary) 10%, var(--color-surface-solid));
    box-shadow: inset 0 -1px 0 var(--color-border);
}
.accordion-button:focus {
    box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--color-brand-primary) 25%, transparent);
}
.contact-card {
    background-color: var(--color-surface-start);
    border: 1px solid var(--color-border);
}

/* ===================================================================
   NEW FOOTER STYLES (CARD-BASED)
=================================================================== */

.site-footer {
    background-color: #f0f0f0; /* Light grey background */
    color: #333; /* Dark text for contrast */
    padding: 3rem 0;
}

.footer-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.footer-address-block {
    background-color: #ffffff; /* White cards */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Soft shadow */
}

.footer-address-block h5 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #111; /* Black heading */
}

.footer-address-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #555; /* Grey text for address */
    line-height: 1.7;
}

.footer-copyright-bar {
    background-color: var(--color-brand-primary); /* Uses your dynamic primary color */
    color: var(--color-text-on-brand); /* Uses the correct text color for contrast */
    padding: 1rem 0;
    text-align: center;
}

.footer-copyright-bar p {
    margin: 0;
    font-weight: 500;
}


/* ===================================================================
   FLOATING ACTION BUTTON (FAB) STYLES
=================================================================== */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fab-icon-close { display: none; }
.fab-container.active .fab-icon { display: none; }
.fab-container.active .fab-icon-close { display: block; }
.fab-container.active .fab-main { transform: rotate(45deg); }

.fab-buttons {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: scale(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease;
}

.fab-container.active .fab-buttons {
    transform: scale(1);
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.fab-btn.call { background-color: #34a853; }
.fab-btn.whatsapp { background-color: #25d366; }
.fab-btn.email { background-color: #ea4335; }
.fab-btn.book { background-color: #4285f4; }

.fab-btn:hover {
    filter: brightness(1.1);
}

/* ===================================================================
   NEW COMPLETE FOOTER STYLES
=================================================================== */

/* --- Main Dark Footer --- */
.main-site-footer {
    background-color: #121b24;
    color: #a0a0a0;
    padding: 3rem 0;
}

.footer-logo {
    max-height: 50px;
    width: auto;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: justify;
}

.footer-heading {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-brand-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-brand-primary);
}

.footer-links.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-links.contact-info i {
    color: var(--color-brand-primary);
    margin-top: 5px;
}

.footer-links.contact-info span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.footer-links.contact-info a {
    font-weight: 600;
    color: #ffffff;
}

.footer-social-icons a {
    color: #a0a0a0;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}
.footer-social-icons a:hover {
    color: var(--color-brand-primary);
}

/* --- Office Locations Section (Light Cards) --- */
.footer-offices-section {
    background-color: #f0f0f0;
    color: #333;
    padding: 3rem 0;
}

.footer-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.footer-address-block {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.footer-address-block h5 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #111;
}

.footer-address-block p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

/* --- Copyright Bar --- */
.footer-copyright-bar {
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
    padding: 1rem 0;
    text-align: center;
}

.footer-copyright-bar p {
    margin: 0;
    font-weight: 500;
}

/* ===================================================================
   FLOATING ACTION BUTTON (FAB) STYLES
=================================================================== */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}
.fab-main {
    width: 56px; height: 56px; border-radius: 50%;
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
    border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; transition: transform 0.3s ease;
}
.fab-icon-close { display: none; }
.fab-container.active .fab-icon { display: none; }
.fab-container.active .fab-icon-close { display: block; }
.fab-container.active .fab-main { transform: rotate(45deg); }
.fab-buttons {
    position: absolute; bottom: 100%; left: 0; margin-bottom: 10px;
    display: flex; flex-direction: column; gap: 10px;
    transform: scale(0); transform-origin: bottom left;
    transition: transform 0.3s ease;
}
.fab-container.active .fab-buttons { transform: scale(1); }
.fab-btn {
    width: 48px; height: 48px; border-radius: 50%;
    color: white; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background-color 0.2s;
}
.fab-btn.call { background-color: #34a853; }
.fab-btn.whatsapp { background-color: #25d366; }
.fab-btn.email { background-color: #ea4335; }
.fab-btn.book { background-color: #4285f4; }
.fab-btn:hover { filter: brightness(1.1); }


/* ===================================================================
   NEW THEME-AWARE FOOTER STYLES
=================================================================== */
.main-site-footer {
    background-color: var(--color-surface-solid);
    color: var(--color-text-body);
    padding: 3rem 0;
}
.footer-logo { max-height: 50px; width: auto; }
.footer-text { font-size: 0.9rem; line-height: 1.7; text-align: justify; }
.footer-heading {
    color: var(--color-text-heading);
    font-weight: 600; text-transform: uppercase; font-size: 1rem;
    margin-bottom: 1.25rem; position: relative; padding-bottom: 0.5rem;
}
.footer-heading::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 2px; background-color: var(--color-brand-primary);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--color-text-body); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--color-brand-primary); }
.footer-links.contact-info li { display: flex; align-items: flex-start; gap: 10px; }
.footer-links.contact-info i { color: var(--color-brand-primary); margin-top: 5px; }
.footer-links.contact-info span { display: block; font-size: 0.8rem; text-transform: uppercase; }
.footer-links.contact-info a { font-weight: 600; color: var(--color-text-heading); }
.footer-social-icons a { color: var(--color-text-body); margin-right: 1rem; font-size: 1.2rem; transition: color 0.3s ease; }
.footer-social-icons a:hover { color: var(--color-brand-primary); }
.footer-offices-section {
    background-color: var(--color-background-end);
    color: var(--color-text-body);
    padding: 3rem 0;
}
.footer-address-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.footer-address-block {
    background-color: var(--color-surface-solid);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.footer-address-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}
.footer-address-block h5 {
    color: var(--color-text-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
    font-size: 1.02rem;
    letter-spacing: 0.05em;
}
.footer-address-block p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.85;
    white-space: pre-line;
}
.footer-copyright-bar {
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-brand);
    padding: 1rem 0;
    text-align: center;
}
.footer-copyright-bar p { margin: 0; font-weight: 500; }

/* ===================================================================
   NEW HOMEPAGE SECTIONS
=================================================================== */

/* --- About Us Section --- */
.about-us-section {
    background-color: var(--color-surface-solid);
}
.title-hr { display: none; } /* replaced by ::after pseudo in heading system */
.about-us-section .ratio iframe {
    border-radius: var(--border-radius);
}

/* --- Premium Features Section --- */
.premium-features-section {
    background-color: var(--color-background-end);
}
.feature-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    color: var(--color-text-heading);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.feature-item i {
    font-size: 2.5rem;
    color: var(--color-brand-primary);
}
.feature-item span {
    font-weight: 500;
}

/* --- Parallax Sections (Trustpilot & Quran) --- */
.parallax-section {
    position: relative;
    padding: 3.5rem 1.5rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates the parallax effect */
    text-align: center;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}
.parallax-section .container {
    position: relative;
    z-index: 2;
}
.parallax-section .section-title {
    margin-bottom: 1rem;
}

/* Specific background images */
/* .trustpilot-section bg is now set via inline style from admin settings */
.quran-section {
    background-image: url('../../img/holy-quran-img.jpg');
}

.quran-section .btn-light {
    --bs-btn-bg: #f8f9fa;
    --bs-btn-color: #000;
    --bs-btn-hover-bg: #e2e6ea;
    --bs-btn-hover-border-color: #dae0e5;
}

/* ===================================================================
   NEW HERO FEATURES STRIP
=================================================================== */
.hero-features-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem; /* Vertical and horizontal gap */
    margin-top: 2.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e0e0; /* Light text color for readability */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-feature-item i {
    font-size: 1.5rem;
    color: var(--color-brand-primary); /* Use your primary color for icons */
}

.hero-feature-item span {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .hero-features-strip {
        gap: 1rem;
        justify-content: flex-start; /* Align to the left on smaller screens */
        padding: 0.75rem;
    }
    .hero-feature-item {
        width: calc(50% - 0.5rem); /* Two items per row */
    }
    .hero-feature-item span {
        font-size: 0.8rem;
    }
}

/* ===================================================================
   WHATSAPP BUTTON STYLES (IMPROVED LOOK)
=================================================================== */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    width: 100%;
    padding: 12px 20px;
    font-size: 1.05rem; 
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    background-color: #25D366; 
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all .3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E; 
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-button i.fab.fa-whatsapp {
    font-size: 1.5rem; 
}

/* ===================================================================
   MCOM TRANSPORT - MAIN STYLESHEET
   This file controls the primary look and feel of the website.
   Colors are dynamically controlled by /includes/dynamic_styles.php
=================================================================== */

/* ===================================================================
   1. ROOT & BASE STYLES
=================================================================== */
:root {
    --sidebar-width: 280px;
    --cart-sidebar-width: 400px;
    --border-radius: 12px;
}
*, ::after, ::before { box-sizing: border-box; }
html, body { 
    margin: 0; 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--color-background-end); 
    background-image: linear-gradient(160deg, var(--color-background-start), var(--color-background-end)); 
    color: var(--color-text-body); 
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.modal-open, body.sidebar-open { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { color: var(--color-text-heading); font-weight: 600; }
label, .form-label { color: var(--color-text-body); font-weight: 500; }
.text-muted { color: var(--color-text-light) !important; }
hr { border-color: var(--color-border) !important; opacity: 0.25; }

/* ===================================================================
   2. GENERAL COMPONENTS (Buttons, Forms, Cards)
=================================================================== */
.service-card, .modal-content-lg, .modal-content-md, #filter-sidebar, 
.top-filters-container, #cart-sidebar, .cart-item, .checkout-panel,
.dark-form-container .card, .modal-content, .company-features-box {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end));
}
.primary-button, .secondary-button, .btn-action { 
    text-decoration: none; border: none; border-radius: .5rem; padding: .8rem 1.75rem; 
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all .3s ease; 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
}
.primary-button:hover, .secondary-button:hover, .btn-action:hover { transform: translateY(-2px); box-shadow: var(--shadow-medium); }
.primary-button:disabled, .secondary-button:disabled, .btn-action:disabled { background: #555; color: #999; cursor: not-allowed; transform: none; box-shadow: none; }
.primary-button, .btn-action.btn-primary { background: var(--color-brand-primary); color: var(--color-text-on-brand); }
.primary-button:hover, .btn-action.btn-primary:hover { background-color: var(--color-brand-accent); }
.secondary-button, .btn-action.btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--color-text-heading); border: 1px solid var(--color-border); }
.secondary-button:hover, .btn-action.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); }
.modal-input, .filter-group input, .form-control, .form-select { 
    width: 100%; padding: .75rem 1rem; background-color: rgba(0, 0, 0, 0.2); 
    border: 1px solid var(--color-border); color: var(--color-text-heading); border-radius: .5rem; 
    font-family: 'Poppins', sans-serif; transition: all 0.2s; 
}
.modal-input:focus, .filter-group input:focus, .form-control:focus, .form-select:focus { 
    outline: none; border-color: var(--color-brand-primary); 
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand-primary) 25%, transparent); 
    background-color: rgba(0, 0, 0, 0.3); 
}
#bundle-form-container .form-control, #bundle-form-container .form-select {
    color: var(--color-text-heading) !important; background-color: rgba(0,0,0,0.2) !important;
}
#bundle-form-container .form-control:focus, #bundle-form-container .form-select:focus {
    background-color: rgba(0,0,0,0.3) !important;
}
.form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23cccccc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.modal-input::placeholder, .filter-group input::placeholder, .form-control::placeholder { color: var(--color-text-light); }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { 
    -webkit-text-fill-color: var(--color-text-heading) !important; 
    -webkit-box-shadow: 0 0 0 30px rgba(0,0,0,0.3) inset !important; 
}
::-webkit-calendar-picker-indicator { filter: invert(1); }
.btn { 
    --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .8rem; --bs-btn-font-weight: 600; 
    --bs-btn-color: var(--color-text-on-brand); --bs-btn-bg: var(--color-brand-primary); 
    --bs-btn-border-color: var(--color-brand-primary); --bs-btn-hover-color: var(--color-text-on-brand); 
    --bs-btn-hover-bg: var(--color-brand-accent); --bs-btn-hover-border-color: var(--color-brand-accent); 
    --bs-btn-active-color: var(--color-text-on-brand); --bs-btn-active-bg: var(--color-brand-accent); 
    --bs-btn-active-border-color: var(--color-brand-accent); --bs-btn-disabled-color: #999; 
    --bs-btn-disabled-bg: #555; --bs-btn-disabled-border-color: #555; 
}
.btn-outline-secondary { 
    --bs-btn-color: var(--color-text-light); --bs-btn-border-color: var(--color-border); 
    --bs-btn-hover-color: var(--color-text-on-brand); --bs-btn-hover-bg: var(--color-brand-primary); 
    --bs-btn-hover-border-color: var(--color-brand-primary); --bs-btn-active-color: var(--color-text-on-brand); 
    --bs-btn-active-bg: var(--color-brand-accent); --bs-btn-active-border-color: var(--color-brand-accent); 
}

/* ===================================================================
   3. LAYOUT & NAVIGATION
=================================================================== */
.page-container { max-width: 1320px; margin: 0 auto; padding: 1.5rem; }
/* see navbar block in section 3 */

/* ===================================================================
   4. SECTION STYLES (Hero, Content, Footer, etc.)
=================================================================== */
.hero-section { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 5rem 1.5rem; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 900px; }
.hero-title { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2rem auto; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }
.content-section { padding: 2.5rem 1.5rem; }
.content-section.bg-light-shade { background-color: rgba(0,0,0,0.1); }
.section-title { text-align: center; margin-bottom: 1.75rem; font-size: 2.5rem; } /* see heading system below */
.main-site-footer { background-color: var(--color-surface-solid); color: var(--color-text-body); padding: 3rem 0; }
/* footer styles — see FOOTER REDESIGN block at end of file */

/* ===================================================================
   5. PAGE-SPECIFIC COMPONENTS
=================================================================== */
/* --- Booking Form (Hero) --- */
.hero-booking-form-container { border: 1px solid var(--color-border); border-radius: var(--border-radius); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-medium); background-image: linear-gradient(145deg, var(--color-surface-start), var(--color-surface-end)); overflow: hidden; }
.hero-form-tabs { border-bottom: 1px solid var(--color-border); }
.hero-form-tabs .nav-link { color: var(--color-text-light); font-weight: 600; border: none; padding: 1rem 1.5rem; flex-grow: 1; }
.hero-form-tabs .nav-link.active { color: var(--color-brand-primary); background-color: rgba(0,0,0,0.2); border-bottom: 3px solid var(--color-brand-primary); }
#nav-tabContent .btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.hero-features-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin-top: 2.5rem; padding: 1rem; border-radius: var(--border-radius); background-color: rgba(0, 0, 0, 0.2); }
.hero-feature-item { display: flex; align-items: center; gap: 0.75rem; color: #e0e0e0; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.hero-feature-item i { font-size: 1.5rem; color: var(--color-brand-primary); }
.hero-feature-item span { font-weight: 500; font-size: 0.9rem; }

/* --- Carousels --- */
.horizontal-scroll-wrapper { position: relative; }
.carousel-nav { display: flex; justify-content: flex-end; margin-bottom: 1rem; gap: 0.5rem; }
.service-carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 1rem; flex-wrap: nowrap; }
.service-carousel::-webkit-scrollbar { display: none; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease, background-color 0.2s ease; }
.carousel-nav button:hover { transform: scale(1.1); }
.carousel-nav button:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.carousel-prev { background-color: var(--color-surface-solid); color: var(--color-text-heading); border: 1px solid var(--color-border); }
.carousel-next { background-color: var(--color-brand-primary); color: var(--color-text-on-brand); }
.service-carousel > div { flex-shrink: 0; scroll-snap-align: start; padding-left: 0.75rem; padding-right: 0.75rem; width: 85%; }

/* --- Static Pages --- */
.static-page-body .content-section { background-color: var(--color-background-end); }
.page-hero { position: relative; min-height: 65vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 5rem 1.5rem; overflow: hidden; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.55); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-overlay { position: absolute; inset: 0; z-index: 1; background-color: rgba(0,0,0,0.65); }
.page-hero h1 { color: #fff; font-size: 3rem; }
.section-title-static { font-size: 2.2rem; font-weight: 600; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 3px solid var(--color-brand-primary); display: inline-block; color: var(--color-text-heading); } /* see heading system below */
.vehicle-card { background-color: var(--color-surface-start); border: 1px solid var(--color-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.vehicle-card .card-title, .contact-card h5 { color: var(--color-text-heading); }
.accordion-item, .accordion-button, .accordion-body { background-color: var(--color-surface-solid); color: var(--color-text-body); border-color: var(--color-border); }
.accordion-button:not(.collapsed) { color: var(--color-brand-primary); background-color: color-mix(in srgb, var(--color-brand-primary) 10%, var(--color-surface-solid)); box-shadow: inset 0 -1px 0 var(--color-border); }
.accordion-button:focus { box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--color-brand-primary) 25%, transparent); }
.contact-card { background-color: var(--color-surface-start); border: 1px solid var(--color-border); }

/* --- FAB (Floating Action Button) --- */
.fab-container { position: fixed; bottom: 20px; left: 20px; z-index: 1000; }
.fab-main { width: 56px; height: 56px; border-radius: 50%; background-color: var(--color-brand-primary); color: var(--color-text-on-brand); border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; font-size: 24px; cursor: pointer; transition: transform 0.3s ease; }
.fab-icon-close { display: none; }
.fab-container.active .fab-icon { display: none; }
.fab-container.active .fab-icon-close { display: block; }
.fab-container.active .fab-main { transform: rotate(45deg); }
.fab-buttons { position: absolute; bottom: 100%; left: 0; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; transform: scale(0); transform-origin: bottom left; transition: transform 0.3s ease; }
.fab-container.active .fab-buttons { transform: scale(1); }
.fab-btn { width: 48px; height: 48px; border-radius: 50%; color: white; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color 0.2s; }
.fab-btn.call { background-color: #34a853; }
.fab-btn.whatsapp { background-color: #25d366; }
.fab-btn.email { background-color: #ea4335; }
.fab-btn.book { background-color: #4285f4; }
.fab-btn:hover { filter: brightness(1.1); }

/* --- Quran Section Button (Theme Aware) --- */
.quran-section .btn-light {
    background-color: var(--color-surface-solid);
    color: var(--color-text-heading);
    border-color: var(--color-border);
}
.quran-section .btn-light:hover {
    background-color: var(--color-surface-end);
}

/* ===================================================================
   6. RESPONSIVE MEDIA QUERIES
=================================================================== */
@media (min-width: 576px) {
    .service-carousel > div {
        width: 60%; /* For larger phones */
    }
}
@media (min-width: 768px) {
    .service-carousel > div {
        width: 50%; /* Show two cards on tablets */
    }
}
@media (min-width: 992px) {
    .service-carousel > div {
        width: 25%; /* Show four cards on desktops */
    }
}

@media (max-width: 767.98px) {
    .content-section { padding: 2rem 1rem; }
    .section-title, .page-hero h1 { font-size: 2rem; } /* overridden by heading system */
    .carousel-nav { justify-content: center; margin-top: 1rem; margin-bottom: 0; }
    .hero-title { font-size: 2.2rem; }
    .hero-features-strip { gap: 1rem; justify-content: flex-start; padding: 0.75rem; }
    .hero-feature-item { width: calc(50% - 0.5rem); }
    .hero-feature-item span { font-size: 0.8rem; }
    .fab-container { left: 1.5rem; bottom: 1.5rem; }
    #cart-button { right: 1.5rem; bottom: 1.5rem; }
}


/* ===================================================================
   NAVBAR — LIGHT THEME
=================================================================== */

/* ---- Shell ---- */
.navbar-custom {
    background-color: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 0;
    transition: box-shadow 0.3s ease;
    z-index: 1030;
}
.navbar-custom.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ---- Brand ---- */
.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: #1a202c !important;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}
.navbar-brand img { transition: opacity 0.2s ease; }
.navbar-brand:hover img { opacity: 0.85; }

/* ---- Primary nav links ---- */
.navbar-custom .navbar-nav .nav-item > .nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #374151 !important;
    padding: 1rem 0.85rem !important;
    border-radius: 0;
    background: transparent;
    transition: color 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25em;
}

/* Underline indicator */
.navbar-custom .navbar-nav .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-brand-primary);
    border-radius: 2px 2px 0 0;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Remove the default ::after used elsewhere */
.navbar-custom .navbar-nav .nav-item > .nav-link::after {
    display: none !important;
}

.navbar-custom .navbar-nav .nav-item > .nav-link:hover,
.navbar-custom .navbar-nav .nav-item.show > .nav-link,
.navbar-custom .navbar-nav .nav-item > .nav-link.active {
    color: var(--color-brand-primary) !important;
    background: transparent;
}
.navbar-custom .navbar-nav .nav-item > .nav-link:hover::before,
.navbar-custom .navbar-nav .nav-item.show > .nav-link::before,
.navbar-custom .navbar-nav .nav-item > .nav-link.active::before {
    width: 80%;
}

/* ---- Chevron arrow on dropdown toggles ---- */
.navbar-custom .dropdown-toggle .nav-chevron {
    display: inline-block;
    font-size: 0.6em;
    line-height: 1;
    margin-left: 0.2em;
    transition: transform 0.22s ease;
    color: #9ca3af;
}
.navbar-custom .navbar-nav .nav-item.show > .nav-link .nav-chevron,
.navbar-custom .navbar-nav .nav-item:hover > .nav-link .nav-chevron {
    transform: rotate(180deg);
    color: var(--color-brand-primary);
}
/* Hide Bootstrap's default caret */
.navbar-custom .dropdown-toggle::after { display: none !important; }

/* ---- Hover-open dropdowns (desktop only) ---- */
@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
    /* Keep Bootstrap's show class working too */
    .navbar-custom .nav-item.dropdown > .dropdown-menu {
        margin-top: 0 !important;
    }
}

/* ---- Dropdown panel ---- */
.navbar-custom .dropdown-menu {
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 210px;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: 0 !important;
    animation: navFadeDown 0.16s ease forwards;
    transform-origin: top;
}
@keyframes navFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.navbar-custom .dropdown-item {
    padding: 0.6rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151 !important;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item:focus {
    color: var(--color-brand-primary) !important;
    background-color: color-mix(in srgb, var(--color-brand-primary) 8%, #fff);
    padding-left: 1.15rem;
}
.navbar-custom .dropdown-divider {
    border-color: #f3f4f6;
    opacity: 1;
    margin: 0.3rem 0.5rem;
}

/* ---- Right-side: currency switcher ---- */
.navbar-currency-switcher .form-select {
    background-color: #f9fafb !important;
    color: #374151 !important;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-width: 76px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.38rem 1.6rem 0.38rem 0.6rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.navbar-currency-switcher .form-select:hover { border-color: var(--color-brand-primary); }
.navbar-currency-switcher .form-select option {
    background-color: #ffffff;
    color: #374151;
}

/* ---- Book Now pill button ---- */
.navbar-book-btn {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 0.45rem 1.25rem !important;
    border-radius: 50px !important;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.navbar-book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--color-brand-primary) 40%, transparent) !important;
}

/* ---- Hamburger ---- */
.navbar-toggler {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:hover {
    border-color: var(--color-brand-primary);
    background-color: color-mix(in srgb, var(--color-brand-primary) 8%, transparent);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.2em;
    height: 1.2em;
}

/* ---- Mobile collapse panel ---- */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        background-color: #ffffff;
        border-top: 1px solid #e8eaed;
        padding: 0.5rem 0.5rem 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }
    .navbar-custom .navbar-nav .nav-item > .nav-link {
        padding: 0.7rem 0.75rem !important;
        color: #374151 !important;
        border-radius: 8px;
    }
    .navbar-custom .navbar-nav .nav-item > .nav-link::before { display: none; }
    .navbar-custom .navbar-nav .nav-item > .nav-link:hover,
    .navbar-custom .navbar-nav .nav-item.show > .nav-link {
        background-color: color-mix(in srgb, var(--color-brand-primary) 8%, transparent);
        color: var(--color-brand-primary) !important;
    }
    .navbar-custom .dropdown-menu {
        background-color: #f9fafb;
        border: none;
        box-shadow: none;
        padding: 0.25rem 0 0.25rem 0.75rem;
        border-radius: 0;
        animation: none;
    }
    .navbar-custom .dropdown-item {
        font-size: 0.85rem;
        color: #6b7280 !important;
        border-radius: 6px;
        padding: 0.5rem 0.75rem;
    }
    .navbar-custom .dropdown-item:hover { padding-left: 1rem; }
    .navbar-book-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    /* Chevron still rotates on tap-to-open mobile */
    .navbar-custom .nav-chevron { display: inline-block; }
}

/* ---- Scroll shrink ---- */
.navbar-custom.navbar-scrolled .navbar-brand { padding: 0.65rem 0; }
@media (min-width: 992px) {
    .navbar-custom.navbar-scrolled .navbar-nav .nav-item > .nav-link {
        padding: 0.8rem 0.85rem !important;
    }
}

/* ===================================================================
   SECTION HEADING SYSTEM
=================================================================== */

/*
  Two heading variants:
  .section-title         — centred, used for carousel/grid sections
  .section-title-static  — left-aligned, used inside text + media rows

  Optional modifier: .section-title--light  for use on dark backgrounds
*/

/* ---- Shared base ---- */
.section-title,
.section-title-static {
    position: relative;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--color-text-heading);
    margin-bottom: 0;
}

/* ---- Centred variant ---- */
.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    text-align: center;
    display: inline-block; /* so ::after width is text-width */
}

/* Outer wrapper that holds heading + accent bar centred */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 1.75rem;
}
.section-title-wrapper .section-title-sub {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-brand-primary);
    margin-bottom: 0.6rem;
}

/* Brand underline accent */
.section-title::after,
.section-title-static::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--color-brand-gradient);
    border-radius: 3px;
    margin-top: 0.55rem;
}
.section-title::after {
    width: 48px;
    margin-left: auto;
    margin-right: auto;
}
.section-title-static::after {
    width: 44px;
    margin-left: 0;
}

/* ---- Left-aligned variant ---- */
.section-title-static {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    display: block;
    margin-bottom: 1.5rem;
}

/* ---- On dark / parallax sections ---- */
.section-title--light,
.section-title--light.section-title {
    color: #ffffff;
}
.section-title--light::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.3) 100%);
}

/* ---- Scroll-in animation ---- */
.section-title,
.section-title-static {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.section-title.heading-visible,
.section-title-static.heading-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
    .section-title  { font-size: 1.75rem; }
    .section-title-static { font-size: 1.6rem; }
    .section-title-wrapper { margin-bottom: 1.25rem; }
}

/* ===================================================================
   FEATURE ICONS GRID — Why Choose Us Section
=================================================================== */

.light-form-card {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.light-form-card .card-body {
    background-color: transparent;
}
.light-form-card .form-control,
.light-form-card .form-select,
.light-form-card textarea {
    background-color: #f8f9fb;
    color: #1f2937;
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.light-form-card .form-control:focus,
.light-form-card .form-select:focus,
.light-form-card textarea:focus {
    background-color: #ffffff;
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.18);
}
.light-form-card .form-text {
    color: var(--color-text-light);
}
.light-form-card .btn-primary {
    background-color: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
}
.light-form-card .btn-primary:hover {
    background-color: var(--color-brand-accent);
    border-color: var(--color-brand-accent);
}

/* ===================================================================
   FEATURE ICONS GRID — Why Choose Us Section
=================================================================== */

.premium-features-section {
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--color-brand-primary) 5%, var(--color-background-start)) 0%,
        var(--color-background-end) 100%);
}

.feature-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.feature-item {
    position: relative;
    background-color: var(--color-surface-solid);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 2.25rem 1.5rem 2rem;
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

/* Subtle brand accent bar that grows in on hover */
.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--color-brand-gradient);
    border-radius: 3px 3px 0 0;
    transition: width 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: color-mix(in srgb, var(--color-brand-primary) 35%, transparent);
}

.feature-item:hover::after {
    width: 60%;
}

/* Icon circle */
.feature-item__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-brand-primary) 18%, transparent),
        color-mix(in srgb, var(--color-brand-primary) 6%, transparent));
    border: 1.5px solid color-mix(in srgb, var(--color-brand-primary) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: background 0.28s ease, transform 0.28s ease;
}

.feature-item__icon i {
    font-size: 1.75rem;
    color: var(--color-brand-primary);
    transition: transform 0.28s ease;
}

.feature-item:hover .feature-item__icon {
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-brand-primary) 30%, transparent),
        color-mix(in srgb, var(--color-brand-primary) 12%, transparent));
    transform: scale(1.08);
}

.feature-item:hover .feature-item__icon i {
    transform: scale(1.12) rotate(-6deg);
}

/* Text */
.feature-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-item__desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .feature-icons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .feature-icons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .feature-item {
        padding: 1.5rem 1rem 1.25rem;
    }
    .feature-item__icon {
        width: 56px;
        height: 56px;
    }
    .feature-item__icon i {
        font-size: 1.4rem;
    }
    .feature-item__title {
        font-size: 0.9rem;
    }
    .feature-item__desc {
        font-size: 0.78rem;
    }
}

/* ===================================================================
   FOOTER REDESIGN — LIGHT THEME
=================================================================== */

/* ── Main footer shell ─────────────────────────────────────────── */
.main-site-footer {
    background-color: #f8f9fa;
    color: #4b5563;
    padding: 4.5rem 0 3rem;
    border-top: 3px solid var(--color-brand-primary);
    position: relative;
}

/* ── Logo ──────────────────────────────────────────────────────── */
.footer-logo {
    max-height: 48px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.footer-logo:hover { opacity: 0.85; }

/* ── Body copy ─────────────────────────────────────────────────── */
.footer-text {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #6b7280;
    margin-top: 1rem;
}

/* ── Column headings ───────────────────────────────────────────── */
.footer-heading {
    color: #111827;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-brand-gradient);
    border-radius: 2px;
}

/* ── Link lists ────────────────────────────────────────────────── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease, gap 0.2s ease;
}
.footer-links a::before {
    content: '›';
    color: var(--color-brand-primary);
    font-size: 1.1em;
    line-height: 1;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
    color: var(--color-brand-primary);
    gap: 0.65rem;
}
.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ── Contact info list ─────────────────────────────────────────── */
.footer-links.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.footer-links.contact-info li::before { display: none; }
.footer-links.contact-info a::before { display: none; }
.footer-links.contact-info i {
    color: var(--color-brand-primary);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.footer-links.contact-info a {
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
    gap: 0;
}
.footer-links.contact-info a:hover { color: var(--color-brand-primary); }

/* ── Social icon buttons ───────────────────────────────────────── */
.footer-social-icons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease,
                border-color 0.22s ease, transform 0.22s ease;
}
.footer-social-icons a:hover {
    background: var(--color-brand-primary);
    color: var(--color-text-on-brand);
    border-color: var(--color-brand-primary);
    transform: translateY(-3px);
}

/* ── Office addresses section ──────────────────────────────────── */
.footer-offices-section {
    background-color: #f1f3f5;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 1.5rem;
}
.footer-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.footer-address-block {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--color-brand-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 10px 10px 0;
    transition: box-shadow 0.2s ease, border-left-color 0.2s ease;
}
.footer-address-block:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.footer-address-block h5 {
    color: #111827;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.footer-address-block p {
    margin: 0;
    font-size: 0.83rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ── Copyright bar ─────────────────────────────────────────────── */
.footer-copyright-bar {
    background-color: #111827;
    border-top: none;
    color: #9ca3af;
    padding: 1.1rem 0;
    text-align: center;
}
.footer-copyright-bar p {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
}
.footer-copyright-bar strong {
    color: var(--color-brand-primary);
}

/* ── Column dividers on desktop ────────────────────────────────── */
@media (min-width: 992px) {
    .main-site-footer .row > [class*="col-"]:not(:last-child) {
        border-right: 1px solid #e5e7eb;
        padding-right: 2rem;
    }
    .main-site-footer .row > [class*="col-"]:not(:first-child) {
        padding-left: 2rem;
    }
}

/* ── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .main-site-footer { padding: 3rem 0 2rem; }
    .main-site-footer .row > [class*="col-"] {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-links.contact-info li {
        justify-content: center;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-address-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .footer-address-block { border-radius: 0 8px 8px 0; }
    .footer-copyright-bar { padding: 1rem 1rem 1.2rem; }
}

/* ===================================================================
   OTHER CATEGORIES BROWSING CARDS (category.php)
=================================================================== */
.other-category-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    height: 100%;
}
.other-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.other-category-card__img-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
}
.other-category-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.other-category-card:hover .other-category-card__img-wrap img {
    transform: scale(1.06);
}
.other-category-card__label {
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.other-category-card__label i {
    color: var(--color-brand-primary);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.other-category-card:hover .other-category-card__label i {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================================================
   CALL TO ACTION BANNER SECTION (index.php)
=================================================================== */
.cta-banner-section {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* Suppress the generic parallax::before — CTA uses its own overlay div */
.cta-banner-section::before {
    display: none !important;
}
.cta-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.cta-banner-content {
    position: relative;
    z-index: 2;
}
.cta-banner-content .section-title-sub {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
    box-shadow: none !important;
}
.cta-banner-content .section-title-sub::before {
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}
@media (max-width: 767.98px) {
    .cta-banner-section { background-attachment: scroll; }
}
