@charset "utf-8";

/* Hero Section */
.hero {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)), url(../img/herobg.png) center / cover;
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-content .description {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

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

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.service-card {
    position: relative;
    padding: 30px;
    border: 1px solid #A2A8D3;
    background: white;
    overflow: hidden;
    transition: 0.3s ease-out;
}

.service-card:hover {
    transform: translateY(-3px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
    color: #333;
}

.service-card p {
    margin-bottom: 40px;
    color: #666;
    font-size: 14px;
    line-height: 1.2;
}

.service-link {
    position: absolute;
    right: 30px;
    bottom: 30px;
    color: var(--primary);
    font-weight: 500;
}

.service-link:hover {
    text-decoration: underline;
}

/* 3M OEM */
.program-section {
    background-color: var(--white);
}

.program-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.oem-list {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--line);
    height: 300px;
    background: url(../img/oembg.png) center / cover;
}

.oem-item {
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    width: 200px;
    display: flex;
    justify-content: space-between;
    transition: 0.3s ease-out;
}

.oem-item:hover {
    background-color: var(--primary-dark);
}

.oem-item i {
    transform: rotate(90deg);
}

/* Program Download */
.program-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: var(--white);
    padding: 30px;
    transition: 0.2s ease-out
}

.program-item:hover {
    transform: translateX(5px);
}

.program-icon {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Contact Section */
.contact {
    background: var(--light-bg);
    padding: 4rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.contact-details {
    display: grid;
    gap: 10px;
}

.contact-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.contact-label {
    font-weight: 500;
    color: #666;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.form-group input[type="file"] {
    display: none;
}

.custom-file-upload {
    width: 150px;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--primary-dark);
    background-color: #fff;
    color: var(--primary-dark) !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

/* Inquiry Section  */

.inquiry {
    background-color: var(--white);
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.form-submit {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #1e3d6f;
}

.btn-reset {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-reset:hover {
    background: #545b62;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: #000;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .oem-container {
        grid-template-columns: 1fr;
    }

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

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

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .form-submit {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 26px;
        text-align: start;
    }

    .hero-content .subtitle,
    .hero-content .description {
        font-size: 16px;
        text-align: start;
        width: 70%;
    }

    .service-card {
        padding: 1.5rem;
    }

    .services {
        padding: 2rem 0;
    }

    .program-section .container {
        display: flex;
        flex-direction: column;
    }

    .oem-list {
        height: 200px;
    }

    .program-item {
        margin-bottom: 10px;
    }

    .contact {
        padding: 2rem 0;
    }
}

/* Skip to content for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for accessibility */
.btn:focus,
.service-link:focus,
nav a:focus {
    /* outline: 2px solid var(--primary);
    outline-offset: 2px; */
}