/* Financial Info Section - Minimal & Clean Design */
.financial-info {
    padding: 1.5rem;
    background: transparent;
    border-radius: 0;
    border: none;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.financial-info:hover {
    background: transparent;
    border: none;
    box-shadow: none;
}

.financial-info .info-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f3f4;
    min-height: 2.5rem;
    align-items: center;
}

.financial-info .info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.financial-info .info-row:first-child {
    padding-top: 0;
}

.financial-info .label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5f6368;
    letter-spacing: 0.025em;
    flex: 1;
}

.financial-info .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #202124;
    text-align: right;
    letter-spacing: -0.01em;
}

.financial-info .value.strikethrough {
    text-decoration: line-through;
    color: #9aa0a6;
    font-weight: 400;
}

.financial-info .value.text-color-3 {
    color: #1a73e8;
    font-size: 1.1rem;
}

.financial-info .value.text-muted {
    color: #9aa0a6;
}

/* Car Name Section Styling */
.car-name-section {
    margin-bottom: 1rem;
    padding-bottom: 10px;
}

.car-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

.car-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.car-title a:hover {
    color: #dda93b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .financial-info {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .financial-info .info-row {
        padding: 0.6rem 0;
        min-height: 2.25rem;
    }

    .financial-info .label {
        font-size: 0.8rem;
    }

    .financial-info .value {
        font-size: 0.85rem;
    }

    .financial-info .value.text-color-3 {
        font-size: 1rem;
    }

    .car-title {
        font-size: 1.1rem;
    }
}

/* Action Buttons Styling */
.action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.view-car-btn,
.chat-now-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-car-btn:hover,
.chat-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-car-btn:hover span,
.chat-now-btn:hover span {
    transform: translateX(2px);
}

.view-car-btn.btn-black {
    background: #000000;
    color: white;
}

.view-car-btn.btn-black:hover {
    background: #333333;
}

.chat-now-btn.btn-yellow {
    background: #ddaa3a;
    color: #000000;
}

.chat-now-btn.btn-yellow:hover {
    background: #c99a2e;
    color: #000000;
}

.view-car-btn i,
.chat-now-btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.view-car-btn span,
.chat-now-btn span {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
    }

    .view-car-btn,
    .chat-now-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
        flex: 1;
    }

    .view-car-btn i,
    .chat-now-btn i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        margin-top: 0.75rem;
        width: 100%;
        flex-direction: row;
        gap: 0.375rem;
    }

    .view-car-btn,
    .chat-now-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        flex: 1;
    }

    .view-car-btn i,
    .chat-now-btn i {
        font-size: 0.75rem;
    }
}

/* Image Style Enhancements - No Hover Effects */
.img-style a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.img-style a img {
    transition: none;
}

/* Override hover effects for car listing cards */
.box-car-list.hv-one:hover .img-style::before {
    transform: none !important;
}

.box-car-list.hv-one:hover img {
    transform: none !important;
}

.box-car-list.hv-one .img-style::before {
    transition: none !important;
}

.box-car-list.hv-one .img-style img {
    transition: none !important;
}

/* Remove hover overlay effects */
.hv-one .img-style::before {
    display: none !important;
}

.hv-one:hover .img-style::before {
    display: none !important;
    opacity: 0 !important;
}

.box-car-list.style-5 .img-style::before {
    display: none !important;
}

/* Remove all img-style overlay effects */
.img-style::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

/* Contact Info Styling */
.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-info .contact-item i {
    font-size: 1.25rem;
    color: #dda93b;
    width: 1.5rem;
    text-align: center;
}

.contact-info .contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info .contact-item a:hover {
    color: #1a73e8;
}

.contact-info .social-media {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-info .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f8f9fa;
    color: #5f6368;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e8eaed;
}

.contact-info .social-link:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

/* Minimal Footer Contact Section Styling */
.contact-info {
    padding: 0.5rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0;
    transition: color 0.3s ease;
}

.contact-item i {
    color: #dda93b;
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #dda93b;
}

