/********** Template CSS **********/

/* Global Black Background */
body {
    background-color: var(--black-primary) !important;
    color: var(--white) !important;
}

/* Override Bootstrap defaults */
.bg-white {
    background-color: var(--black-primary) !important;
}

.bg-light {
    background-color: var(--black-soft) !important;
}

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

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

.text-muted {
    color: var(--gray-600) !important;
}

:root {
    /* STRICT BLACK, GOLD, WHITE COLOR PALETTE */
    
    /* Gold Theme Colors (from logo) */
    --gold-primary: #D4AF37;      /* Main gold color from logo */
    --gold-light: #F4E4BC;        /* Light gold for highlights */
    --gold-dark: #B8860B;         /* Dark gold for shadows */
    --gold-accent: #FFD700;       /* Bright gold accent */
    --gold-metallic: #C9B037;     /* Metallic gold variation */
    --gold-bright: #FFC107;       /* Bright gold for emphasis */
    
    /* Black Theme Colors (from logo) */
    --black-primary: #000000;     /* Pure black from logo */
    --black-soft: #0A0A0A;        /* Soft black for backgrounds */
    --black-medium: #1A1A1A;      /* Medium black for cards */
    --black-light: #2A2A2A;       /* Light black for borders */
    --black-lighter: #3A3A3A;     /* Lighter black for subtle elements */
    
    /* White Colors */
    --white: #FFFFFF;             /* Pure white */
    --white-soft: #FAFAFA;        /* Soft white for backgrounds */
    --white-off: #F5F5F5;         /* Off-white for subtle backgrounds */
    
    /* Neutral Grays (derived from black) */
    --gray-100: #1A1A1A;
    --gray-200: #2A2A2A;
    --gray-300: #3A3A3A;
    --gray-400: #4A4A4A;
    --gray-500: #5A5A5A;
    --gray-600: #6A6A6A;
    --gray-700: #7A7A7A;
    --gray-800: #8A8A8A;
    --gray-900: #9A9A9A;
    
    /* Status Colors (using gold variations) */
    --success: var(--gold-primary);
    --warning: var(--gold-accent);
    --error: var(--gold-dark);
    --info: var(--gold-light);
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-accent) 100%);
    --gradient-black: linear-gradient(135deg, var(--black-primary) 0%, var(--black-soft) 100%);
    --gradient-hero: linear-gradient(135deg, var(--black-primary) 0%, var(--gold-primary) 100%);
    --gradient-card: linear-gradient(145deg, var(--black-medium) 0%, var(--black-soft) 100%);
    --gradient-white: linear-gradient(145deg, var(--white) 0%, var(--white-soft) 100%);
    
    /* Legacy support (mapped to new colors) */
    --primary: var(--gold-primary);
    --secondary: var(--black-primary);
    --light: var(--white-soft);
    --dark: var(--black-primary);
}

/*** Common Hero Gradient Background ***/
.hero-gradient-bg, .page-header {
    background: var(--gradient-hero) !important;
    background-size: cover !important;
    position: relative;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: var(--black-primary);
    background: var(--gradient-gold);
    border: none;
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    background: var(--gold-dark);
    color: var(--white);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}

.btn-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--gold-primary);
    border-radius: 2px;
    transition: .3s;
}

.btn-social:hover {
    color: var(--black-primary);
    background: var(--gold-primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--black-primary);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 500;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--gold-primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-logo {
    height: 70px;
    width: auto;
    max-width: 195px;
    object-fit: contain;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 350px;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .15);
}

.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
    transition: .5s;
}

.service-item:hover .bg-img {
    opacity: 0.1;
}

.service-item .service-text {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-item:hover .service-text {
    background: rgba(255, 255, 255, 1);
}


/*** Booking ***/
.booking {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, .8), rgba(0, 0, 0, .8)), url('hero-background.png') center center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--gold-primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

/* Additional custom styles for branding */
.text-primary {
    color: var(--gold-primary) !important;
}

