/* FAQ Section */
.faq-section {
    background: var(--gray-light);
    padding: 80px 0;
    margin-top: 60px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
    border-color: #eee;
}

/* Base Styles & Variables */
:root {
    --primary-color: #c22424; /* Gold */
    --secondary-color: #1a1a1a; /* Dark gray */
    --accent-color: #C62828; /* Dark gold */
    --light-color: #fffaf0; /* Floral white */
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: none;
}

.btn:hover:not(.btn-call):not(.btn-quote):not(.btn-primary):not(.btn-secondary) {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-1px);
    border-color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 32px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: var(--primary-color);
    background-color: #fff;
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary:hover:after {
    width: 100%;
}

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

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 999px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.btn-cta-call{
    background: transparent; 
    color: #fff; 
    border: 2px solid;
    border-radius: #fff; 
    padding: 12px 30px; 
    font-weight: 600; 
    border-radius: 9999px; 
    transition: all 0.3s ease; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px;
}
.btn-cta-call:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 500;

    /* smooth hide/show */
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* hidden state */
.header.hide {
    transform: translateY(-100%);
}

/* shadow when scrolled down */
.header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 9px;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 2.3rem;
    margin-bottom: 0;
}

.logo p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: -5px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: 0;
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), no-repeat center center/cover;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 40px;
}

.hero-features span {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-call, .btn-quote {
    min-width: 250px;
    text-align: center;
    padding: 18px 30px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
}

.price-stock-wrap {
    margin-bottom: 15px; /* space before the button */
}

.btn-call {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-quote {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border: 2px solid var(--primary-color) !important;
}

.btn-call:hover, .btn-quote:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Testimonial Slider */
.testimonial-slider-section {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 20px;
    box-sizing: border-box;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
}

.testimonial-content {
    background: var(--gray-light);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.testimonial-slide.active .testimonial-content {
    transform: translateY(0);
}

.testimonial-text {
    font-style: italic;
    margin: 20px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

.customer {
    display: block;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 20px;
    font-size: 1.1rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-arrow {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);

}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.cta .btn {
    min-width: 200px;
    padding: 18px 36px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta .btn:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color, #ccc); /* default icon color */
    font-size: 16px;
    line-height: 1;
    transition: color var(--transition, 0.3s ease),transform var(--transition, 0.3s ease);
    text-decoration: none;
}

.social-links a:hover {
    color: var(--white); /* only the icon color changes */
    transform: translateY(-3px); /* optional hover lift */
}

.social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
}


.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-section i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: var(--transition);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav a {
        display: block;
        padding: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Form Styles */
.form-message {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Form groups and controls */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group .required:after {
    content: ' *';
    color: #e53935;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

button.btn {
    transition: background-color 0.5s ease, color 0.5s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(239, 191, 4, 0.2);
}

/* Form rows for side-by-side fields */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-row .form-group {
        width: 100%;
    }
}

/* Button loading state */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3 i {
    color: var(--primary-color);
    font-size: 1.2em;
}

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

/* Custom file upload */
.file-upload {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border: 1px dashed #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background-color: #fff8e1;
}

.file-upload-filename {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Custom checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.tire-filters {
    max-width: 900px;
    margin: 0 auto;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tire-filters h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8rem;
}



.search-container {
    margin-bottom: 20px;
}

.search-container input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-container input:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0,115,230,0.3);
    outline: none;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;

    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-group select:focus {
    border-color: #0073e6;
    box-shadow: 0 0 5px rgba(0,115,230,0.3);
    outline: none;
}

    

/* Responsive adjustments */
@media (max-width: 576px) {
    .form-control {
        font-size: 16px; /* Prevents zoom on mobile */
    }
    
    .form-section h3 {
        font-size: 1.3rem;
    }
}
