
/* Professional Car Cards */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.car-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.car-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #E53935;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.car-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.5s ease;
}

.car-card:hover img {
    transform: scale(1.05);
}

.car-details {
    padding: 20px;
}

.car-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 700;
}

.car-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.car-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.car-specs i {
    color: #E53935;
}

.car-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E53935;
}

.price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #888;
}

.rent-btn {
    background: #E53935; /* Primary Red */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rent-btn:hover {
    background: #C62828;
    color: #fff;
}

/* Professional Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: -10px;
    margin-bottom: 30px;
}

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

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.stars {
    color: #FFC107;
    font-size: 0.9rem;
    margin-top: 4px;
}

.platform-icon {
    margin-left: auto;
    color: #4285F4;
    font-size: 1.5rem;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #999;
    text-align: right;
    display: block;
}

/* Comment Form Wrapper */
.comment-form-wrapper {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    margin-bottom: 10px;
    color: #333;
}

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

.comment-form input,
.comment-form select,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form select:focus,
.comment-form textarea:focus {
    border-color: #E53935;
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.submit-btn {
    background: #E53935;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: #C62828;
}

@media (max-width: 768px) {
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-form-wrapper {
        padding: 25px;
    }
}

/* Professional Footer Styles */
.section-footer {
    background-color: #f8f9fa;
    padding: 60px 0 30px;
    border-top: 1px solid #e9ecef;
    margin-top: 50px;
}

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

.footer-brand p {
    color: #6c757d;
    margin-top: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h3,
.footer-social h3 {
    color: #212529;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #E53935;
    border-radius: 2px;
}

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

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

.footer-links a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #E53935;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #fff;
    color: #E53935;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.social-icons a:hover {
    background-color: #E53935;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
    color: #6c757d;
    font-size: 0.9rem;
}

/* FAQ Section Styles */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-info-item i {
    font-size: 2.5rem;
    color: #E53935;
    margin-bottom: 20px;
}

.contact-info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-item a {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

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

.google-maps {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Blog/SEO Section Styles */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content-grid {
        gap: 30px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Knowledge Base & Blog Styles --- */

/* KB Index Grid */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.kb-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #E53935;
}

.kb-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
    line-height: 1.4;
}

.kb-card h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.kb-card:hover h3 a {
    color: #E53935;
}

.kb-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.kb-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kb-card ul li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.kb-card ul li::before {
    content: "•";
    color: #E53935;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.kb-card ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.kb-card ul li a:hover {
    color: #E53935;
    text-decoration: underline;
}

/* Article Detail Page */
.article-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    margin-bottom: 40px;
}

.article-content h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.article-content h2 {
    font-size: 1.5rem;
    color: #E53935;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.article-content strong {
    color: #333;
}

/* Related Articles Section */
.related-articles {
    background: #f9f9f9;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.related-articles h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #333;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-articles li a {
    display: block;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.related-articles li a:hover {
    border-color: #E53935;
    color: #E53935;
    transform: translateX(5px);
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-details[open] {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #E53935;
}

.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    position: relative;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '+';
    font-size: 1.5rem;
    color: #E53935;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-details[open] .faq-summary::after {
    transform: rotate(45deg);
}

.faq-details[open] .faq-summary {
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff9f9;
}

.faq-answer {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    background: #fff;
}

@media (max-width: 768px) {
    .article-content {
        padding: 25px;
    }
    
    .article-content h1 {
        font-size: 1.6rem;
    }
}