.contact-item span {
    color: #ffffff;
    font-size: 0.9rem;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact-item {
        margin-bottom: 0.625rem;
        gap: 0.625rem;
    }

    .contact-item i {
        font-size: 0.875rem;
        width: 1.125rem;
    }

    .contact-item a,
    .contact-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }

    .contact-item i {
        font-size: 0.8rem;
        width: 1rem;
    }

    .contact-item a,
    .contact-item span {
        font-size: 0.8rem;
    }
}

/* Logo Footer Styling */
.logo-footer svg {
    transition: all 0.3s ease;
}

.logo-footer a:hover svg text {
    fill: #1a73e8;
}

.logo-footer svg text {
    transition: fill 0.3s ease;
}

@media (max-width: 768px) {
    .logo-footer svg {
        width: 120px;
        height: auto;
    }

    .logo-footer svg text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-footer svg {
        width: 100px;
        height: auto;
    }

    .logo-footer svg text {
        font-size: 12px;
    }
}

/* Image Style Enhancements - No Hover Effects */
.img-style a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.img-style a img {
    transition: none;
}

/* 3-Column Grid Layout for Car Listings */
.list-car-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Car Placeholder Styling */
.car-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: transparent;
    color: #d1d5db;
    text-align: center;
    transition: all 0.3s ease;
}

.car-placeholder i {
    font-size: 2rem;
    color: #d1d5db;
    margin-bottom: 0.25rem;
}

.car-placeholder span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #9ca3af;
}

.car-placeholder:hover {
    background: transparent;
    color: #9ca3af;
}

/* Large car placeholder for detail pages */
.car-placeholder-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    color: #d1d5db;
    text-align: center;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.car-placeholder-large i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.car-placeholder-large span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #9ca3af;
}

.car-placeholder-large:hover {
    background: #f1f3f4;
    border-color: #9ca3af;
}

/* Small car placeholder for related cars */
.car-placeholder-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background: #f8f9fa;
    color: #d1d5db;
    border: 1px dashed #d1d5db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.car-placeholder-small i {
    font-size: 1.5rem;
    color: #d1d5db;
}

.car-placeholder-small:hover {
    background: #f1f3f4;
    border-color: #9ca3af;
}

/* Responsive placeholder */
@media (max-width: 768px) {
    .car-placeholder {
        height: 120px;
    }

    .car-placeholder i {
        font-size: 1.5rem;
    }

    .car-placeholder span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .car-placeholder {
        height: 100px;
    }

    .car-placeholder i {
        font-size: 1.25rem;
    }

    .car-placeholder span {
        font-size: 0.65rem;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .list-car-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .list-car-grid-3 {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* User Placeholder Styling for Testimonials */
.user-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #d1d5db;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.user-placeholder i {
    font-size: 1.5rem;
    color: #d1d5db;
}

.user-placeholder:hover {
    color: #9ca3af;
}

/* Responsive user placeholder */
@media (max-width: 768px) {
    .user-placeholder i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .user-placeholder i {
        font-size: 1rem;
    }
}

/* Navigation Active State Styling */
.navigation li.current a {
    color: #dda93b !important;
    font-weight: 600;
}

.navigation li.current::before {
    background-color: #dda93b !important;
}

/* Mobile Navigation Active State */
.mobile-menu .navigation li.current a {
    color: #dda93b !important;
    font-weight: 600;
}

.mobile-menu .navigation li.current::before {
    background-color: #dda93b !important;
}

/* Navigation Background and Button Fixes */
/* Apply dark background to non-style2 pages */
.main-header:not(.style2) .header-lower {
    background-color: #24272c !important;
}

/* Make navigation text white on dark background */
.main-header:not(.style2) .header-lower .main-menu .navigation > li > a {
    color: #ffffff;
}

.main-header:not(.style2) .header-lower .header-account {
    color: #ffffff !important;
}

/* Logo styling for navigation and footer */
.logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.nav-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.logo-footer img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo img,
    .nav-logo img,
    .logo-footer img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .logo img,
    .nav-logo img,
    .logo-footer img {
        max-height: 30px;
    }
}

/* Keep buttons orange on non-style2 pages */
.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button {
    border: 1px solid #dda93b !important;
}

.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button
    span,
.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button
    i {
    color: #dda93b !important;
}

/* Hover effects for buttons on non-style2 pages */
.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button:hover {
    background-color: #dda93b !important;
    border-color: #dda93b !important;
}

.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button:hover
    span,
.main-header:not(.style2)
    .header-lower
    .header-account
    .flat-bt-top
    .sc-button:hover
    i {
    color: #ffffff !important;
}

/* Mobile menu background fix */
.mobile-menu {
    
}

.mobile-menu .navigation > li.current > a {
    color: #dda93b !important;
}

/* Smooth scrolling styles */
html {
    scroll-behavior: smooth;
}

/* Ensure testimonials section is properly positioned for smooth scrolling */
#testimonials {
    scroll-margin-top: 100px;
}

