:root {
    --color-primary: #f9bd0b;
    --color-secondary: #04490a;
    --color-dark: #222222;
    --color-light: #ffffff;
    --color-gray: #f8f8f8;
    --color-border: #e0e0e0;
    --color-text: #555555;

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --container-width: 1200px;
    --header-height: 90px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--color-light);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    margin-left: auto;
    /* Push to right */
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-dark);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-dark);
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.btn-cta {
    background-color: var(--color-secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
    /* Sharper */
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--color-secondary);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--color-secondary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(4, 73, 10, 0.8) 0%, rgba(4, 73, 10, 0.2) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    opacity: 0.5;
}

/* Search Widget */
.search-widget {
    background: white;
    padding: 0;
    /* Removing padding for grid layout */
    border-radius: 0;
    /* Sharper */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-top: 4px solid var(--color-primary);
}

.search-form {
    display: flex;
    width: 100%;
}

.form-group {
    flex: 1;
    padding: 30px;
    border-right: 1px solid var(--color-border);
    position: relative;
    transition: 0.2s;
}

.form-group:hover {
    background-color: #f2f2f2;
}

.form-group:last-child {
    border-right: none;
    padding: 0;
    flex: 0 0 200px;
}

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    padding: 0;
    appearance: none;
    cursor: pointer;
}

.form-control:focus {
    outline: none;
}

.btn-search {
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-search:hover {
    background-color: #076d10;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    /* text-align: left; */
    /* Kept centered for now, but cleaner */
}

.section-title span {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--color-secondary);
    font-weight: 800;
    letter-spacing: -1px;
}

/* Featured Cars */
.car-grid {
    display: grid;
    /* Enforce 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .car-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .car-grid {
        grid-template-columns: 1fr;
    }
}

.car-card {
    background: white;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    position: relative;
    /* No border-radius */
}

.car-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.car-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.car-card:hover .car-overlay {
    background: rgba(0, 0, 0, 0);
}

.car-details {
    padding: 25px;
}

