* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e0e0e0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Top Bar Styles */
.top-bar {
    background-color: #808080; /* Gray */
    color: black;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    font-size: 16px;
}

.contact-phone-link,
.footer-phone-link,
.quick-phone-link,
.team-phone-link {
    color: inherit;
    text-decoration: none;
}

.contact-phone-link:hover,
.footer-phone-link:hover,
.quick-phone-link:hover,
.team-phone-link:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: black;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #003366;
}

/* Main Header Styles */
.main-header {
    background-color: #003366; /* Blue */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: static;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Navigation Styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffd700;
}

.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffd700;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffd700;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background-color: #004d99;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 15px;
    border: 2px solid #003366;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.language-selector:hover {
    background-color: #f0f0f0;
}

.flag-icon {
    width: 25px;
    height: auto;
    border-radius: 50%;
}

.language-selector span {
    font-weight: 600;
    color: #333;
}

.language-selector i {
    font-size: 12px;
    color: #666;
}

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 200px);
    display: flex;
    gap: 10px;
    padding: 0 15px;
    background-color: #e8e8e8;
}

/* Left Sidebar */
.left-sidebar {
    width: 220px;
    background-color: white;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    position: sticky;
    top: 90px;
}

.sidebar-item {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.sidebar-toggle {
    background-color: white;
    color: #003366;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.sidebar-toggle:hover {
    background-color: #f8f9fa;
}

.sidebar-toggle.active {
    background-color: #003366;
    color: white;
    border-bottom: 1px solid #003366;
}

.sidebar-toggle i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.sidebar-toggle.active i {
    transform: rotate(180deg);
}

.sidebar-content {
    background-color: #f8f9fa;
    padding: 12px;
}

.sidebar-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar-options label:hover {
    color: #003366;
}

.sidebar-options input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: #003366;
}

.make-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.type-icon {
    font-size: 14px;
    color: #003366;
    width: 18px;
    text-align: center;
}

/* Sidebar Filter Ranges and Radio Buttons */
.filter-range {
    padding: 15px;
    background-color: #f8f9fa;
}

.filter-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

.range-slider {
    width: 100%;
    height: 22px;
    background: linear-gradient(to right, #dc143c, #dc143c);
    border-radius: 10px;
    position: relative;
    margin: 10px 0;
}

.range-slider input[type="range"] {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #dc143c;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #dc143c;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.filter-radio-group {
    padding: 15px;
    background-color: #f8f9fa;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #dc143c;
}

.radio-option label {
    font-size: 12px;
    color: #333;
    cursor: pointer;
}

/* Filters Section */
.filters-section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-group {
    flex: 1;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.filter-header {
    background: linear-gradient(to bottom, #003366, #004d99);
    color: white;
    padding: 12px 15px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.filter-header:hover {
    background: linear-gradient(to bottom, #004d99, #0066cc);
}

.filter-header i:first-child {
    font-size: 16px;
}

.filter-header i:last-child {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.filter-header.active i:last-child {
    transform: rotate(180deg);
}

.filter-options {
    padding: 15px;
    background-color: #f8f9fa;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    padding: 8px 10px;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.filter-options label:hover {
    background-color: #003366;
    color: white;
    border-color: #003366;
    transform: translateX(3px);
}

.filter-options label:hover .make-logo {
    filter: brightness(0) invert(1);
}

.filter-options label:hover .type-icon {
    color: white;
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #003366;
}

/* Featured Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 460px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.1);
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.2) 0%, rgba(0, 77, 153, 0.15) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    text-align: center;
    color: white;
    padding: 40px;
    max-width: 800px;
    animation: bannerFadeIn 1s ease-out;
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-btn {
    background: linear-gradient(135deg, #dc143c, #ff1744);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.banner-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.banner-btn:hover::before {
    width: 300px;
    height: 300px;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.6);
}

/* Navigation Arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.banner-prev {
    left: 30px;
}

.banner-next {
    right: 30px;
}

.banner-nav:hover {
    background: rgba(220, 20, 60, 0.9);
    border-color: rgba(220, 20, 60, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

/* Navigation Dots */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
}

.banner-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: white;
    transition: all 0.4s ease;
}

.banner-dot.active {
    background: white;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.banner-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    min-width: 0;
}

.section {
    padding: 60px 20px;
}

.stocks-container {
    padding: 10px;
}
.range-selected {
    font-size: 11px;
    color: #4f5f72;
    margin: 6px 0 8px;
}

.section h1 {
    font-size: 48px;
    color: #003366;
    margin-bottom: 20px;
}

.section h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
}

.section p {
    font-size: 18px;
    color: #666;
    text-align: center;
}

/* Home Section - Search Area */
.home-section,
#stocks {
    background-color: #e8e8e8;
    padding: 15px 10px;
}

/* Hide sidebar on home page */
.home-section ~ .left-sidebar,
#home:target ~ .left-sidebar {
    display: none;
}

.section#home.active ~ * .left-sidebar {
    display: none;
}

