:root {
    --primary-color: #E60012;
    --secondary-color: #1A1A1A;
    --bg-color: #FFFFFF;
    --text-color: #2D2D2D;
    --accent-color: #F8F8F8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* About Banner */
.about-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 70%);
    color: var(--bg-color);
    overflow: hidden;
}

.about-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.about-banner-headline {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-banner-subheadline {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* General Section Styles */
.about-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    animation: none;
}

/* Why Mitsubishi Section */
.mitsubishi-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.feature-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    animation: none;
}

/* Showroom Gallery Section */
.gallery-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    text-align: center;
    /* margin: 60px 0; */
    padding: 60px 20px;
    background:linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 70%);
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--bg-color);
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.cta-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--bg-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.cta-section .cta-button:hover {
    background: #CC0010;
    transform: translateY(-2px);
    box-shadow: var(--bg-color);
}

.cta-section .cta-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.cta-section .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cta-section .cta-button:hover::before,
.cta-section .cta-button:focus::before {
    width: 250px;
    height: 250px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .about-banner {
        height: 40vh;
        min-height: 350px;
    }

    .about-banner-headline {
        font-size: 2.8rem;
    }

    .about-banner-subheadline {
        font-size: 1.3rem;
    }

    .about-section {
        margin: 40px auto;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .about-banner {
        height: 35vh;
        min-height: 300px;
    }

    .about-banner-headline {
        font-size: 2.2rem;
    }

    .about-banner-subheadline {
        font-size: 1.1rem;
    }

    .values-grid,
    .gallery-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mitsubishi-features {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        max-width: 100%;
    }

    .cta-section {
        margin: 40px 0;
    }

    .cta-section .cta-button {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .about-banner-headline {
        font-size: 1.8rem;
    }

    .about-banner-subheadline {
        font-size: 1rem;
    }

    .about-section h2 {
        font-size: 1.8rem;
    }

    .about-section {
        padding: 0 15px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}





.tst-section {
    padding: 50px 10px;
    background: linear-gradient(180deg, var(--accent-color), var(--bg-color));
    position: relative;
}

.tst-container {
    max-width: 1300px;
    margin: 0 auto;
}

.tst-header {
    text-align: center;
    margin-bottom: 70px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
}

.tst-headline {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.tst-divider {
    width: 100px;
    height: 5px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 5px;
    transform: scaleX(0);
    animation: scaleIn 1s ease forwards 0.3s;
}

.tst-subheadline {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.tst-carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.tst-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.tst-card {
    flex: 0 0 33.33%; /* Show 3 cards at a time on large screens */
    background: var(--bg-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin: 0 10px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.3s ease forwards;
    animation-delay: calc(var(--card-delay) * 0.2s);
}

.tst-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tst-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tst-card-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 10px;
}

.tst-card-rating {
    color: #FFD700; /* Gold for stars */
    font-size: 1rem;
}

.tst-card-text {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.85;
    font-weight: 300;
    line-height: 1.8;
}

.tst-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.tst-nav-button {
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.tst-nav-button:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.tst-submit-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    margin: 0 auto;
    display: block;
}

.tst-submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.tst-submit-button:hover::before {
    width: 200px;
    height: 200px;
}

.tst-submit-button:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

/* Modal */
.tst-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tst-modal.show {
    display: flex;
    opacity: 1;
}

.tst-modal-content {
    background: var(--bg-color);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    position: relative;
    transform: scale(0.7);
    animation: modalPop 0.4s ease forwards;
}

.tst-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.tst-modal-close:hover {
    color: var(--primary-color);
}

.tst-modal h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.tst-modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tst-modal input,
.tst-modal select,
.tst-modal textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s ease;
}

.tst-modal input:focus,
.tst-modal select:focus,
.tst-modal textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.tst-modal textarea {
    resize: vertical;
    min-height: 100px;
}

.tst-modal button {
    padding: 12px;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tst-modal button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        transform: scaleX(1);
    }
}

@keyframes modalPop {
    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tst-card {
        flex: 0 0 50%; /* Show 2 cards at a time */
    }

    .tst-headline {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .tst-section {
        padding: 70px 15px;
    }

    .tst-header {
        margin-bottom: 50px;
    }

    .tst-headline {
        font-size: 2.3rem;
    }

    .tst-subheadline {
        font-size: 1.1rem;
    }

    .tst-card {
        flex: 0 0 100%; /* Show 1 card at a time */
        margin: 0 10px;
        padding: 30px;
    }

    .tst-card-name {
        font-size: 1.1rem;
    }

    .tst-card-text {
        font-size: 0.95rem;
    }

    .tst-submit-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .tst-modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tst-headline {
        font-size: 2rem;
    }

    .tst-card {
        padding: 25px;
    }

    .tst-card-name {
        font-size: 1rem;
    }

    .tst-card-text {
        font-size: 0.9rem;
    }

    .tst-modal h3 {
        font-size: 1.5rem;
    }

    .tst-modal input,
    .tst-modal select,
    .tst-modal textarea,
    .tst-modal button {
        font-size: 0.9rem;
    }
}