/* about-styles.css */

/* Ensure main content starts below the fixed header */
main {
    /* margin-top: 100px; Remove fixed margin */
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

.about-hero {
    background: url('images/usine\ 2.png') center/cover;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #FACC15;
}

.about-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}



/* Responsive adjustments for about-styles.css */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero p {
        font-size: 1.2rem;
    }
}


/* About Yaogong Machinery Section */
.about-yaogong-section {
    padding: 6rem 0;
    background-color: #ffffff;
    width: 100%;
}

.section-header-yaogong {
    text-align: center;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.section-header-yaogong h2 {
    font-size: 3rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-header-yaogong p {
    font-size: 1.1rem;
    color: #6B7280;
    width: 50%;
    margin: 0 auto;
}

.about-yaogong-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    margin: 0 auto;
    padding: 0 5.5rem;
}

.about-yaogong-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4B5563;
    text-align: justify;
}

.about-yaogong-image {
    flex: 1;
    text-align: center;
}

.about-yaogong-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for About Yaogong Section */
@media (max-width: 1024px) {
    .about-yaogong-section {
        padding: 4rem 0;
    }

    .section-header-yaogong {
        padding: 0 1rem;
    }

    .section-header-yaogong h2 {
        font-size: 2.5rem;
    }

    .about-yaogong-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .about-yaogong-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-yaogong-section {
        padding: 3rem 0;
    }

    .section-header-yaogong {
        padding: 0 1rem;
    }

    .section-header-yaogong h2 {
        font-size: 2rem;
    }

    .section-header-yaogong p {
        font-size: 1rem;
    }

    .about-yaogong-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .about-yaogong-text {
        font-size: 0.95rem;
    }
}

/* Our Products Section with Circular Brands */
.our-products-brands-section {
    padding: 6rem 0;
    background-color: #f5f5f5;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.section-header-brands {
    margin-bottom: 3rem;
}

.section-header-brands h2 {
    font-size: 3rem;
    color: #1F2937;
    margin-bottom: 1rem;
}

.section-header-brands p {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 800px;
    margin: 0 auto;
}