.bg-primary {
    background-color: var(--gold-primary) !important;
}

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

.bg-secondary {
    background-color: var(--black-primary) !important;
}

/* Hero section height adjustment */
#header-carousel .carousel-item {
    min-height: 600px;
}

/* Service item styling improvements */
.service-item .service-text h4 {
    color: var(--gold-primary);
    font-weight: 600;
}

.service-item .service-text p {
    color: var(--black-primary) !important;
}

.service-item .badge {
    font-size: 0.75rem;
}

/* Mobile Topbar Responsive Styles */
@media (max-width: 991.98px) {
    .container-fluid.bg-black-primary .row {
        display: flex !important;
        flex-direction: column;
        padding: 0.5rem 1rem;
        background: var(--black-primary);
    }
    
    .container-fluid.bg-black-primary .col-lg-7,
    .container-fluid.bg-black-primary .col-lg-5 {
        width: 100%;
        padding: 0;
        text-align: center !important;
    }
    
    .container-fluid.bg-black-primary .h-100 {
        padding: 0.25rem 0 !important;
        font-size: 0.875rem;
    }
    
    .container-fluid.bg-black-primary .d-inline-flex {
        margin: 0.25rem 0.5rem !important;
        justify-content: center;
    }
    
    .container-fluid.bg-black-primary .text-white {
        color: var(--white) !important;
    }
    
    .container-fluid.bg-black-primary .text-gold {
        color: var(--gold-primary) !important;
    }
    
    /* Hide less important topbar items on very small screens */
    @media (max-width: 576px) {
        .container-fluid.bg-black-primary .col-lg-7 .d-inline-flex:last-child {
            display: none !important;
        }
    }
}

/* Navbar Tablet Adjustments */
@media (max-width: 991.98px) {
    .navbar-light .navbar-brand {
        height: 60px;
        padding-left: 1rem !important;
    }
    
    .navbar-logo {
        height: 75px;
        max-width: 210px;
    }
    
    .navbar-light .navbar-brand h2 {
        font-size: 1.25rem;
    }
}

/* Navbar Mobile Adjustments */
@media (max-width: 768px) {
    .navbar-light .navbar-brand {
        height: 55px;
        padding-left: 0.75rem !important;
    }
    
    .navbar-logo {
        height: 60px;
        max-width: 165px;
    }
    
    .navbar-light .navbar-brand h2 {
        font-size: 1.1rem;
    }
}

