/* CSS Variables */
:root {
    --primary-green: #4CAF50;
    --primary-green-dark: #388E3C;
    --primary-green-light: #81C784;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #2c3e50;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

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

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}

.btn-secondary {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    border-color: var(--bg-dark);
}

.btn-secondary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--bg-white);
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 12px 0;
    font-size: 15px;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.phone-number .icon {
    width: 18px;
    height: 18px;
    fill: var(--primary-green);
}

.login-link {
    color: var(--bg-white);
    font-weight: 600;
    padding: 8px 16px;
    background-color: var(--primary-green);
    border-radius: 4px;
}

.login-link:hover {
    background-color: var(--primary-green-dark);
    color: var(--bg-white);
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 44px;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--primary-green);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-green);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 400px;
}

.mobile-nav-list {
    padding: 20px;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a {
    display: block;
    padding: 12px 0;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-nav-list a:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/slider/slider-image-manufacturing.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.92) 0%, rgba(26, 37, 47, 0.88) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
    color: var(--bg-white);
    padding: 40px 0;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.9;
}

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

.btn-outline-light {
    background-color: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-light:hover {
    background-color: var(--bg-white);
    color: var(--bg-dark);
}

/* Stats Bar */
.stats-bar {
    background-color: var(--primary-green);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    color: var(--bg-white);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Featured Brands */
.featured-brands {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.featured-brands h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.featured-brands .brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.brand-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: var(--transition);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.brand-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

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

/* Section Tag */
.section-tag {
    display: inline-block;
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* About Features List */
.about-features {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 15px;
}

.about-features svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-green);
    flex-shrink: 0;
}

/* About Badge */
.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 60px 40px;
    min-height: 400px;
}

.about-image img {
    max-width: 80%;
    max-height: 200px;
    object-fit: contain;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background-color: var(--primary-green);
    color: var(--bg-white);
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.badge-number {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.badge-year {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.services h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--bg-light);
    padding: 40px 25px;
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--bg-white);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-green);
}

.service-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.7;
}

/* Dealer Info Section - Updated */
.dealer-info {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.dealer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.dealer-text h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.dealer-text > p {
    color: var(--text-medium);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.dealer-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 15px;
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    fill: var(--primary-green);
    flex-shrink: 0;
}

.dealer-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dealer-contact .dealer-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.dealer-contact .dealer-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
}

.dealer-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.dealer-info-item:last-child {
    margin-bottom: 0;
}

.dealer-info-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-green);
    flex-shrink: 0;
    margin-top: 2px;
}

.dealer-info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dealer-info-item p {
    color: var(--text-medium);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.dealer-info-item a {
    color: var(--primary-green);
}

.dealer-info-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a252f 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--bg-white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer Logo */
.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about {
    padding-right: 40px;
}

.footer-address a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-address a:hover {
    color: var(--primary-green);
}

/* Brands Section */
.brands {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.brands h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.brands-subtitle {
    color: var(--text-medium);
    font-size: 18px;
    margin-bottom: 50px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    overflow: hidden;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.brand-card:hover .brand-logo {
    border-color: var(--primary-green);
}

.brand-logo {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--bg-white);
    border: 2px solid transparent;
    border-radius: 8px;
    transition: var(--transition);
}

.brand-logo span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a252f 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--bg-white);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Brands Page Styles */
.brands-page {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.brands-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.brand-card-full {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
}

.brand-card-full:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.brand-card-logo {
    background-color: var(--bg-white);
    padding: 30px 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.brand-card-logo span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.brand-card-name {
    background-color: #2d3738;
    color: var(--bg-white);
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 15px;
    font-size: 16px;
}

.about-text .btn {
    margin-top: 15px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background-color: var(--bg-light);
    border-radius: 8px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    fill: var(--text-light);
}

/* Dealer Info Section */
.dealer-info {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.dealer-info h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.dealer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.dealer-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dealer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dealer-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary-green);
}

.dealer-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.dealer-card p {
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.8;
}

.dealer-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Quick Links Section */
.quick-links {
    padding: 80px 0;
    background-color: var(--bg-white);
    text-align: center;
}

.quick-links h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.link-card:hover {
    background-color: var(--primary-green);
    transform: translateY(-5px);
}

.link-card:hover .link-icon svg,
.link-card:hover h3,
.link-card:hover p {
    color: var(--bg-white);
    fill: var(--bg-white);
}

.link-icon {
    margin-bottom: 20px;
}

.link-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-green);
    transition: var(--transition);
}

.link-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    transition: var(--transition);
}

.link-card p {
    color: var(--text-medium);
    font-size: 14px;
    transition: var(--transition);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-green);
    flex-shrink: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-address {
    margin-top: 15px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--primary-green);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-green);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--bg-white);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .brands-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .dealer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* New homepage sections */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .featured-brands .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dealer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dealer-contact .dealer-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

    .brands-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .brand-logo {
        padding: 15px;
    }

    .brand-logo span {
        font-size: 12px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .dealer-grid {
        grid-template-columns: 1fr;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .dealer-cta {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* New homepage sections */
    .hero {
        min-height: 450px;
    }

    .stats-bar {
        padding: 30px 0;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .featured-brands,
    .services,
    .dealer-info,
    .cta-section {
        padding: 60px 0;
    }

    .featured-brands h2,
    .services h2,
    .dealer-text h2,
    .cta-content h2 {
        font-size: 28px;
    }

    .section-subtitle,
    .cta-content p {
        font-size: 16px;
    }

    .featured-brands .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-item {
        padding: 20px 15px;
        min-height: 100px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .dealer-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dealer-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .dealer-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-image {
        min-height: 300px;
        padding: 40px 20px;
    }

    .about-badge {
        padding: 15px 20px;
        right: 20px;
        bottom: -15px;
    }

    .badge-year {
        font-size: 26px;
    }

    .footer-about {
        padding-right: 0;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .brands-page-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .brands-page {
        padding: 40px 0;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .brands {
        padding: 50px 0;
    }

    .brands h2 {
        font-size: 28px;
    }

    .brands-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about,
    .dealer-info,
    .quick-links,
    .contact {
        padding: 50px 0;
    }

    .about-text h2,
    .dealer-info h2,
    .quick-links h2,
    .contact-info h2 {
        font-size: 28px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    /* New homepage sections */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .featured-brands,
    .services,
    .cta-section {
        padding: 40px 0;
    }

    .featured-brands h2,
    .services h2,
    .dealer-text h2,
    .cta-content h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .about-image {
        min-height: 250px;
        padding: 30px 15px;
    }

    .about-badge {
        padding: 12px 15px;
        right: 15px;
    }

    .badge-number {
        font-size: 12px;
    }

    .badge-year {
        font-size: 22px;
    }

    .dealer-contact .dealer-card {
        padding: 25px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .logo img {
        height: 40px;
    }
}