.circular-brands-container {
    width: 800px;
    height: 800px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Center text circle */
.center-text-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(to right, #1E3A8A, #0F766E);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
    padding: 2rem;
}

.center-text-circle p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Dashed circles */
.static-dashed-circle {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
}

.static-dashed-circle:nth-of-type(2) {
    width: 400px;
    height: 400px;
    z-index: 4;
    border: none;
    background: repeating-conic-gradient(from 0deg,
            #000000 0deg 22.5deg,
            transparent 22.5deg 45deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
}

.static-dashed-circle:nth-of-type(3) {
    width: 500px;
    height: 500px;
    z-index: 3;
    border: none;
    background: repeating-conic-gradient(from 0deg,
            #000000 0deg 15deg,
            transparent 15deg 30deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
}

.static-dashed-circle:nth-of-type(4) {
    width: 600px;
    height: 600px;
    z-index: 2;
    border: none;
    background: repeating-conic-gradient(from 0deg,
            #000000 0deg 15deg,
            transparent 15deg 30deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
}

.static-dashed-circle:nth-of-type(5) {
    width: 700px;
    height: 700px;
    z-index: 1;
    border: none;
    background: repeating-conic-gradient(from 0deg,
            #000000 0deg 11.25deg,
            transparent 11.25deg 22.5deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
}

/* Brand logo wrappers */
.brand-logo-wrapper {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
    z-index: 6;
    transform-origin: center;
}

.brand-logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    color: transparent;
}

/* Mercedes-Benz */
.brand-logo-wrapper[style*="--i:1"] {
    transform: rotate(265deg) translateX(350px) translateY(0) rotate(95deg)scale(130%);
}

/* Lexus */
.brand-logo-wrapper[style*="--i:2"] {
    transform: rotate(290deg) translateX(300px) translateY(0) rotate(70deg);
}

/* Audi */
.brand-logo-wrapper[style*="--i:3"] {
    transform: rotate(310deg) translateX(350px) translateY(0) rotate(50deg);
}

/* Toyota */
.brand-logo-wrapper[style*="--i:4"] {
    transform: rotate(330deg) translateX(320px) translateY(0) rotate(30deg);
}

/* Chery */
.brand-logo-wrapper[style*="--i:5"] {
    transform: rotate(354deg) translateX(350px) translateY(0) rotate(6deg);
}

/* Alfa Romeo */
.brand-logo-wrapper[style*="--i:19"] {
    transform: rotate(265deg) translateX(250px) translateY(0) rotate(95deg) scale(130%);
}

/* Dacia */
.brand-logo-wrapper[style*="--i:18"] {
    transform: rotate(242deg) translateX(350px) translateY(0) rotate(118deg);
}

/* Jeep */
.brand-logo-wrapper[style*="--i:17"] {
    transform: rotate(220deg) translateX(350px) translateY(0) rotate(140deg);
}

/* Renault */
.brand-logo-wrapper[style*="--i:16"] {
    transform: rotate(197deg) translateX(350px) translateY(0) rotate(163deg) scale(85%);
}

/* SEAT */
.brand-logo-wrapper[style*="--i:15"] {
    transform: rotate(174deg) translateX(350px) translateY(0) rotate(186deg);
}

/* Kia */
.brand-logo-wrapper[style*="--i:13"] {
    transform: rotate(130deg) translateX(350px) translateY(0) rotate(230deg);
}

/* Chevrolet */
.brand-logo-wrapper[style*="--i:21"] {
    transform: rotate(320deg) translateX(220px) translateY(0) rotate(40deg);
}

/* Land Rover */
.brand-logo-wrapper[style*="--i:6"] {
    transform: rotate(8deg) translateX(250px) translateY(0) rotate(-8deg) scale(130%);
}

/* Geely */
.brand-logo-wrapper[style*="--i:7"] {
    transform: rotate(17deg) translateX(350px) translateY(0) rotate(343deg);
}

/* Citroen */
.brand-logo-wrapper[style*="--i:9"] {
    transform: rotate(53deg) translateX(280px) translateY(0) rotate(-53deg);
}


/* Hyundai */
.brand-logo-wrapper[style*="--i:8"] {
    transform: rotate(38deg) translateX(360px) translateY(0) rotate(-38deg);
}


/* Mazda */
.brand-logo-wrapper[style*="--i:10"] {
    transform: rotate(62deg) translateX(360px) translateY(0) rotate(-62deg);
}


/* Volkswagen */
.brand-logo-wrapper[style*="--i:11"] {
    transform: rotate(84deg) translateX(350px) translateY(0) rotate(-84deg) scale(80%);
}


/* Lamborghini */
.brand-logo-wrapper[style*="--i:12"] {
    transform: rotate(106deg) translateX(350px) translateY(0) rotate(-106deg) scale(85%);
}

/* SAAB */
.brand-logo-wrapper[style*="--i:14"] {
    transform: rotate(150deg) translateX(350px) translateY(0) rotate(-150deg) scale(85%);
}

/* Ford */
.brand-logo-wrapper[style*="--i:20"] {
    transform: rotate(235deg) translateX(230px) translateY(0) rotate(-235deg) scale(90%);
}


/* BMW */
.brand-logo-wrapper[style*="--i:22"] {
    transform: rotate(125deg) translateX(250px) translateY(0) rotate(235deg) scale(75%);
}

/* Mitsubishi Motors */
.brand-logo-wrapper[style*="--i:23"] {
    transform: rotate(82deg) translateX(250px) translateY(0) rotate(-82deg) scale(90%);
}

/* DS Automobiles */
.brand-logo-wrapper[style*="--i:24"] {
    transform: rotate(173deg) translateX(200px) translateY(0) rotate(-173deg);
}



/* Remove old brand logos positioning CSS */
.brand-logos,
.brand-logo,
.circle-1-logos,
.circle-2-logos,
.circle-3-logos,
.circle-4-logos,
.circle-5-logos {
    display: none;
}

/* Responsive adjustments for brand logos - using scale for zoom out effect */
@media (max-width: 1024px) {
    .our-products-brands-section {
        min-height: 1000px;
        /* Ensure enough space for scaled content and header */
    }



    .circular-brands-container {
        position: absolute;
        top: 25rem;
        /* Adjusted to be well below the header */
        left: 50%;
        transform: translateX(-50%) scale(0.8);
        /* Horizontal centering + zoom out to 80% */
        transform-origin: center center;
    }
}

@media (max-width: 768px) {
    .our-products-brands-section {
        min-height: 800px;
        /* Ensure enough space for scaled content and header */
    }



    .circular-brands-container {
        height: 100%;
        position: absolute;
        top: 20rem;
        /* Adjusted for smaller screens */
        left: 50%;
        transform: translateX(-50%) scale(0.6);
        /* Horizontal centering + zoom out to 60% */
        transform-origin: center center;
    }
}

/* Request a Quote Section */
.request-quote-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
    width: 100%;
}

.request-quote-section>.container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1400px;
    padding: 0;
}

.quote-form-container {
    flex: 3;
    min-width: 400px;
    padding: 3rem;
}

.quote-form-container h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.quote-form-container p {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quote-form .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.quote-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-form .form-group label {
    font-size: 14px;
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Segoe UI';
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    border-color: #FACC15;
    box-shadow: 0 0 0 0.2rem rgba(255, 196, 0, 0.25);
    outline: none;
}

.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
    transform: translateY(-2px);
    background-color: rgba(98, 98, 98, 0.142);
    outline: none;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form .full-width {
    width: 100%;
}

.send-message-btn {
    background-color: #FACC15;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: auto;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-message-btn:hover {
    background-color: #e0a32c;
    transform: translateY(-2px);
}

.send-message-btn i {
    font-size: 1.2rem;
}

.privacy-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 1rem;
    text-align: left;
}

.contact-info-section {
    flex: 1.5;
    min-width: 300px;
    background-color: #FACC15;
    padding: 3rem;
    color: #333;
}

.contact-info-section .info-block {
    margin-bottom: 20px;
}

.contact-info-section .info-block:last-child {
    margin-bottom: 0;
}

.contact-info-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.contact-info-section p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.contact-info-section p span {
    float: right;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    background-color: transparent;
    color: #2c3e50;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .request-quote-section>.container {
        flex-direction: column;
        margin: 0 1rem;
    }

    .quote-form-container,
    .contact-info-section {
        flex: none;
        width: 100%;
        padding: 2rem;
    }

    .quote-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .send-message-btn {
        width: 100%;
    }
}

/* Understanding Automotive Engines Section */
.automotive-engines-section {
    padding: 6rem 0;
    background-color: #F7F9FC;
    text-align: center;
}

.section-header-engines {
    margin-bottom: 3rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.section-header-engines h2 {
    font-weight: 400;
    font-size: 3rem;
    color: #2D3748;
    margin-bottom: 1rem;
}

.section-header-engines p {
    font-size: 1.1rem;
    color: #4A5568;
    line-height: 1.6;
}

.engine-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.engine-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    border: 1px solid #E2E8F0;
}

.engine-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.engine-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.engine-icon img {
    max-width: 80%;
    /* Adjust as needed for image size within circle */
    max-height: 80%;
    /* Adjust as needed for image size within circle */
    object-fit: contain;
}

.engine-icon.diesel-icon {
    background-color: #3E28C91A;
    /* Purple */
}

.engine-icon.gasoline-icon {
    background-color: #CD19AC1A;
    /* Pink */
}

.engine-icon.electric-icon {
    background-color: #21C45D2E;
    /* Green */
}

.engine-icon.hybrid-icon {
    background-color: #C91D1D1A;
    /* Red */
}

/* New style for engine text content */
.engine-text-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.engine-card h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.engine-card p {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 0;
}

.engine-card h4 {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.engine-card ul li {
    font-size: 0.9rem;
    color: #4A5568;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.engine-card ul li::before {
    content: '\2022';
    /* Bullet point */
    color: #1A3B5B;
    font-size: 1.5rem;
    line-height: 0.8rem;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Responsive adjustments for Automotive Engines Section */
@media (max-width: 1024px) {
    .automotive-engines-section {
        padding: 4rem 0;
    }

    .section-header-engines h2 {
        font-size: 2.5rem;
    }

    .section-header-engines p {
        font-size: 1rem;
    }

    .engine-cards-grid {
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .engine-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .engine-card-header {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .engine-icon {
        width: 50px;
        height: 50px;
        /* font-size: 1.5rem; Removed font size */
    }

    .engine-card h3 {
        font-size: 1.3rem;
    }

    .engine-card p {
        font-size: 0.9rem;
    }

    .engine-card ul li::before {
        font-size: 1.3rem;
        /* Make bullet points even larger for tablets */
    }
}

@media (max-width: 768px) {
    .automotive-engines-section {
        padding: 3rem 0;
    }

    .section-header-engines h2 {
        font-size: 2rem;
    }

    .section-header-engines p {
        font-size: 0.9rem;
    }

    .engine-cards-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1rem;
    }

    .engine-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 0.8rem;
    }

    .engine-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .engine-icon {
        width: 45px;
        height: 45px;
        /* font-size: 1.3rem; Removed font size */
    }

    .engine-card h3 {
        font-size: 1.2rem;
    }

    .engine-card p,
    .engine-card ul li {
        font-size: 0.85rem;
    }

    .engine-card h4 {
        text-align: left;
    }

    .engine-card ul {
        text-align: left;
        width: 100%;
    }

    .engine-card ul li::before {
        font-size: 1.2rem;
        /* Make bullet points larger for mobile */
    }
}