/* Mobile smooth scrolling adjustments */
@media (max-width: 768px) {
    #testimonials {
        scroll-margin-top: 80px;
    }
}

/* Mobile menu buttons */
.mobile-menu .button-mobi-sell .sc-button {
    border: 1px solid #dda93b !important;
    color: #dda93b !important;
}

.mobile-menu .button-mobi-sell .sc-button:hover {
    background-color: #dda93b !important;
}

/* FAQ Toggle Icon Styling with Font Awesome */
.flat-toggle.style-2 .btn-toggle {
    position: absolute;
    right: 30px;
    top: 26px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

/* Override existing custom font styles */
.flat-toggle.style-2 .btn-toggle::after {
    display: none !important;
}

.flat-toggle.style-2 .toggle-title.active .btn-toggle::after {
    display: none !important;
}

.flat-toggle.style-2 .btn-toggle .toggle-icon {
    font-size: 14px;
    color: #24272c;
    transition: all 0.3s ease;
}

.flat-toggle.style-2 .toggle-title.active .btn-toggle .toggle-icon {
    color: #dda93b;
    transform: rotate(180deg);
}

.flat-toggle.style-2.activ {
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
}

/* RTL Support for FAQ toggle */
.rtl .flat-toggle.style-2 .btn-toggle {
    left: 30px;
    right: unset;
}

/* Dark theme support for FAQ toggle */
.dark-theme .flat-toggle.style-2 .btn-toggle .toggle-icon {
    color: #ffffff;
}

.dark-theme .flat-toggle.style-2 .toggle-title.active .btn-toggle .toggle-icon {
    color: #dda93b;
}

/* Responsive FAQ toggle */
@media (max-width: 768px) {
    .flat-toggle.style-2 .btn-toggle {
        right: 20px;
        top: 20px;
        width: 18px;
        height: 18px;
    }

    .flat-toggle.style-2 .btn-toggle .toggle-icon {
        font-size: 12px;
    }

    .rtl .flat-toggle.style-2 .btn-toggle {
        left: 20px;
        right: unset;
    }
}

@media (max-width: 480px) {
    .flat-toggle.style-2 .btn-toggle {
        right: 15px;
        top: 18px;
        width: 16px;
        height: 16px;
    }

    .flat-toggle.style-2 .btn-toggle .toggle-icon {
        font-size: 11px;
    }

    .rtl .flat-toggle.style-2 .btn-toggle {
        left: 15px;
        right: unset;
    }
}

/* Testimonial Page Styles */
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f1f3f4;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding-top: 1rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f3f4;
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dda93b;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #24272c;
    margin: 0 0 0.25rem 0;
}

.author-position {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.author-company {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 0.5rem 0;
}

.rating {
    display: flex;
    gap: 2px;
}

.rating .fas.fa-star {
    font-size: 0.9rem;
}

.rating .fas.fa-star.filled {
    color: #dda93b;
}

.rating .fas.fa-star.empty {
    color: #ddd;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.6;
}

.no-testimonials {
    text-align: center;
    padding: 4rem 2rem;
}

.no-testimonials-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-testimonials-content i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.no-testimonials-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.no-testimonials-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive testimonial cards */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-position {
        font-size: 0.85rem;
    }

    .author-company {
        font-size: 0.8rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .avatar-img {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-position {
        font-size: 0.8rem;
    }

    .author-company {
        font-size: 0.75rem;
    }
}
