/* === PAGE TEMPLATES STYLES === */

/* ---- ABOUT PAGE ---- */
.about-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-color: #1a1a2e;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.about-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 0;
}

.about-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.about-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* CEO Section */
.about-ceo-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.about-ceo-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-ceo-quote {
    font-size: 18px;
    line-height: 1.8;
    color: #575760;
    border-left: 4px solid #e31937;
    padding: 20px 30px;
    margin: 0 0 25px 0;
    background: #f7f8f9;
    border-radius: 0 15px 15px 0;
    font-style: italic;
}

.about-ceo-name {
    display: block;
    font-size: 20px;
    color: #222;
}

.about-ceo-role {
    display: block;
    font-size: 15px;
    color: #e31937;
    margin-top: 5px;
}

/* About Content */
.about-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* About Video */
.about-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

/* Achievements on About Page */
.about-achievements {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

.about-achievements .achievement-item {
    color: #fff;
}

.about-achievements .achievement-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #e31937;
}

.about-achievements .achievement-label {
    display: block;
    font-size: 15px;
    opacity: 0.8;
    margin-top: 8px;
}

/* Timeline */
.about-timeline .section-title {
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #e0e0e0;
    top: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item.timeline-left {
    padding-right: 40px;
    text-align: right;
}

.timeline-item.timeline-right {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #e31937;
    border-radius: 50%;
    top: 5px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e31937;
}

.timeline-left .timeline-dot {
    right: -8px;
}

.timeline-right .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-year {
    display: inline-block;
    background: #e31937;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.timeline-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ---- CONTACT PAGE ---- */
.contact-hero {
    background: linear-gradient(135deg, #f7f8f9 0%, #eef0f3 100%);
    padding-bottom: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info-title,
.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: #fde8eb;
    color: #e31937;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.contact-info-text {
    font-size: 15px;
    color: #575760;
    line-height: 1.6;
}

.contact-info-text a {
    color: #e31937;
    text-decoration: none;
}

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

.contact-social {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contact-social strong {
    display: block;
    margin-bottom: 10px;
    color: #222;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #575760;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #e31937;
    color: #fff;
}

/* Contact Form */
.contact-form-wrap {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e31937;
    box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.1);
}

/* Warehouses */
.warehouses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.warehouse-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.warehouse-icon {
    font-size: 32px;
    color: #e31937;
    margin-bottom: 15px;
}

.warehouse-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.warehouse-address {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.warehouse-map-link {
    display: inline-block;
    color: #e31937;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.warehouse-map-link:hover {
    text-decoration: underline;
}

/* Google Maps */
.contact-map iframe {
    display: block;
    width: 100%;
}

/* ---- SUPPORT PAGE ---- */
.support-hero {
    background: linear-gradient(135deg, #f7f8f9 0%, #eef0f3 100%);
    padding-bottom: 20px;
}

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

.support-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: #222;
    transition: all 0.3s ease;
}

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

.support-cat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fde8eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.support-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.support-cat-icon i {
    font-size: 28px;
    color: #e31937;
}

.support-cat-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.support-cat-count {
    font-size: 13px;
    color: #999;
}

/* Support Actions Grid */
.support-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.support-action-card {
    text-align: center;
    padding: 35px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

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

.support-action-icon {
    font-size: 36px;
    color: #e31937;
    margin-bottom: 15px;
}

.support-action-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.support-action-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ---- NEW PRODUCTS PAGE ---- */
.new-products-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background-color: #1a1a2e;
    overflow: hidden;
}

.new-products-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.new-products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.new-products-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 60px 0;
    width: 100%;
}

.new-products-hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.new-products-hero-content p {
    font-size: 18px;
    opacity: 0.9;
}

/* ---- DEALERS PAGE ---- */
.dealers-hero {
    background: linear-gradient(135deg, #f7f8f9 0%, #eef0f3 100%);
    padding-bottom: 20px;
}

.dealers-regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.dealer-region-card {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

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

.dealer-region-name {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.dealer-region-name i {
    color: #e31937;
    margin-right: 8px;
}

.dealer-region-provinces {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.dealer-region-count {
    display: inline-block;
    background: #fde8eb;
    color: #e31937;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* ---- SHARED / HELPERS ---- */
.text-center {
    text-align: center;
}


/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .about-ceo-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-ceo-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-ceo-quote {
        text-align: left;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.timeline-left,
    .timeline-item.timeline-right {
        width: 100%;
        margin-left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        left: 12px;
    }

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

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

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

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

    .dealers-regions-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .about-hero-title {
        font-size: 26px;
    }

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

    .about-achievements .achievement-number {
        font-size: 36px;
    }

    .contact-form-wrap {
        padding: 20px;
    }

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

    .support-cats-grid {
        grid-template-columns: 1fr;
    }

    .support-actions-grid {
        grid-template-columns: 1fr;
    }

    .new-products-hero-content h1 {
        font-size: 28px;
    }
}