body:has(.home-section:not([style*="display: none"])) .left-sidebar {
    display: none;
}

.search-container {
    width: 100%;
    max-width: 100%;
    margin: 0 0 30px 0;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.stocks-page .stocks-filters {
    top: 12px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding-bottom: 12px;
}
.sidebar-apply-wrap {
    margin-top: 8px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-apply-btn {
    width: 100%;
    border: none;
    border-radius: 6px;
    background-color: #003366;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 10px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.sidebar-apply-btn:hover {
    background-color: #004d99;
}

.sidebar-clear-btn {
    width: 100%;
    border: 1px solid #b9c9da;
    border-radius: 6px;
    background-color: #f3f6fa;
    color: #2f4d6d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 10px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.sidebar-clear-btn:hover {
    background-color: #e5edf6;
}
/* Keyword Search */
.keyword-search {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.keyword-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #003366;
    border-radius: 25px;
    font-size: 13px;
    color: #333;
    transition: all 0.3s ease;
    background: linear-gradient(to right, #ffffff, #f8f9fa);
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.1);
}

.keyword-input:focus {
    outline: none;
    border-color: #004d99;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15), 0 2px 12px rgba(0, 51, 102, 0.2);
    background: white;
    transform: translateY(-1px);
}

.keyword-input::placeholder {
    color: #999;
    font-size: 12px;
}

.keyword-search-btn {
    background: linear-gradient(135deg, #003366, #004d99);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
    text-transform: uppercase;
}

.keyword-search-btn:hover {
    background: linear-gradient(135deg, #004d99, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.4);
}

.keyword-search-btn i {
    font-size: 12px;
}

.search-toggle-btn {
    background: linear-gradient(to right, white, #f8f9fa);
    color: #003366;
    border: 2px solid #003366;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.1);
    text-transform: uppercase;
}

.search-toggle-btn:hover {
    background: linear-gradient(135deg, #003366, #004d99);
    color: white;
    border-color: #004d99;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.25);
}

.search-toggle-btn i {
    font-size: 13px;
}

.search-title {
    text-align: center;
    color: #003366;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.search-title:hover {
    color: #004d99;
}

.search-title i {
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.search-title.active i {
    transform: rotate(180deg);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.form-row:nth-child(2),
.form-row:nth-child(3) {
    grid-template-columns: 1fr 1fr;
}

.form-row:nth-child(4) {
    grid-template-columns: 1fr;
}

.form-row select,
.form-row input[type="text"],
.form-row input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
}

.form-row select:focus,
.form-row input:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

.form-row select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.submit-btn {
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: 100%;
    text-transform: uppercase;
}

.submit-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.3);
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-field label {
    color: #003366;
    font-weight: 600;
    font-size: 12px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
    color: #333;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: #003366;
    background-color: white;
}

.search-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.search-btn {
    background-color: #003366;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    margin-top: 5px;
    align-self: center;
    min-width: 120px;
}

.search-btn:hover {
    background-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.25);
}

.home-db-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: flex-end;
    margin-bottom: 14px;
    margin-left: 0;
    margin-right: 0;
    padding: 14px 16px;
    width: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #003a73 0%, #004785 100%);
}

.home-db-filter .search-field {
    flex: 1;
    min-width: 0;
}

.home-db-filter .search-field label {
    display: none;
}

.home-db-filter .search-field select {
    height: 48px;
    border: none;
    border-radius: 24px;
    background-color: #fff;
    padding-left: 16px;
    font-size: 17px;
    color: #2f4358;
    background-position: right 14px center;
    background-size: 14px;
}

.home-db-filter .search-btn {
    height: 48px;
    margin-top: 0;
    min-width: 180px;
    border-radius: 6px;
    padding: 0 18px;
    white-space: nowrap;
    background-color: #2f4f73;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-db-filter .search-btn:hover {
    transform: none;
    box-shadow: none;
    background-color: #3a5d84;
}

/* Stocks Section */
.stocks-container {
    display: block;
    width: 100%;
    margin-top: 15px;
}

/* Car Listings */
.car-listings {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stocks-container .car-listings {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
}

.stocks-page .stocks-container .car-listings {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 14px;
}

.car-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.car-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.car-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.car-image {
    position: relative;
    width: 100%;
    height: 250px;
}

.stock-card-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.86);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

.stock-card-image-prev {
    left: 8px;
}

.stock-card-image-next {
    right: 8px;
}

.stock-card-image-nav:hover {
    background: #004d99;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f0f0f0;
}

.recommended-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 2;
}

.certified-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.certified-badge i {
    font-size: 16px;
}

.stock-number {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.recommended-badge,
.certified-badge,
.stock-number {
    display: none !important;
}

.car-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.global-whatsapp-widget {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
}

.global-wa-toggle {
    width: 62px;
    height: 62px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.global-wa-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(330px, 84vw);
    background: #fff;
    border: 1px solid #d8e4f1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.global-wa-panel-head {
    background: #003366;
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.global-wa-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.global-wa-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.global-wa-member {
    border: 1px solid #dbe7f4;
    border-radius: 10px;
    padding: 8px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 8px;
    align-items: center;
    background: #f8fbff;
}

.global-wa-member img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d1e2f5;
}

.global-wa-member-name {
    font-size: 14px;
    font-weight: 700;
    color: #193a5b;
}

.global-wa-member-role {
    font-size: 12px;
    color: #5c758f;
    margin-bottom: 5px;
}

.global-wa-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border-radius: 6px;
    background: #25d366;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.global-wa-contact-btn:hover {
    background: #20bd5b;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    align-self: flex-start;
}

.status-instock {
    background-color: #28a745;
    color: white;
}

.status-upcoming {
    background-color: #ffc107;
    color: #000;
}

.status-newarrival {
    background-color: #dc3545;
    color: white;
}

.car-title {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.car-location {
    color: #666;
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-location i {
    color: #dc143c;
}

.car-price {
    margin-bottom: 12px;
}

.price-btn {
    background-color: #dc143c;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-btn:hover {
    background-color: #ff1744;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 20, 60, 0.3);
}

.car-info-grid {
    width: 100%;
    margin-bottom: 12px;
}

.car-info-table {
    width: 100%;
    border-collapse: collapse;
}

.car-info-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 13px;
    background-color: white;
    text-align: left;
}

.car-info-table td:first-child {
    width: 50%;
    color: #666;
    font-weight: 500;
}

.car-info-table td:last-child {
    width: 50%;
    color: #1a1a1a;
    font-weight: 600;
    text-align: left;
}

.car-info-table i {
    margin-right: 5px;
    color: #666;
    font-size: 14px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.info-item i {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.info-item i {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
}

.inquiry-btn {
    background: linear-gradient(135deg, #dc143c, #ff1744);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.inquiry-btn:hover {
    background: linear-gradient(135deg, #ff1744, #dc143c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.inquiry-btn i {
    font-size: 14px;
}

.recommended-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: white;
    padding: 6px 15px;
    font-size: 11px;
    font-weight: 700;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 2;
}



.car-info {
    margin-bottom: 8px;
}

.car-info table {
    width: 100%;
    border-collapse: collapse;
}

.car-info table td {
    border: 1px solid #ddd;
    padding: 6px 8px;
    font-size: 12px;
}

.car-info table td:first-child {
    background-color: #f0f0f0;
    font-weight: 600;
    color: #333;
    width: 40%;
}

.car-info table td:last-child {
    background-color: white;
    color: #333;
}

.price-btn {
    background-color: #dc143c;
    color: white;
    border: none;
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.3px;
}

.price-btn:hover {
    background-color: #b01030;
}

.car-condition {
    display: flex;
    gap: 20px;
    margin-bottom: 6px;
    font-size: 11px;
    color: #333;
}

.car-condition strong {
    color: #003366;
    font-weight: 700;
}

.inquiry-btn {
    background-color: #dc143c;
    color: white;
    border: none;
    padding: 5px 16px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 5px;
}

.inquiry-btn:hover {
    background-color: #b01030;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 20, 60, 0.25);
}

.inquiry-btn i {
    font-size: 11px;
}

/* Car View Page */
.car-view-main {
    padding: 15px;
    overflow-x: hidden;
}

.car-view-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.car-view-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.car-view-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.car-main-image-wrap {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #edf3fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.car-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 51, 102, 0.85);
    color: white;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.car-image-prev {
    left: 10px;
}

.car-image-next {
    right: 10px;
}

.car-image-nav:hover {
    background-color: #003366;
}

.car-main-image {
    width: 100%;
    height: 380px;
    object-fit: contain;
    display: block;
    background-color: #edf3fa;
}

.car-thumb-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}

.car-thumb {
    width: 100%;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
}

.car-thumb.active {
    border-color: #003366;
}

.car-view-summary h1 {
    font-size: 26px;
    color: #003366;
    margin: 10px 0;
    line-height: 1.3;
}

.car-view-summary {
    background-color: #f8fbff;
    border: 1px solid #d5e3f4;
    border-radius: 8px;
    padding: 14px;
}

.car-view-stock,
.car-view-location {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.car-view-location i {
    color: #dc143c;
}

.car-view-detail-box,
.car-options-box {
    margin-top: 10px;
}

.car-options-box {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.car-view-detail-box h2,
.car-options-box h2 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 8px;
}

.car-detail-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    table-layout: fixed;
}

.car-detail-table th,
.car-detail-table td {
    border: 1px solid #ccc;
    padding: 7px 8px;
    font-size: 12px;
    word-break: break-word;
}

.car-detail-table th {
    background-color: #f0f3f8;
    color: #003366;
    text-align: left;
    width: 18%;
}

.car-options-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #7aa0c9;
    table-layout: fixed;
}

.car-options-table th {
    background-color: #003366;
    color: #fff;
    text-align: left;
    padding: 8px 10px;
    font-size: 18px;
}

.car-options-table td {
    width: 33.33%;
    text-align: center;
    border: 1px solid #9ab9da;
    padding: 8px 6px;
    font-size: 14px;
    line-height: 1.25;
    word-break: break-word;
    color: #111;
    background-color: #eef5fc;
}

.car-options-table td.option-on {
    background-color: #d9ebff;
    color: #0f2f58;
}

.car-options-table td.option-off {
    background-color: #d5d5d5;
    color: #808080;
}

.related-cars-section {
    margin-top: 18px;
    border-top: 1px solid #d8e4f1;
    padding-top: 14px;
}

.related-cars-section h2 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 10px;
}

.related-cars-nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.related-nav-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background-color: #003366;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.related-nav-btn:hover {
    background-color: #004d99;
}

.related-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.related-cars-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.related-car-card {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid #d0deed;
    border-radius: 8px;
    background-color: #f8fbff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-car-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.14);
}

.related-car-image {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background-color: #eef5fc;
    display: block;
}

.related-car-body {
    padding: 8px;
}

.related-car-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #003366;
    margin-bottom: 4px;
}

.related-car-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
}

.related-car-spec,
.related-car-stock {
    font-size: 11px;
    color: #4f5f72;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-car-spec i,
.related-car-stock i {
    color: #003366;
}

.related-car-stock {
    margin-top: 6px;
}

/* Pagination */
.pagination-container {
    margin-top: 30px;
    padding: 20px 15px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    display: none;
}

.stock-result {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.stock-result strong {
    color: #003366;
    font-weight: 700;
}

.pagination {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.page-btn {
    background-color: white;
    color: #003366;
    border: 1px solid #003366;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
}

.page-btn:hover {
    background-color: #f0f0f0;
}

.page-btn.active {
    background-color: #003366;
    color: white;
}

.page-dots {
    color: #666;
    font-size: 16px;
    padding: 0 5px;
}

.pagination-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.pagination-controls label {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.items-per-page,
.page-select {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    background-color: white;
}

.items-per-page:focus,
.page-select:focus {
    outline: none;
    border-color: #003366;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-section {
    padding: 30px 12px;
}

.contact-hero {
    background: linear-gradient(135deg, #003366, #0a4f92);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    color: #fff;
    margin-bottom: 20px;
}

.contact-hero-text {
    padding: 26px 24px;
}

.contact-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: #cfe6ff;
    margin-bottom: 8px;
}

.contact-hero-text h1 {
    font-size: 34px;
    color: #fff;
    margin-bottom: 10px;
}

.contact-hero-text p {
    text-align: left;
    color: #e6f2ff;
    font-size: 14px;
}

.contact-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.contact-quick-info span {
    background-color: rgba(255, 255, 255, 0.14);
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
}

.contact-form-card,
.contact-team-card {
    background-color: #fff;
    border: 1px solid #dce8f4;
    border-radius: 12px;
    padding: 16px;
}

.contact-form-card h2,
.contact-team-card h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
}

.contact-mail-form label {
    display: block;
    color: #23405d;
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-mail-form input,
.contact-mail-form textarea {
    width: 100%;
    border: 1px solid #cfdceb;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    color: #24394f;
    background-color: #f9fcff;
}

.contact-mail-form input:focus,
.contact-mail-form textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
}

.contact-send-btn {
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #003366, #0055a4);
    color: white;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-member {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid #d7e5f3;
    border-radius: 10px;
    background-color: #f8fbff;
}

.team-member img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c5d9ef;
}

.team-member h3 {
    font-size: 16px;
    color: #0d355b;
    margin-bottom: 2px;
}

.team-role {
    font-size: 12px;
    color: #55708c;
    margin-bottom: 6px;
}

.team-member p {
    font-size: 12px;
    color: #3f556c;
    margin-bottom: 4px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-contact-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: linear-gradient(135deg, #003366, #0054a0);
    color: #fff;
    border-radius: 6px;
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.team-contact-btn:hover {
    background: linear-gradient(135deg, #0054a0, #003366);
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details p {
    font-size: 20px;
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.about-section {
    padding: 30px 12px;
}

.about-hero {
    background: linear-gradient(135deg, #003366, #0a4f92);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    color: white;
    margin-bottom: 20px;
}

.about-hero-text {
    padding: 28px 26px;
}

.about-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: #cde5ff;
    margin-bottom: 8px;
}

.about-hero-text h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #ffffff;
}

.about-hero-text p {
    font-size: 15px;
    color: #e8f3ff;
    text-align: left;
}

.about-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.about-hero-badges span {
    background-color: rgba(255, 255, 255, 0.14);
    padding: 7px 10px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.about-stat-card {
    background-color: white;
    border: 1px solid #d6e4f3;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.about-stat-card h3 {
    color: #003366;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-card p {
    font-size: 12px;
    color: #5b6a79;
    text-align: center;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.about-story-image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-story-text {
    background-color: white;
    border: 1px solid #dde9f4;
    border-radius: 12px;
    padding: 18px;
}

.about-story-text h2,
.about-values h2,
.about-process h2 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 10px;
}

.about-story-text p {
    font-size: 14px;
    color: #4e5b68;
    text-align: left;
    margin-bottom: 10px;
}

.about-values {
    background-color: white;
    border: 1px solid #dce7f2;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.about-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.about-value-item {
    background-color: #f8fbff;
    border: 1px solid #dce8f5;
    border-radius: 10px;
    padding: 14px;
}

.about-value-item i {
    color: #003366;
    font-size: 20px;
    margin-bottom: 8px;
}

.about-value-item h3 {
    color: #0e3358;
    font-size: 16px;
    margin-bottom: 6px;
}

.about-value-item p {
    font-size: 13px;
    color: #516172;
    text-align: left;
}

.about-process {
    background: #003366;
    border-radius: 12px;
    padding: 18px;
}

.about-process h2 {
    color: white;
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.about-process-grid div {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #eaf3ff;
    border-radius: 10px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.about-process-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffd700;
    color: #003366;
    font-weight: 700;
    font-size: 12px;
    margin-right: 6px;
}

/* Footer Styles */
.main-footer {
    background-color: #003366;
    color: white;
    padding: 30px 0 0 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-links a i {
    font-size: 12px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-contact i {
    font-size: 16px;
    color: #ffd700;
}

.footer-logo {
    margin: 14px 0;
    text-align: center;
}

.footer-logo img {
    height: 86px;
    width: auto;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    background-color: white;
    color: #003366;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background-color: #ffd700;
    color: #003366;
    transform: translateY(-5px);
}

.footer-map-section {
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.footer-map-inner {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    overflow: hidden;
}

.footer-map-inner iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.footer-bottom {
    background-color: #002244;
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #003366;
}

.modal-content h2 {
    margin-bottom: 30px;
    color: #003366;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #003366;
}

.submit-btn {
    width: 100%;
    background-color: #003366;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #004d99;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 14px;
    }

    .left-sidebar {
        display: none;
    }
    
    .main-content {
        padding: 0 15px;
    }
    
    .content-wrapper {
        width: 100%;
    }
    
    .main-nav ul {
        gap: 25px;
    }
    
    .contact-info {
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 16px;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 14px;
    }

    .footer-logo img {
        height: 110px;
    }

    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
    
    .banner-carousel {
        height: 340px;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .banner-subtitle {
        font-size: 16px;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .banner-prev {
        left: 15px;
    }
    
    .banner-next {
        right: 15px;
    }
    
    .filters-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-options {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }
    
    .car-listings {
        grid-template-columns: 1fr;
    }
    
    .stocks-container .car-listings {
        grid-template-columns: 1fr;
    }

    .stocks-page .stocks-container .car-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .left-sidebar {
        display: none;
    }

    .stocks-page .main-content {
        flex-direction: column;
    }

    .stocks-page .left-sidebar {
        display: block;
        width: 100%;
        position: static;
        top: auto;
        margin-bottom: 10px;
        padding: 6px;
        border-radius: 8px;
    }

    .stocks-page .sidebar-item {
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .stocks-page .sidebar-toggle {
        font-size: 12px;
        padding: 10px 12px;
    }

    .stocks-page .sidebar-content {
        padding: 10px;
    }

    .stocks-page .sidebar-options label {
        font-size: 11px;
        gap: 6px;
    }

    .stocks-page .radio-option label {
        font-size: 11px;
    }

    .stocks-page .range-values {
        font-size: 10px;
    }

    .main-content {
        padding: 0 10px;
        gap: 8px;
    }
    
    .car-listings {
        grid-template-columns: 1fr;
    }
    
    .stocks-container .car-listings {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stocks-page .stocks-container .car-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stocks-page .car-image {
        height: 130px;
    }

    .stocks-page .car-details {
        padding: 10px;
    }

    .stocks-page .car-title {
        font-size: 13px;
        line-height: 1.25;
    }

    .car-view-section {
        padding: 12px;
    }

    .car-view-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .car-main-image {
        height: 260px;
    }

    .car-main-image-wrap {
        min-height: 260px;
    }

    .car-image-nav {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .car-image-prev {
        left: 8px;
    }

    .car-image-next {
        right: 8px;
    }

    .car-thumb-row {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .car-thumb {
        height: 58px;
    }

    .car-view-summary h1 {
        font-size: 18px;
    }

    .car-view-stock,
    .car-view-location {
        font-size: 13px;
    }

    .car-view-summary {
        padding: 10px;
    }

    .car-view-detail-box h2,
    .car-options-box h2 {
        font-size: 16px;
    }

    .car-options-box {
        max-width: 100%;
        overflow-x: visible;
    }

    .car-options-table {
        min-width: 0;
        width: 100%;
    }

    .car-detail-table th,
    .car-detail-table td {
        font-size: 11px;
        padding: 6px 5px;
    }

    .car-options-table th {
        font-size: 14px;
        padding: 7px;
    }

    .car-options-table td {
        font-size: 11px;
        padding: 6px 3px;
    }

    .related-cars-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .related-car-image {
        height: 110px;
    }

    .related-cars-section h2 {
        font-size: 16px;
    }

    .related-car-title {
        font-size: 12px;
    }

    .related-car-spec,
    .related-car-stock {
        font-size: 10px;
    }
    
    .car-image {
        height: 165px;
    }

    .car-details {
        padding: 12px;
    }
    
    .car-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inquiry-btn {
        width: 100%;
    }
    
    .banner-carousel {
        height: 260px;
        margin-bottom: 20px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .banner-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .filter-options {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
        padding: 12px;
    }
    
    .filter-header {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .car-card {
        flex-direction: column;
    }
    
    .car-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
    
    .car-title {
        font-size: 14px;
    }
    
    .car-info-table {
        font-size: 10px;
    }
    
    .car-info-table th,
    .car-info-table td {
        padding: 5px 4px;
        font-size: 10px;
    }
    
    .car-info-table th {
        font-size: 10px;
        font-weight: 700;
    }
    
    .price-btn {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .car-condition {
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }
    
    .inquiry-btn {
        width: 100%;
        justify-content: center;
    }
    
    .pagination {
        gap: 3px;
    }
    
    .page-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 35px;
    }
    
    .pagination-controls {
        justify-content: center;
        gap: 15px;
    }
    
    .pagination-controls label {
        font-size: 13px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        font-size: 12px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .contact-item i {
        font-size: 14px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-icon {
        font-size: 16px;
    }

    .main-header {
        padding: 10px 0;
    }

    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .logo img {
        height: 45px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        font-size: 12px;
    }
    
    .main-nav a {
        font-size: 12px;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .login-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .language-selector {
        padding: 6px 12px;
    }
    
    .flag-icon {
        width: 20px;
    }
    
    .language-selector span {
        font-size: 13px;
    }

    .search-container {
        max-width: 95%;
        padding: 8px 12px;
    }
    
    .keyword-search {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .keyword-input {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .keyword-input::placeholder {
        font-size: 11px;
    }
    
    .keyword-search-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .search-title {
        font-size: 16px;
        padding: 6px 0;
    }
    
    .search-title i {
        font-size: 14px;
        margin-left: 6px;
    }
    
    .search-form {
        gap: 8px;
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .search-field label {
        font-size: 11px;
    }
    
    .search-field select,
    .search-field input {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .search-btn {
        width: 100%;
        min-width: auto;
        padding: 8px 20px;
        font-size: 12px;
    }

    .home-db-filter {
        gap: 10px;
        overflow-x: auto;
        padding: 10px;
        width: 100%;
        margin-left: 0;
    }

    .home-db-filter .search-field {
        min-width: 150px;
    }

    .home-db-filter .search-field select {
        height: 42px;
        border-radius: 21px;
        padding-left: 12px;
        font-size: 13px;
        background-size: 12px;
    }

    .home-db-filter .search-btn {
        min-width: 110px;
        width: auto;
        height: 42px;
        font-size: 13px;
        padding: 0 14px;
    }

    .section {
        padding: 30px 10px;
    }

    .section h1 {
        font-size: 24px;
    }

    .section h2 {
        font-size: 22px;
    }
    
    .section p {
        font-size: 13px;
    }

    .contact-content p {
        font-size: 14px;
    }

    .contact-hero,
    .contact-grid,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero-text {
        padding: 18px 14px;
    }

    .contact-hero-text h1 {
        font-size: 26px;
    }

    .contact-hero-image img {
        min-height: 220px;
    }

    .contact-form-card h2,
    .contact-team-card h2 {
        font-size: 20px;
    }

    .contact-details {
        margin-top: 18px;
        gap: 10px;
    }

    .contact-details p {
        font-size: 14px;
        gap: 6px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero-text {
        padding: 18px 14px;
    }

    .about-hero-text h1 {
        font-size: 26px;
    }

    .about-hero-image img {
        min-height: 220px;
    }

    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-story-grid,
    .about-value-grid,
    .about-process-grid {
        grid-template-columns: 1fr;
    }

    .about-story-text h2,
    .about-values h2,
    .about-process h2 {
        font-size: 22px;
    }

    .main-footer {
        padding: 30px 0 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 22px;
        padding: 0 12px;
    }

    .footer-column h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 13px;
        gap: 8px;
    }

    .footer-logo {
        margin: 15px 0;
    }

    .footer-logo img {
        height: 85px;
    }

    .footer-social {
        gap: 12px;
    }

    .footer-social-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .footer-bottom {
        padding: 14px 0;
    }

    .footer-map-section {
        padding: 0 12px;
        margin-bottom: 16px;
    }

    .footer-map-inner iframe {
        height: 260px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
    
    .stocks-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 90%;
        padding: 25px;
        margin: 20% auto;
    }
    
    .modal-content h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .left-sidebar {
        display: none !important;
    }

    .stocks-page .left-sidebar {
        display: block !important;
        width: 100%;
        margin-bottom: 10px;
        padding: 6px;
    }

    .stocks-page .sidebar-toggle {
        font-size: 11px;
        padding: 9px 10px;
    }

    .stocks-page .sidebar-content {
        padding: 8px;
    }

    .stocks-page .sidebar-options label,
    .stocks-page .radio-option label {
        font-size: 10px;
    }

    .stocks-page .stocks-container .car-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .stocks-page .car-image {
        height: 110px;
    }

    .stocks-page .car-details {
        padding: 8px;
    }

    .stocks-page .car-title {
        font-size: 12px;
    }

    .car-image {
        height: 135px;
    }

    .home-section .car-listings {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-section .car-card {
        border-radius: 14px;
        overflow: hidden;
    }

    .home-section .car-image {
        height: 185px;
    }

    .home-section .car-details {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px 10px;
    }

    .home-section .status-badge,
    .home-section .car-title,
    .home-section .car-location,
    .home-section .car-price,
    .home-section .car-info-grid,
    .home-section .inquiry-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .home-section .car-location,
    .home-section .inquiry-btn {
        display: flex !important;
    }

    .home-section .status-badge {
        align-self: flex-start;
        margin-bottom: 6px;
    }

    .home-section .car-title {
        font-size: 17px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .home-section .car-location {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .home-section .price-btn {
        padding: 6px 14px;
        font-size: 10px;
    }

    .home-section .car-info-table td {
        padding: 6px 5px;
        font-size: 10px;
    }

    .home-section .inquiry-btn {
        font-size: 12px;
        padding: 10px 14px;
    }

    .car-main-image {
        height: 220px;
    }

    .car-main-image-wrap {
        min-height: 220px;
    }

    .car-image-nav {
        width: 30px;
        height: 30px;
    }

    .car-thumb {
        height: 50px;
    }

    .car-detail-table th,
    .car-detail-table td {
        font-size: 9px;
        padding: 4px 2px;
    }

    .car-options-table th {
        font-size: 11px;
        padding: 6px 5px;
    }

    .car-options-table td {
        font-size: 9px;
        padding: 4px 2px;
    }

    .car-view-main {
        padding: 8px;
    }

    .car-view-section {
        padding: 8px;
    }

    .car-view-summary {
        padding: 7px;
    }

    .car-view-summary {
        padding: 8px;
    }

    .related-cars-section {
        margin-top: 12px;
        padding-top: 10px;
    }

    .related-cars-list {
        grid-template-columns: 1fr;
    }

    .related-car-image {
        height: 120px;
    }

    .related-car-specs {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    
    .banner-carousel {
        height: 220px;
    }
    
    .banner-title {
        font-size: 22px;
        letter-spacing: 1px;
    }
    
    .banner-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: 10px 25px;
        font-size: 12px;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .banner-prev {
        left: 10px;
    }
    
    .banner-next {
        right: 10px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-dot.active {
        width: 30px;
    }
    
    .filters-section {
        gap: 8px;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .filter-options label {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .top-bar {
        font-size: 11px;
    }
    
    .contact-item {
        font-size: 11px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .main-nav ul {
        gap: 6px;
    }
    
    .main-nav a {
        font-size: 11px;
    }
    
    .login-btn {
        padding: 8px 20px;
        font-size: 12px;
    }
    
    .search-title {
        font-size: 13px;
    }

    .contact-content p {
        font-size: 13px;
    }

    .contact-section {
        padding: 20px 8px;
    }

    .contact-hero-text h1 {
        font-size: 22px;
    }

    .contact-hero-text p,
    .team-member p,
    .contact-mail-form input,
    .contact-mail-form textarea {
        font-size: 12px;
    }

    .contact-quick-info span {
        font-size: 11px;
    }

    .team-member {
        grid-template-columns: 62px 1fr;
    }

    .team-member img {
        width: 62px;
        height: 62px;
    }

    .team-contact-btn {
        width: 100%;
        justify-content: center;
        font-size: 10px;
        padding: 7px 8px;
    }

    .contact-details p {
        font-size: 13px;
    }

    .footer-container {
        padding: 0 10px;
        gap: 14px;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 12px;
    }

    .footer-social-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .footer-map-section {
        padding: 0 10px;
    }

    .footer-map-inner iframe {
        height: 220px;
    }

    .modal-content {
        width: 92%;
        padding: 20px;
        margin: 28% auto;
    }
    
    .car-info-table th,
    .car-info-table td {
        padding: 4px 2px;
        font-size: 9px;
    }

    .car-details {
        display: flex !important;
        flex-direction: column !important;
        padding: 10px 8px !important;
    }

    .status-badge,
    .car-title,
    .car-location,
    .car-price {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .car-location {
        display: flex !important;
        align-items: center;
    }

    .car-title {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }

    .car-price {
        margin-bottom: 8px !important;
    }

    .status-badge {
        margin-bottom: 6px !important;
    }
    
    .price-btn {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    .search-field label {
        font-size: 10px;
    }
    
    .search-field select,
    .search-field input {
        font-size: 10px;
        padding: 5px 6px;
    }
    
    .section h1 {
        font-size: 20px;
    }
    
    .section h2 {
        font-size: 18px;
    }

    .about-section {
        padding: 20px 8px;
    }

    .about-hero-text h1 {
        font-size: 22px;
    }

    .about-hero-text p,
    .about-story-text p,
    .about-value-item p,
    .about-process-grid div {
        font-size: 12px;
    }

    .about-stat-card h3 {
        font-size: 22px;
    }

    .about-stat-card p {
        font-size: 11px;
    }
}

/* Sidebar Search Container */
.sidebar-search-container {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-search-container .keyword-search {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: none;
}

.sidebar-search-container .search-toggle-btn {
    width: 100%;
}

.sidebar-search-container .search-form {
    margin-top: 15px;
}

/* Home + Stocks Card UI Polish */
.car-listings {
    align-items: stretch;
    gap: 10px;
}

.car-card-link {
    height: 100%;
}

.car-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #d9e4ef;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 51, 102, 0.08);
}

.car-card:hover {
    box-shadow: 0 12px 28px rgba(0, 51, 102, 0.16);
    transform: translateY(-3px);
}

.car-image {
    height: 210px;
    background: linear-gradient(180deg, #f9fcff 0%, #eef5fc 100%);
    border-bottom: 1px solid #d9e4ef;
}

.car-image img {
    object-fit: contain;
    padding: 6px;
    background: transparent;
}

.car-details {
    padding: 10px;
    gap: 4px;
}

.car-card .status-badge {
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 10px;
    letter-spacing: 0.6px;
    margin-bottom: 0;
}

.car-card .car-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    min-height: 34px;
    color: #0f2943;
}

.car-card .car-location {
    margin-bottom: 0;
    font-size: 11px;
    color: #4f647a;
    min-height: 15px;
}

.car-card .car-price {
    margin: 0;
}

.car-card .price-btn {
    width: 100%;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.4px;
}

.car-card .car-info-grid {
    margin: 0;
}

.car-card .car-info-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    overflow: hidden;
}

.car-card .car-info-table tr:nth-child(odd) td {
    background: #f8fbff;
}

.car-card .car-info-table tr:nth-child(even) td {
    background: #ffffff;
}

.car-card .car-info-table td {
    padding: 5px 6px;
    border: 0;
    border-top: 1px solid #e2eaf3;
    font-size: 11px;
    vertical-align: middle;
}

.car-card .car-info-table tr:first-child td {
    border-top: 0;
}

.car-card .car-info-table td:first-child {
    width: 30%;
    color: #5a6f84;
    font-weight: 600;
}

.car-card .car-info-table td:nth-child(2) {
    width: 20%;
    color: #152f49;
    font-weight: 700;
}

.car-card .car-info-table td:nth-child(3) {
    width: 30%;
    color: #5a6f84;
    font-weight: 600;
    border-left: 1px solid #d9e4ef;
}

.car-card .car-info-table td:nth-child(4) {
    width: 20%;
    color: #152f49;
    font-weight: 700;
}

.car-card .car-info-table i {
    width: 12px;
    margin-right: 4px;
    color: #46688e;
}

.car-card .inquiry-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    margin-top: auto;
}

@media (max-width: 1100px) {
    .stocks-page .stocks-container .car-listings,
    .stocks-container .car-listings,
    .car-listings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .stocks-page .stocks-container .car-listings,
    .stocks-container .car-listings,
    .car-listings {
        grid-template-columns: 1fr;
    }

    .car-image {
        height: 190px;
    }

    .car-card .car-title {
        min-height: auto;
    }
}