/* Navbar Small Mobile Adjustments */
@media (max-width: 576px) {
    .navbar-light .navbar-brand {
        height: 50px;
        padding-left: 0.5rem !important;
    }
    
    .navbar-logo {
        height: 52.5px;
        max-width: 142.5px;
    }
    
    .navbar-light .navbar-brand h2 {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Increase hero section height for mobile */
    #header-carousel .carousel-item {
        min-height: 650px !important;
    }

    .service-item {
        height: 300px;
    }

    .service-item .service-text {
        margin: 10px;
        padding: 1.5rem !important;
    }
    
    /* Better mobile hero section typography */
    .carousel-caption .display-3 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .carousel-caption .fs-5 {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .carousel-caption .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem;
        margin: 0.25rem 0.5rem !important;
    }
    
    /* Hero section spacing adjustments */
    .carousel-caption {
        padding: 1rem !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        min-height: 550px !important;
    }
    
    .carousel-caption .container {
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    .carousel-caption .container .row .col-10 {
        padding: 0 0.5rem !important;
    }
    
    /* Ensure buttons are visible */
    .carousel-caption .d-flex.flex-column.flex-sm-row {
        margin-bottom: 1rem !important;
    }
    
    .carousel-caption .row.mt-4 {
        margin-top: 1rem !important;
    }
    
    /* Uniform feature cards in hero section */
    .carousel-caption .row.mt-4 .col-4 {
        padding: 0 0.25rem !important;
    }
    
    .carousel-caption .bg-light {
        height: 90px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.5rem !important;
        border-radius: 8px !important;
    }
    
    .carousel-caption .bg-light i {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .carousel-caption .bg-light small {
        font-size: 0.7rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    /* Fix for subtitle text getting cut off */
    .carousel-caption h6 {
        font-size: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* Mobile-specific layout improvements */
    .hero-title .title-main {
        font-size: 2rem !important;
    }
    
    .hero-title .title-sub {
        font-size: 1.25rem !important;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        margin: 0.25rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 576px) {
    #header-carousel .carousel-item {
        min-height: 550px !important;
    }
    
    .carousel-caption .display-3 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }
    
    .carousel-caption .fs-5 {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    .carousel-caption {
        padding: 0.75rem !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        align-items: center !important;
        min-height: 550px !important;
    }
    
    .carousel-caption .container {
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    /* Ensure all content fits on very small screens */
    .carousel-caption .d-flex.flex-column.flex-sm-row {
        margin-bottom: 0.75rem !important;
    }
    
    .carousel-caption .row.mt-4 {
        margin-top: 0.75rem !important;
    }
    
    /* Uniform feature cards for extra small screens */
    .carousel-caption .row.mt-4 .col-4 {
        padding: 0 0.2rem !important;
    }
    
    .carousel-caption .bg-light {
        height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.4rem !important;
        border-radius: 6px !important;
    }
    
    .carousel-caption .bg-light i {
        font-size: 1.2rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .carousel-caption .bg-light small {
        font-size: 0.65rem !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }
    
    /* Smaller subtitle for very small screens */
    .carousel-caption h6 {
        font-size: 0.7rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
        padding-top: 0.25rem !important;
    }
}

/* Hero Section Styles */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 2rem 0;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f8f9fa;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e9ecef;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.hero-buttons .btn-primary {
    background: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    color: var(--black-primary);
}

.hero-buttons .btn-primary:hover {
    background: transparent;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--black-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--black-primary);
    color: var(--white);
}

.services .section-header .section-title {
    color: var(--white) !important;
}

.services .section-header .section-subtitle {
    color: var(--white) !important;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--black-medium);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-accent);
}

.service-card h3 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--white);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    color: var(--gold-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card.featured {
    border-color: var(--gold-accent);
    background: var(--black-soft);
}

.service-badge {
    background: var(--gold-primary);
    color: var(--black-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
}

.collision-process-section {
    padding: 4rem 0;
    background: var(--black-primary);
    color: var(--white);
}

.collision-process-section .section-title {
    color: var(--white) !important;
}

.collision-process-section .section-subtitle {
    color: var(--white) !important;
}

/* General section header overrides for dark backgrounds */
.services .section-header,
.why-choose-us .section-header,
.collision-process-section .collision-process-header {
    color: var(--white) !important;
}

.services .section-header h2,
.why-choose-us .section-header h2,
.collision-process-section .collision-process-header h2 {
    color: var(--white) !important;
}

.services .section-header p,
.why-choose-us .section-header p,
.collision-process-section .collision-process-header p {
    color: var(--white) !important;
}

.collision-process-header {
    max-width: 720px;
    margin: 0 auto;
}

.collision-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

/* Collision Process Steps */
.collision-process-step {
    background: var(--black-medium);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.collision-process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-accent);
}

.collision-process-step__number {
    background: var(--gold-primary);
    color: var(--black-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.collision-process-step__title {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.collision-process-step__desc {
    color: var(--white);
    margin: 0;
    line-height: 1.6;
}


.collision-process-step__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: var(--black-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.collision-process-step__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin: 0;
}

.collision-process-step__desc {
    color: var(--white);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991.98px) {
    .collision-process-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .collision-process-section {
        padding: 3rem 0;
    }

    .collision-process-step {
        padding: 1.75rem;
    }

    .collision-process-step__number {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-primary);
}

.service-card.featured {
    border-color: var(--gold-primary);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gold-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #e74c3c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-weight: bold;
}

/* Why Choose Us / Features Grid */
.why-choose-us {
    padding: 4rem 0;
    background: var(--black-soft);
    color: var(--white);
}

.why-choose-us .section-header .section-title {
    color: var(--white) !important;
}

.why-choose-us .section-header .section-subtitle {
    color: var(--white) !important;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Feature Items */
.feature-item {
    background: var(--black-medium);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-accent);
}

.feature-item h3 {
    color: var(--gold-primary);
    margin: 1rem 0;
}

.feature-item p {
    color: var(--white);
    margin: 0;
}

.feature-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bed-liner-showcase {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
}

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

.bed-liner-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bed-liner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.bed-liner-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #1f2937;
}

.bed-liner-card figcaption {
    padding: 1.5rem;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.quote-intro {
    background: #f7fafc;
}

.quote-modal .modal-dialog {
    max-width: 960px;
}

.quote-modal .modal-content {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.quote-modal .modal-header {
    padding: 1.75rem 1.75rem 0;
}

.quote-modal .modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black-primary);
}

.quote-modal .modal-body {
    padding: 0 1.75rem 1.75rem;
}

.quote-modal-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
    text-align: center;
}

.quote-modal-content {
    margin-top: 1.5rem;
}

.quote-modal-form > p {
    font-size: 1rem;
    color: var(--black-primary);
}

.quote-modal-form .quote-form {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.quote-modal-form .quote-form .quote-submit {
    flex-direction: column;
    align-items: stretch;
}

.quote-modal-form .quote-form .quote-submit p {
    text-align: center;
}

.quote-modal-sidebar .quote-sidebar {
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.quote-modal-sidebar .card-body {
    padding: 2rem;
}

@media (min-width: 768px) {
    .quote-modal-form .quote-form .quote-submit {
        flex-direction: row;
        align-items: center;
    }

    .quote-modal-form .quote-form .quote-submit p {
        text-align: left;
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .quote-modal .modal-dialog {
        margin: 1rem;
    }

    .quote-modal .modal-body {
        padding: 0 1.25rem 1.5rem;
    }
}

.quote-form .form-control,
.quote-form .form-select,
.quote-form textarea {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border-color: #e2e8f0;
}

.quote-form .form-control:focus,
.quote-form .form-select:focus,
.quote-form textarea:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.35);
}

.file-drop {
    position: relative;
    border: 2px dashed rgba(59, 130, 246, 0.35);
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.06);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.file-drop:hover,
.file-drop:focus {
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(212, 175, 55, 0.08);
    outline: none;
}

.file-drop.drag-over {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file-list li {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    color: #475569;
}

.file-list li + li {
    margin-top: 0.75rem;
}

.quote-status {
    min-height: 1.5rem;
    font-weight: 500;
}

.quote-status.success {
    color: #0f766e;
}

.quote-status.error {
    color: #b91c1c;
}

.quote-sidebar {
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.timeline li {
    margin-bottom: 0.75rem;
    color: #475569;
}

.timeline li strong {
    color: var(--gold-primary);
}

.contact-card {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.process-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

.process-step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-primary);
    color: var(--black-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.before-after-grid {
    align-items: stretch;
}

.before-after-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    padding: 1.5rem;
    height: 100%;
}

.before-after-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--gold-primary);
}

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

.after-layer {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
    transition: width 0.2s ease;
}

.after-layer .before-after-image {
    width: 100%;
    height: 100%;
}

.slider-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 8px rgba(15, 23, 42, 0.3);
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-handle {
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-primary);
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.before-after-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    cursor: ew-resize;
    opacity: 0;
}

.before-after-caption {
    margin-top: 1.25rem;
}

.before-after-caption h5 {
    margin-bottom: 0.5rem;
}

.before-after-caption p {
    margin: 0;
}

.placeholder-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 58, 138, 0.85) 100%);
    border-radius: 16px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.placeholder-card .gallery-overlay.static {
    position: static;
    background: none;
    box-shadow: none;
}

.placeholder-card .gallery-caption h5 {
    color: var(--black-primary);
}

.placeholder-card .gallery-caption p {
    margin: 0;
    color: #cbd5f5;
}

/* Contact CTA Section */
.contact-cta {
    padding: 4rem 0;
    background: var(--black-primary);
    color: var(--white);
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #e9ecef;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item small {
    color: #cbd5e0;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons .btn.large {
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    min-width: 200px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary.large {
    background: var(--gold-primary);
    border: 2px solid var(--gold-primary);
}

.cta-buttons .btn-primary.large:hover {
    background: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.cta-buttons .btn-secondary.large {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn-secondary.large:hover {
    background: white;
    color: var(--black-primary);
    transform: translateY(-2px);
}

/* Footer Styles */
.footer {
    background: var(--black-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
}

.footer-logo-img {
    height: 38px;
    width: auto;
}

.footer-section p {
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.footer-license {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

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

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

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}

.footer-contact strong {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e0;
}

.footer-keywords {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #a0aec0;
}

/* Responsive Styles for Custom Sections */
@media (max-width: 991.98px) {
    /* Hero Section Mobile */
    .hero-title .title-main {
        font-size: 2.5rem;
    }
    
    .hero-title .title-sub {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        min-width: 180px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    /* Contact CTA Mobile */
    .cta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons .btn.large {
        min-width: 160px;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Hero Section Tablet/Mobile */
    .hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-title .title-main {
        font-size: 2rem;
    }
    
    .hero-title .title-sub {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        min-width: 250px;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Section Headers Mobile */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Services Grid Small Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon img {
        width: 40px;
        height: 40px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    /* Features Grid Small Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }

    .feature-photo {
        height: 200px;
    }

    .bed-liner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bed-liner-card img {
        height: 200px;
    }

    .quote-sidebar {
        margin-top: 2rem;
    }

    .before-after-card {
        padding: 1.25rem;
    }
    
    /* Contact CTA Small Mobile */
    .contact-cta {
        padding: 3rem 0;
    }
    
    .cta-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        font-size: 1.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn.large {
        min-width: 200px;
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    /* Hero Section Extra Small Mobile */
    .hero {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .hero-text {
        padding: 0 0.5rem;
    }
    
    .hero-title .title-main {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-title .title-sub {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Section Headers Extra Small */
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Services Extra Small */
    .service-card {
        padding: 1rem;
    }
    
    .service-badge {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon img {
        width: 35px;
        height: 35px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    /* Features Extra Small */
    .feature-item {
        padding: 1.25rem;
    }

    .feature-photo {
        height: 160px;
        margin-bottom: 1rem;
    }

    .bed-liner-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bed-liner-card figcaption {
        font-size: 0.95rem;
    }

    .file-drop {
        padding: 2rem 1.25rem;
    }

    .file-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .process-card {
        padding: 1.5rem;
    }

    .before-after-card {
        padding: 1rem;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    /* Contact CTA Extra Small */
    .contact-cta {
        padding: 2.5rem 0;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-item strong {
        font-size: 1rem;
    }
    
    .contact-item small {
        font-size: 0.8rem;
    }
    
    .cta-buttons .btn.large {
        min-width: 180px;
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }
    
    /* Footer Extra Small */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        margin-bottom: 1.5rem;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
    
    .footer-keywords {
        font-size: 0.8rem;
    }
}

/* Gallery Lightbox Styles */
.gallery-item {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    color: white;
    text-align: center;
    padding: 1rem;
}

.gallery-overlay i {
    margin-bottom: 1rem;
    color: white;
}

.gallery-caption h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-caption p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading .badge {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bootstrap 5 Lightbox Modal Styles */
#imageModal {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#imageModal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#imageModal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
    margin: 2rem auto;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

#imageModal .modal-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px 15px 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#imageModal .modal-title {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#imageModal .btn-close {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: invert(1) grayscale(100%) brightness(200%);
}

#imageModal .btn-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

#imageModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: transparent;
}

#imageModal .modal-body img {
    max-width: 85vw;
    max-height: 75vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    object-fit: contain;
    background: white;
    padding: 8px;
}

#imageModal .modal-footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    border: none;
    padding: 1rem 2rem;
    border-radius: 0 0 15px 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#imageModal .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#imageModal .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

#imageModal .btn-outline-light:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

#imageModal .btn-outline-light:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Blur effect for page content when modal is open */
body.modal-open .container-fluid:not(.modal):not(.modal *),
body.modal-open .container:not(.modal):not(.modal *),
body.modal-open .navbar:not(.modal):not(.modal *) {
    filter: blur(3px);
    transition: filter 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #imageModal .modal-dialog {
        max-width: 95vw;
        margin: 1rem auto;
    }
    
    #imageModal .modal-body img {
        max-width: 90vw;
        max-height: 65vh;
        padding: 6px;
    }
    
    #imageModal .modal-title {
        font-size: 1.1rem;
    }
    
    #imageModal .modal-header,
    #imageModal .modal-footer {
        padding: 0.75rem 1.5rem;
    }
    
    #imageModal .btn-outline-light {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    #imageModal .modal-dialog {
        max-width: 98vw;
        margin: 0.5rem auto;
    }
    
    #imageModal .modal-body img {
        max-width: 95vw;
        max-height: 60vh;
        padding: 4px;
        border-radius: 8px;
    }
    
    #imageModal .modal-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    #imageModal .modal-header,
    #imageModal .modal-footer {
        padding: 0.75rem 1rem;
    }
    
    #imageModal .btn-outline-light {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        border-radius: 18px;
    }
    
    #imageModal .btn-close {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Gallery Styles */
@media (max-width: 991.98px) {
    .gallery-image-container {
        aspect-ratio: 3/2;
    }
    
    .gallery-overlay {
        padding: 0.75rem;
    }
    
    .gallery-caption h5 {
        font-size: 1.1rem;
    }
    
    .gallery-caption p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .gallery-image-container {
        aspect-ratio: 16/10;
    }
    
    .gallery-overlay {
        padding: 0.5rem;
    }
    
    .gallery-overlay i {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .gallery-caption h5 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-caption p {
        font-size: 0.8rem;
    }
    
    .section-heading .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-image-container {
        aspect-ratio: 4/3;
        border-radius: 10px;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    .gallery-overlay {
        border-radius: 10px;
        padding: 0.5rem;
    }
    
    .gallery-overlay i {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-caption h5 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-caption p {
        font-size: 0.75rem;
    }
    
    .section-heading .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Hero Carousel Styles */
#header-carousel .carousel-item {
    position: relative;
    min-height: 100vh;
}

#header-carousel .carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

#header-carousel .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 5%;
    z-index: 3;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

#header-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
#header-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

#header-carousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

#header-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.3s ease;
}

#header-carousel .carousel-indicators button.active {
    background-color: var(--gold-primary);
    transform: scale(1.2);
}

/* Mobile Carousel Adjustments */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 80vh;
    }
    
    #header-carousel .carousel-item img {
        height: 80vh;
    }
    
    #header-carousel .carousel-caption {
        padding: 2rem 1rem;
    }
    
    #header-carousel .carousel-control-prev-icon,
    #header-carousel .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}

/* Mobile Quote Modal Styles */
#mobileQuoteModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#mobileQuoteModal .modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

#mobileQuoteModal .modal-body {
    border-radius: 0 0 15px 15px;
}

#mobileQuoteModal .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#mobileQuoteModal .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#mobileQuoteModal .border {
    border-color: #e9ecef !important;
    transition: all 0.3s ease;
}

#mobileQuoteModal .border:hover {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
}

/* ========================================
   LOGO-INSPIRED GLOBAL THEME STYLES
   ======================================== */

/* Gold Theme Components */
.bg-gold {
    background-color: var(--gold-primary) !important;
}

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

.bg-gold-dark {
    background-color: var(--gold-dark) !important;
}

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

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

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

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

/* Black Theme Components */
.bg-black-primary {
    background-color: var(--black-primary) !important;
}

.bg-black-soft {
    background-color: var(--black-soft) !important;
}

.bg-black-medium {
    background-color: var(--black-medium) !important;
}

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

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

/* Logo-Inspired Buttons */
.btn-gold {
    background: var(--gradient-gold);
    border: none;
    color: var(--black-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-gold-outline {
    background: transparent;
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--gold-primary);
    color: var(--black-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Logo-Inspired Cards */
.card-gold {
    background: var(--gradient-card);
    border: 1px solid var(--gold-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.card-gold:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--gold-primary);
}

.card-black {
    background: var(--black-soft);
    border: 1px solid var(--black-light);
    border-radius: 12px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card-black:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--gold-primary);
}

/* Logo-Inspired Headers */
.header-gold {
    background: var(--gradient-gold);
    color: var(--black-primary);
    padding: 1rem 0;
    border-bottom: 3px solid var(--gold-dark);
}

.header-black {
    background: var(--gradient-black);
    color: var(--gold-primary);
    padding: 1rem 0;
    border-bottom: 3px solid var(--gold-primary);
}

/* Logo-Inspired Text Effects */
.text-gold-glow {
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.text-gold-emboss {
    color: var(--gold-primary);
    text-shadow: 
        1px 1px 0 var(--gold-dark),
        2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Logo-Inspired Borders */
.border-gold-thick {
    border: 3px solid var(--gold-primary);
}

.border-gold-dashed {
    border: 2px dashed var(--gold-primary);
}

.border-gold-gradient {
    border: 2px solid;
    border-image: var(--gradient-gold) 1;
}

/* Logo-Inspired Shadows */
.shadow-gold {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.shadow-gold-lg {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.shadow-black {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.shadow-black-lg {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Logo-Inspired Backgrounds */
.bg-gradient-gold {
    background: var(--gradient-gold);
}

.bg-gradient-black {
    background: var(--gradient-black);
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

/* Logo-Inspired Form Elements */
.form-control-gold:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-select-gold:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Logo-Inspired Navigation */
.navbar-gold {
    background: var(--black-primary);
    border-bottom: none;
}

.navbar-gold .navbar-brand {
    color: var(--white);
    font-weight: 700;
}

.navbar-gold .nav-link {
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-gold .nav-link:hover {
    color: var(--gold-dark);
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.navbar-gold .navbar-toggler {
    border: 2px solid var(--white);
    color: var(--white);
}

.navbar-gold .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.navbar-gold .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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar-gold responsive styles */
@media (max-width: 991.98px) {
    .navbar-gold .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
        color: var(--white);
    }

    .navbar-gold .navbar-nav {
        border-top: none;
        background: var(--black-primary);
    }
    
    .navbar-gold .navbar-brand {
        height: 60px;
        padding-left: 1rem !important;
        color: var(--white);
    }
    
    .navbar-gold .navbar-logo {
        height: 75px;
        max-width: 210px;
    }
    
    .navbar-gold .navbar-brand h2 {
        font-size: 1.25rem;
        color: var(--white);
    }
}

@media (max-width: 768px) {
    .navbar-gold .navbar-brand {
        height: 55px;
        padding-left: 0.75rem !important;
        color: var(--white);
    }
    
    .navbar-gold .navbar-logo {
        height: 60px;
        max-width: 165px;
    }
    
    .navbar-gold .navbar-brand h2 {
        font-size: 1.1rem;
        color: var(--white);
    }
}

@media (max-width: 576px) {
    .navbar-gold .navbar-brand {
        height: 50px;
        padding-left: 0.5rem !important;
        color: var(--white);
    }
    
    .navbar-gold .navbar-logo {
        height: 52.5px;
        max-width: 142.5px;
    }
    
    .navbar-gold .navbar-brand h2 {
        font-size: 1rem;
        color: var(--white);
    }
}

/* Logo-Inspired Footer */
.footer-gold {
    background: var(--gradient-black);
    color: var(--gold-light);
    border-top: 3px solid var(--gold-primary);
}

.footer-gold h4,
.footer-gold h5 {
    color: var(--gold-primary);
}

.footer-gold a {
    color: var(--gold-light);
    transition: all 0.3s ease;
}

.footer-gold a:hover {
    color: var(--gold-accent);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Logo-Inspired Badges */
.badge-gold {
    background: var(--gradient-gold);
    color: var(--black-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.badge-black {
    background: var(--black-primary);
    color: var(--gold-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Logo-Inspired Alerts */
.alert-gold {
    background: var(--gold-light);
    border: 1px solid var(--gold-primary);
    color: var(--black-primary);
    border-radius: 8px;
}

.alert-black {
    background: var(--black-soft);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    border-radius: 8px;
}

/* Logo-Inspired Progress Bars */
.progress-gold .progress-bar {
    background: var(--gradient-gold);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Logo-Inspired Tables */
.table-gold {
    background: var(--white);
    border: 1px solid var(--gold-light);
}

.table-gold thead {
    background: var(--gradient-gold);
    color: var(--black-primary);
}

.table-gold tbody tr:hover {
    background: var(--gold-light);
}

/* Logo-Inspired Modals */
.modal-gold .modal-header {
    background: var(--gradient-gold);
    color: var(--black-primary);
    border-bottom: 2px solid var(--gold-dark);
}

.modal-gold .modal-content {
    border: 2px solid var(--gold-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.modal-gold .modal-body {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body p {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body label {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body small {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .form-text {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .text-muted {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .form-label {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .form-control {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .form-select {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .form-check-label {
    color: var(--black-primary) !important;
}

.modal-gold .modal-body .btn {
    color: var(--black-primary) !important;
}

/* Quote modal specific overrides */
.quote-modal .modal-body {
    color: var(--black-primary) !important;
}

.quote-modal .modal-body p {
    color: var(--black-primary) !important;
}

.quote-modal .modal-body label {
    color: var(--black-primary) !important;
}

.quote-modal .modal-body small {
    color: var(--black-primary) !important;
}

.quote-modal .modal-body .form-text {
    color: var(--black-primary) !important;
}

.quote-modal .modal-body .text-muted {
    color: var(--black-primary) !important;
}

/* Quote section button styling */
/* Normalize light buttons so they never turn black on hover across all sections */
.btn-light {
    color: var(--black-primary) !important;
    background-color: var(--white) !important;
    border: 1px solid var(--white) !important;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: #f1f3f5 !important; /* light gray */
    border-color: #f1f3f5 !important;
    color: var(--black-primary) !important;
}

/* Logo-Inspired Carousel */
.carousel-gold .carousel-indicators button.active {
    background-color: var(--gold-primary);
}

.carousel-gold .carousel-control-prev-icon,
.carousel-gold .carousel-control-next-icon {
    background-color: var(--gold-primary);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Responsive Logo Theme Adjustments */
@media (max-width: 768px) {
    .btn-gold,
    .btn-gold-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card-gold,
    .card-black {
        margin-bottom: 1rem;
    }
    
    .text-gold-glow,
    .text-gold-emboss {
        text-shadow: none;
    }
}

/* Logo Theme Animation */
@keyframes goldShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.gold-shimmer {
    background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), var(--gold-light));
    background-size: 200% 100%;
    animation: goldShimmer 2s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Theme Utilities */
.opacity-gold {
    opacity: 0.8;
}

.opacity-gold:hover {
    opacity: 1;
}

.transition-gold {
    transition: all 0.3s ease;
}

.transition-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}