.car-brand {
    font-size: 12px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-model {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin: 5px 0 20px;
}

/* Modern Car Cards */
.car-card {
    background: white;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.car-image-wrapper {
    position: relative;
    overflow: hidden;
    /* padding-top: 65%; */
    padding: 15px;
    margin-top: 20px;
    margin-bottom: -30px;
}
}

.car-image {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* width: 100%; */
    height: 150px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.6s ease;
}

.car-card:hover .car-image {
    transform: scale(1.1);
}

.car-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.car-badge.success {
    background: #4caf50;
    color: white;
}

.car-badge.premium {
    background: var(--color-dark);
    color: white;
}

.car-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-header {
    margin-bottom: 20px;
}

.car-brand {
    font-size: 13px;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.car-model {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.3;
}

/* Specs Row */
.car-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    gap: 5px;
}

.spec-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

/* Footer & Price */
.car-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.car-price {
    color: var(--color-secondary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.car-price span {
    font-size: 13px;
    font-weight: 600;
    color: #999;
}

/* Rent Button */
.btn-rent {
    background: var(--color-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-rent:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateX(5px);
}

.btn-detail {
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-detail:hover {
    color: var(--color-primary);
}

/* Corporate/Features */
.features {
    background-color: var(--color-gray);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    background: transparent;
    padding: 0;
    /* No shadow, clean layout */
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--color-primary);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
}

.feature-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}

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

.copyright {
    text-align: left;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-signature {
    font-weight: 400;
    color: #fff;
}

.signature-brand {
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(90deg, #fff 0%, #c2c2c2 50%, #fff 100%);
    background-size: 200% auto;
    color: #333;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Heart Wrapper for Ripple Effect */
.heart-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin: 0px;
    margin-bottom: 4px;
    vertical-align: middle;
}

/* The Icon itself (Red & Beating) */
.heart-wrapper i {
    color: #e74c3c;
    font-size: 18px;
    animation: heartPulse 1.5s infinite ease-in-out;
    position: relative;
    z-index: 2;
    /* Sit above ripples */
}

/* Hidden Ripples (Pseudo-elements on WRAPPER, not icon) */
.heart-wrapper::before,
.heart-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(231, 76, 60, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    z-index: 1;
    animation: rippleEffect 1.5s infinite ease-out;
}

.heart-wrapper::after {
    animation-delay: 0.5s;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .search-form {
        flex-direction: column;
    }

    .form-group {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        flex: auto;
    }

    .btn-search {
        padding: 20px;
    }

    /* Mobile Header */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Hide CTA on mobile or move it into menu if needed - for now hiding to save space or keeping it next to hamburger */
    .btn-cta {
        display: none;
        /* User might want this inside menu, but for now simple hide or keep as is. Let's hide to avoid clutter next to logo/hamburger */
    }
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.select-selected {
    color: var(--color-dark);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-color: var(--color-text) transparent transparent transparent;
    transform: translateY(-25%);
    transition: 0.3s;
}

.select-selected.select-arrow-active:after {
    border-color: transparent transparent var(--color-primary) transparent;
    transform: translateY(-75%);
}

.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: -1px;
    /* Align with border */
    right: -1px;
    z-index: 99;
    border: 1px solid var(--color-border);
    border-top: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.select-hide {
    display: none;
}

.select-items div {
    color: var(--color-text);
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: var(--color-secondary);
    color: white !important;
}

/* --- Premium Infinite Carousel --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1480px;
    /* Increased max-width */
    padding: 0 40px;
    /* Reduced side padding slightly */
    margin: 0 auto;
}

.slider-track-window {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

.slide-track {
    display: flex;
    gap: 25px;
    /* Slightly tighter gap to fit 4 */
    width: max-content;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
    /* Indicate draggable */
}

.slide-track:active {
    cursor: grabbing;
}

/* Card Styling Refinements for Slider */
.slider-container .car-card {
    width: 290px;
    /* Optimized width for 4-up view */
    flex: 0 0 290px;
    margin: 0;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.slider-container .car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.slider-container .car-image-wrapper {
    height: 210px;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.slider-container .car-image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.5s ease;
}

/* For PNG Cutout Images */
.slider-container .car-image.contain-image {
    background-size: 90%;
    /* Fit within nicely */
    background-repeat: no-repeat;
    background-position: center center;
    /* Anchor to bottom looks more realistic for cars */
}

/* Coming Soon Overlay */
/* Coming Soon Overlay */
.coming-soon-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    pointer-events: none;
    width: 100%;
    text-align: center;
}

.coming-soon-overlay span {
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    display: inline-block;
}

/* Premium Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    /* Slightly smaller to save space */
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-secondary);
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--color-primary);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(230, 180, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--color-primary);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .slider-container .car-card {
        width: 280px;
        /* Scale down slightly on smaller desktops */
        flex: 0 0 280px;
    }
}

@media (max-width: 992px) {
    .slider-container {
        padding: 40px 20px;
    }

    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

.slider-nav.prev {
    left: -20px;
}

.slider-nav.next {
    right: -20px;
}

@media (max-width: 1200px) {
    .slider-container .car-card {
        flex: 0 0 260px;
        width: 260px;
    }
}

@media (max-width: 768px) {

    /* STRICT overflow control */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    .slider-track-window {
        mask-image: none !important;
        -webkit-mask-image: none !important;
        padding: 0 0 20px 0;
        overflow: hidden;
    }

    .slider-container {
        width: 100%;
        max-width: 100%;
        padding: 20px 0;
        overflow: hidden;
        margin: 0;
    }

    .slide-track {
        gap: 15px;
        /* Ensure track display is flex so items sit in a row */
        display: flex;
        width: max-content;
    }

    .slider-container .car-card {
        /* USE VW because parent width is max-content (undefined for %) */
        /* 100vw - 50px gives nice margins (25px each side approx) and avoids scrollbar overflow */
        width: calc(100vw - 40px);
        min-width: calc(100vw - 40px);
        flex: 0 0 calc(100vw - 40px);

        margin: 0;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);

        height: auto;
        min-height: 0;
        display: block;
        /* Ensure it's block */
    }

    .slider-container .car-image-wrapper {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    /* FIX THE IMAGE STRETCH */
    .slider-container .car-image {
        height: 100% !important;
        width: 100% !important;
        padding-bottom: 0 !important;
        object-fit: contain;
        /* Reset any aspect ratio hacks */
        background-size: cover !important;
        background-position: center !important;
        position: absolute;
        /* Lock it in */
        top: 0;
        left: 0;
    }

    .slider-container .car-details {
        padding: 15px;
    }

    .slider-container .car-header h3 {
        font-size: 16px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: none;
        top: 45%;
        /* Center vertically relative to image */
        transform: translateY(-50%);
        z-index: 50;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
}

/* Rental Page Styles */
.page-header {
    background-color: var(--color-gray);
    padding: 20px 0;
    font-size: 14px;
    color: #888;
}

.page-title-section {
    background-color: var(--color-secondary);
    color: white;
    padding: 60px 0;
    margin-bottom: 60px;
    text-align: center;
}

.page-title-section h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.page-title-section p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.rental-layout {
    display: flex;
    gap: 50px;
    margin-bottom: 100px;
}

.sidebar {
    flex: 0 0 280px;
}

.rental-grid {
    flex: 1;
}

.filter-box {
    background: white;
    border: 1px solid var(--color-border);
    padding: 30px;
    /* Clean corporate look */
}

.filter-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: inline-block;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 15px;
    background-color: white;
    border: 1px solid var(--color-border);
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-main);
    cursor: pointer;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Rental */
@media (max-width: 992px) {
    .rental-layout {
        flex-direction: column;
        gap: 20px;
    }

    .sidebar {
        flex: auto;
        margin-bottom: 0px;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .filter-box {
        display: none;
        margin-top: 10px;
    }

    .filter-box.mobile-active {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Rental Card Redesign (Emir Gülan Premium) --- */

.car-card {
    background: white;
    border: 1px solid #f0f0f0;
    /* Lighter border */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Soft premium shadow */
    border-color: transparent;
}

.car-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-size: 10px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    /* Full Pill shape */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: 0.3s;
}

.tag-type {
    background: rgba(255, 255, 255, 0.95);
    color: #444;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tag-year {
    background: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(4, 73, 10, 0.25);
}

.tag-campaign {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 4px 12px rgba(249, 189, 11, 0.35);
}

.car-details {
    padding: 24px 24px 0 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.car-header {
    margin-bottom: 24px;
}

.car-brand {
    font-size: 16px;
    color: var(--color-dark);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.car-trim {
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: auto;
    padding-bottom: 24px;
}



.spec-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
    padding: 2px 0;
}

.spec-box i {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--color-primary);
    box-shadow: none;
    margin-bottom: 2px;
}

.car-card:hover .spec-box i {
    background: none;
    transform: scale(1.1);
    color: var(--color-secondary);
}

.spec-box span {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    letter-spacing: -0.2px;
}

.car-card-footer {
    padding: 20px 24px;
    border-top: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    /* Prevent collision */
    background: white;
}

.price-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    /* Take available text space */
}

.price-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-amount {
    font-size: 28px;
    /* Slightly larger */
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    letter-spacing: -1px;
}

.price-amount span {
    font-size: 16px;
    font-weight: 600;
    margin-left: 2px;
    color: var(--color-primary);
    /* Gold currency symbol for premium touch */
}

.price-note {
    font-size: 10px;
    color: #aaa;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.2;
    max-width: 150px;
    /* Force wrap cleanly if needed, or truncate */
    display: block;
    /* Ensure it is visible as requested/shown */
}

.btn-arrow {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(249, 189, 11, 0.25);
    flex-shrink: 0;
    /* Never shrink button */
}

.btn-arrow:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(249, 189, 11, 0.4);
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* --- Vehicle Detail Page Styles --- */

.detail-page-wrapper {
    padding: 20px 0 60px 0;
    /* Clear header */
    background: #fcfcfc;
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    text-decoration: none;
    color: #555;
    transition: 0.2s;
}

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

.breadcrumb i {
    font-size: 10px;
}

.detail-split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.detail-image-section {
    position: relative;
    padding: 0;
    display: flex;
    /* Reverted to row/center for the image */
    align-items: center;
    justify-content: center;
    min-height: 400px;
    /* Ensure space for absolute elements */
}

/* Watermark */
.detail-image-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    transform: translate(-60%, -50%);
    background-image: url('../img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.main-car-image {
    position: relative;
    z-index: 1;
    /* Above watermark */
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    transform: scale(1.1);
    transition: 0.5s;
    /* Margin removed to prevent push */
}

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

.image-footer-features {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    width: max-content;
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.feat-item i {
    font-size: 18px;
    color: var(--color-primary);
}

.detail-info-section {
    padding-left: 20px;
}

.vehicle-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.year-badge {
    font-size: 12px;
    background: var(--color-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    vertical-align: middle;
    letter-spacing: 1px;
}

.vehicle-subtitle {
    font-size: 16px;
    color: #777;
    margin-bottom: 25px;
    font-weight: 500;
}

.vehicle-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.v-tag {
    background: #f0f0f0;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    color: #555;
}

.price-block {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.price-block .label {
    display: block;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.price-block .price {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.price-block .price span {
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

.price-block .sub-text {
    font-size: 11px;
    color: #888;
}

.assurance-card {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #fffcf4 0%, #fff 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(249, 189, 11, 0.4);
    /* Gold Soft Border */
    box-shadow: 0 4px 15px rgba(249, 189, 11, 0.05);
}

.ac-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-secondary);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(249, 189, 11, 0.3);
}

.ac-content {
    flex-grow: 1;
}

.ac-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assurance-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-primary-large {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-primary);
    /* Gold */
    color: var(--color-secondary);
    /* Dark Green Text */
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(249, 189, 11, 0.3);
    transition: 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 189, 11, 0.4);
    background: var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary-large {
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #eee;
    color: #666;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary-large:hover {
    border-color: #ddd;
    background: #f9f9f9;
    color: #333;
}

/* Specs Bar */
.specs-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
}

.spec-item-large {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-item-large i {
    font-size: 32px;
    color: var(--color-primary);
    background: rgba(249, 189, 11, 0.1);
    padding: 10px;
    border-radius: 12px;
}

.spec-item-large .lbl {
    display: block;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

.spec-item-large .val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
}

/* Tabs */
.details-tabs-container {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 20px;
}

.tabs-header {
    display: flex;
    gap: 10px;
    border-bottom: none;
    background: transparent;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 25px;
    background: #f4f4f4;
    border: none;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    /* Pill shape */
}

.tab-btn:hover {
    background: #e0e0e0;
    color: #333;
}

.tab-btn.active {
    background: var(--color-secondary);
    color: white;
    box-shadow: 0 4px 10px rgba(4, 73, 10, 0.2);
    transform: translateY(-1px);
}

.tab-content {
    padding: 10px 20px 20px;
    animation: fadeIn 0.4s ease;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

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

.specs-table tr td:first-child {
    font-weight: 600;
    color: var(--color-dark);
    width: 40%;
}

.equipment-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

@media (max-width: 768px) {
    .equipment-list {
        grid-template-columns: 1fr;
    }
}

.equipment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.equipment-list li i {
    color: var(--color-secondary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Rental Terms Tab Improvements */
.rental-terms-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 10px 0;
}

.rental-terms-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.rental-terms-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.rental-terms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .rental-terms-grid {
        grid-template-columns: 1fr;
    }
}

.rental-term-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.rental-term-card:hover {
    border-color: var(--color-secondary);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.rental-term-card i {
    font-size: 24px;
    color: var(--color-secondary);
    background: rgba(4, 73, 10, 0.08);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.rental-term-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rental-term-info strong {
    font-size: 15px;
    color: var(--color-dark);
}

.rental-term-info span {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

.rental-note-box {
    background: rgba(4, 73, 10, 0.04);
    border: 1px solid rgba(4, 73, 10, 0.1);
    border-left: 4px solid var(--color-secondary);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.rental-note-box i {
    font-size: 20px;
    color: var(--color-secondary);
    margin-top: 2px;
}

.rental-note-content {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.rental-note-content strong {
    color: var(--color-secondary);
    margin-right: 5px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Corporate Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-container.corporate-modal {
    background: #f8f9fa;
    width: 95%;
    max-width: 750px;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    /* Prevent overflow on small screens */
}

.modal-overlay.open .modal-container {
    transform: none;
}

.modal-header {
    background: white;
    padding: 15px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--color-primary);
    /* Gold header */
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Arrow Steps */
.arrow-steps {
    display: flex;
    background: #e9ecef;
    width: 100%;
}

.arrow-steps .step {
    flex: 1;
    position: relative;
    padding: 12px 10px 12px 30px;
    background: #e9ecef;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    cursor: default;
    transition: 0.2s;
    text-align: center;
}

.arrow-steps .step span {
    position: relative;
    z-index: 2;
}

/* Chevron Shape */
.arrow-steps .step::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 15px solid #e9ecef;
    z-index: 3;
    transition: 0.2s;
}

.arrow-steps .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 15px solid white;
    z-index: 1;
}

.arrow-steps .step:first-child {
    padding-left: 15px;
}

.arrow-steps .step:first-child::before {
    display: none;
}

/* Active / Current Steps */
.arrow-steps .step.current {
    background: var(--color-secondary);
    color: white;
}

.arrow-steps .step.current::after {
    border-left-color: var(--color-secondary);
}

.arrow-steps .step.done {
    background: #033808;
    /* Darker green */
    color: white;
}

.arrow-steps .step.done::after {
    border-left-color: #033808;
}

/* Modal Body */
.modal-body {
    padding: 30px;
    overflow-y: auto;
    background: white;
    flex-grow: 1;
}

.step-title {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Forms */
/* Forms Premium Redesign */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full {
    grid-column: span 2;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile/tablet default, 3 on larger handled below */
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 14px 16px;
    background-color: #f1f3f5;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    color: #212529;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    appearance: none;
    /* Removes default arrow */
    -webkit-appearance: none;
}

/* Custom Arrow for Selects */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-input:hover,
.form-select:hover {
    background-color: #e9ecef;
}

.form-input:focus,
.form-select:focus {
    background-color: #ffffff;
    border-color: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(4, 73, 10, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

/* Specific styling for Config Grid to look like Cards */
.config-grid .form-group {
    background: white;
    padding: 0;
}

.config-grid .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.config-grid .form-select:focus {
    border-color: var(--color-secondary);
    background-color: white;
}

/* Responsive */
@media (min-width: 768px) {
    .config-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Price Bar Footer */
.modal-price-bar {
    background: #f1f3f5;
    border-top: 1px solid #dee2e6;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info-left {
    display: flex;
    flex-direction: column;
}

.price-info-left .lbl {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
}

.price-info-left .val {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: 800;
}

.price-info-left .val span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.btn-back {
    padding: 12px 20px;
    background: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next {
    padding: 12px 30px;
    background: #d63031;
    /* Red like reference, or brand color? Using Brand Gold/Green usually better but user sent red button screen */
    background: var(--color-secondary);
    /* Sticking to Brand Identity as requested */
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-next:hover {
    background: #033808;
    transform: translateY(-2px);
}

.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.review-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
}

.review-table td:first-child {
    font-weight: 600;
    width: 30%;
}

.success-placeholder {
    text-align: center;
    padding: 20px;
    background: #f8fff9;
    border: 1px dashed var(--color-secondary);
    border-radius: 8px;
    color: var(--color-secondary);
}

.success-placeholder i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

@media (max-width: 900px) {

    .config-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .modal-price-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .price-info-left {
        align-items: center;
    }

    .detail-split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-image-section {
        min-height: 250px;
        margin-bottom: 50px;
        /* create space for features */
    }

    /* Mobile Watermark */
    .detail-image-section::before {
        width: 180px;
        height: 180px;
        top: -10px;
        left: -10px;
        transform: none;
        opacity: 0.08;
    }

    .image-footer-features {
        bottom: -30px;
        width: 100%;
        justify-content: center;
        gap: 15px;
        padding: 8px 15px;
    }

    .feat-item {
        font-size: 11px;
    }

    .main-car-image {
        margin-bottom: 0px;
    }

    .specs-bar {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Modern Quote Modal Redesign --- */
.modal-header-modern {
    padding: 30px 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header-modern .close-modal {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: -5px;
    margin-right: -10px;
}

.modal-header-modern .close-modal:hover {
    background-color: #f5f5f5;
    color: var(--color-danger, #e74c3c);
    transform: rotate(90deg);
}

.modal-vehicle-preview {
    display: flex;
    align-items: center;
    gap: 18px;
}

.preview-thumb {
    width: 90px;
    height: 60px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.preview-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary, #04490a);
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-year {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.p-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.p-tag i {
    font-size: 13px;
    color: var(--color-primary, #f9bd0b);
}

.modal-progress-track {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
}

.modal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary, #f9bd0b), var(--color-secondary, #04490a));
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-body {
    padding: 32px 40px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modal-header-modern {
        padding: 20px;
    }

    .modal-vehicle-preview {
        gap: 12px;
    }

    .preview-thumb {
        width: 70px;
        height: 46px;
        flex-shrink: 0;
    }

    .preview-name {
        font-size: 16px;
    }

    .preview-tags {
        gap: 6px;
    }

    .p-tag {
        font-size: 10px;
        padding: 2px 6px;
    }

    .modern-body {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {


    .preview-thumb {
        width: 80px;
        height: 50px;
    }

    .p-tag span {
        display: none;
        /* Hide text if screen is too small, keep icon? No, better keep it clean */
    }
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-badge {
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.modern-form-group {
    margin-bottom: 25px;
}

.modern-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #aaa;
    font-size: 20px;
    pointer-events: none;
    transition: color 0.3s;
}

.modern-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    /* Left padding for icon */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background: #fdfdfd;
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: white;
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(4, 73, 10, 0.08);
    outline: none;
}

.modern-input:focus+i,
.input-wrapper:focus-within i {
    color: var(--color-secondary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modal-header-modern {
        padding: 20px;
    }

    .modern-body {
        padding: 20px;
    }
}

/* Permission Checkboxes */
.permission-group {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    min-width: 20px;
    background-color: #fdfdfd;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox:hover input~.checkmark {
    border-color: var(--color-secondary);
}

.custom-checkbox input:checked~.checkmark {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: -1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.sidebar .custom-checkbox {
    margin-bottom: 5px;
}

/* Validation Errors */
.modern-input.error {
    border-color: #e74c3c !important;
    background-color: #fdf5f5 !important;
}

.modern-input.error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1) !important;
}

.input-wrapper.error i {
    color: #e74c3c;
}

.custom-checkbox.error .checkmark {
    border-color: #e74c3c;
}

.custom-checkbox.error {
    color: #e74c3c;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Step 3 Review Styles */
.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 14px;
}

.review-table tr {
    border-bottom: 1px solid #f0f0f0;
}

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

.review-table td {
    padding: 12px 0;
    color: #333;
}

.review-table td:first-child {
    color: #666;
    font-weight: 500;
    width: 40%;
}

.review-table td:last-child {
    font-weight: 600;
    text-align: right;
    color: var(--color-secondary);
}

.success-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9fcf9;
    border-radius: 12px;
    border: 1px dashed #d0e6d2;
    color: #04490a;
}

.success-placeholder i {
    font-size: 48px;
    color: #2ecc71;
    margin-bottom: 15px;
}

.success-placeholder p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* Contact Page Styles */
.page-header {
    background-color: #f8faf9;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-header h1 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.breadcrumb {
    color: #888;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(4, 73, 10, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.contact-details p {
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.contact-details a:hover {
    color: var(--color-secondary);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

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

.map-section {
    height: 500px;
    width: 100%;
    filter: grayscale(100%);
    transition: 0.3s;
    display: block;
    margin-bottom: -10px;
    padding: 0 !important;
    /* Override global section padding */
    position: relative;
}

.btn-map-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: var(--color-dark);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    transition: 0.3s;
}

.btn-map-overlay i {
    color: var(--color-primary);
    font-size: 18px;
}

.btn-map-overlay:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateX(-50%) translateY(-5px);
}

.btn-map-overlay:hover i {
    color: var(--color-dark);
}

.map-section:hover {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }
}

/* Legal Page */
.legal-section {
    padding: 80px 0;
    min-height: 800px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.blog-meta {
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    /* Header height + space */
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #eee;
}

.legal-sidebar ul li {
    margin-bottom: 5px;
}

.legal-sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: var(--color-dark);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
    background-color: #f8faf9;
    color: var(--color-primary);
    border-left-color: var(--color-primary);
}

.legal-content article {
    margin-bottom: 60px;
    scroll-margin-top: 120px;
    /* For anchor scrolling */
}

.legal-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--color-secondary);
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.legal-content h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: var(--color-dark);
}

.legal-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.legal-content ul li {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
        box-shadow: none;
        padding: 0;
        background: transparent;
        border: none;
    }

    .legal-sidebar ul {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 15px;
    }

    .legal-sidebar ul li {
        flex: 0 0 auto;
        width: auto;
    }

    .legal-sidebar ul li a {
        background: white;
        border: 1px solid #eee;
        border-radius: 50px;
        padding: 10px 20px;
        white-space: nowrap;
    }
}

/* Legal Sidebar Redesign (Premium) */
.legal-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    /* Soft shadow instead of border */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

/* Legal Sidebar Links (Unified Premium Design) */
.legal-sidebar ul li {
    margin-bottom: 10px;
}

.legal-sidebar ul li a {
    display: block;
    padding: 16px 24px;
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Soft shadow for depth */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Hover State */
.legal-sidebar ul li a:hover {
    border-color: var(--color-primary);
    background: #fffcf5;
    /* Very subtle warm tint */
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

/* Active State */
.legal-sidebar ul li a.active {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(249, 189, 11, 0.25);
}

/* Mobile Adjustments */
@media (max-width: 900px) {

    /* Layout Logic */
    .legal-layout {
        grid-template-columns: 1fr !important;
    }

    /* Reset Sidebar Container */
    .legal-sidebar {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }

    /* Vertical Stack for Links */
    .legal-sidebar ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Adjusted size for mobile touch but keeping the 'card' look */
    .legal-sidebar ul li a {
        padding: 14px 20px;
        font-size: 14px;
        /* Disable Transform on Mobile to prevent repaints/jank */
        transform: none !important;
    }

    /* Active State on Mobile */
    .legal-sidebar ul li a.active {
        box-shadow: 0 4px 10px rgba(249, 189, 11, 0.2);
    }

    /* Disable Hover on Mobile */
    .legal-sidebar ul li a:hover {
        transform: none;
        background: white;
        border-color: #eee;
        color: var(--color-dark);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    }

    /* Exception: Active item hover should remain active style */
    .legal-sidebar ul li a.active:hover {
        background: var(--color-primary);
        color: var(--color-dark);
        border-color: var(--color-primary);
    }

    /* Overflow Fix */
    .legal-content {
        width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    .legal-content p,
    .legal-content li {
        max-width: 100%;
    }
}

/* 
   ----------------------------------------
   BLOG SIDEBAR \u0026 WIDGETS (Restored)
   ----------------------------------------
*/

/* Blog Sidebar Container */
.blog-sidebar {
    position: sticky;
    top: 120px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

/* Blog Sidebar Widgets */
.blog-sidebar-widget {
    margin-bottom: 40px;
}

.blog-sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 10px;
}

.blog-sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px;
}

/* Recent Posts Widget */
.recent-posts li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.recent-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent-posts li a {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recent-posts li a .date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.recent-posts li a .title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    transition: 0.3s;
}

.recent-posts li a:hover .title {
    color: var(--color-primary);
}

/* Categories Widget */
.blog-categories {
    list-style: none;
    padding: 0;
}

.blog-categories li {
    margin-bottom: 10px;
}

.blog-categories li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8faf9;
    border-radius: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}

.blog-categories li a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    padding-left: 20px;
}

.blog-categories li a span {
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: #999;
    font-weight: 700;
}

/* Mobile Adjustments for Blog Page */
@media (max-width: 900px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: relative;
        top: 0;
        margin-top: 40px;
        padding: 0;
        box-shadow: none;
        background: transparent;
        border: none;
    }
}

/* Vertical Stack for Links */
.legal-sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Adjusted size for mobile touch but keeping the 'card' look */
.legal-sidebar ul li a {
    padding: 14px 20px;
    font-size: 14px;
    /* Disable Transform on Mobile to prevent repaints/jank */
    transform: none !important;
}

/* Active State on Mobile */
.legal-sidebar ul li a.active {
    box-shadow: 0 4px 10px rgba(249, 189, 11, 0.2);
}

/* Disable Hover on Mobile */
.legal-sidebar ul li a:hover {
    transform: none;
    background: white;
    border-color: #eee;
    color: var(--color-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* Exception: Active item hover should remain active style */
.legal-sidebar ul li a.active:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

/* Overflow Fix */
.legal-content {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.legal-content p,
.legal-content li {
    max-width: 100%;
}

.legal-content p,
.legal-content li {
    max-width: 100%;
}

/* Homepage Blog Premium (BRAND CONSISTENT WOW) */
.home-blog-premium {
    position: relative;
    padding: 120px 0;
    background-color: #fff;
    /* Light background as per brand */
    overflow: hidden;
}

.home-blog-premium .bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    /* Subtle brand blobs */
    animation: blob-float 15s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary);
    /* Brand Gold */
    top: -150px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    /* Brand Green */
    bottom: -100px;
    left: -100px;
    animation-delay: -3s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

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

.section-header-cool {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.badge-new {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(4, 73, 10, 0.05);
    color: var(--color-secondary);
    border: 1px solid rgba(4, 73, 10, 0.1);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.section-header-cool h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    letter-spacing: -2px;
}

.section-header-cool h2 span {
    color: var(--color-secondary);
    position: relative;
}

.section-header-cool h2 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-primary);
    z-index: -1;
    opacity: 0.4;
}

.link-wow {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--color-primary);
}

.link-wow:hover {
    gap: 20px;
    color: var(--color-dark);
}

.blog-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.premium-post-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
}

.post-img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-img-container .main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.post-overlay-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(4, 73, 10, 0.9) 0%, rgba(4, 73, 10, 0.4) 40%, transparent 100%);
    z-index: 1;
    transition: 0.5s;
}

.premium-cat {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 8px 18px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(249, 189, 11, 0.2);
}

.post-info-glass {
    position: relative;
    z-index: 3;
    padding: 35px;
    color: #fff;
    transition: all 0.5s ease;
}

.date-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 500;
}

.post-info-glass h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0;
    transition: 0.3s;
}

.post-footer-minimal {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.btn-read {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.premium-post-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(4, 73, 10, 0.15);
}

.premium-post-card:hover .main-img {
    transform: scale(1.1);
}

.premium-post-card:hover .post-overlay-glow {
    background: linear-gradient(to top, rgba(4, 73, 10, 0.95) 0%, rgba(4, 73, 10, 0.6) 60%, transparent 100%);
}

.premium-post-card:hover .post-footer-minimal {
    opacity: 1;
    transform: translateY(0);
}

.header-action-mobile {
    display: none;
    text-align: center;
    margin-top: 50px;
}

.btn-cta-premium {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-secondary);
    color: #fff;
    font-weight: 800;
    border-radius: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cta-premium:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .section-header-cool h2 {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .blog-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .header-action-desk {
        display: none;
    }

    .header-action-mobile {
        display: block;
    }

    .home-blog-premium {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .blog-grid-premium {
        grid-template-columns: 1fr;
    }

    .section-header-cool {
        margin-bottom: 40px;
    }

    .post-info-glass {
        padding: 30px;
    }

    .premium-post-card {
        height: 420px;
    }
}

/* Premium Scrolling Gallery */
.premium-gallery-section {
    padding: 60px 0;
    background: var(--color-secondary);
    color: white;
    overflow: hidden;
}

.gallery-minimal-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.gallery-side-title {
    flex: 0 0 25%;
}

.gallery-side-title h2 {
    display: flex;
    flex-direction: column;
    letter-spacing: -1px;
    color: white;
    line-height: 1.1;
}

.gallery-side-title .title-light {
    font-weight: 300;
    font-size: 42px;
    opacity: 0.9;
}

.gallery-side-title .title-bold {
    font-weight: 800;
    font-size: 58px;
    color: var(--color-primary);
}

.gallery-marquee-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 30px 0; /* Ensures box-shadow is not cut off by overflow:hidden */
}

/* Fade Edges for the Marquee */
.gallery-marquee-wrapper::before,
.gallery-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.gallery-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--color-secondary) 0%, transparent 100%);
}
.gallery-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--color-secondary) 0%, transparent 100%);
}

.gallery-marquee-container {
    display: flex;
    width: fit-content;
    animation: marqueeScroll 40s linear infinite;
    gap: 20px;
}

.gallery-marquee-container:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); }
}

@media (max-width: 991px) {
    .gallery-minimal-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .gallery-side-title {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
        height: 160px;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-lightbox.active img {
    transform: scale(1);
}

.gallery-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.3s;
    line-height: 1;
}

.gallery-lightbox-close:hover {
    transform: scale(1.1);
    color: var(--color-primary);
}