/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1,
h2,
h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 20px;
}

ul {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

/* Header and Navbar */
.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

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

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-full {
    display: block;
}

.logo-short {
    display: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Sections */
section {
    padding: 80px 0;
}

.hero {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.8) 100%), url('assets/1/1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

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

.highlights {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%), url('https://picsum.photos/1920/800?random=factory');
    background-size: cover;
    background-attachment: fixed;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-choose {
    text-align: center;
    background-color: #fff;
}

.products {
    background-color: #f8f9fa;
}

.product-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
}

.product-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.product-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 25px 30px 30px;
}

.product-size {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs strong {
    color: #333;
}

.how-we-work {
    background-color: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.faq {
    background-color: #f8f9fa;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.accordion-toggle {
    width: 100%;
    background: none;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.accordion-toggle:hover {
    background-color: #e9ecef;
}

.accordion-panel {
    padding: 15px;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    margin-bottom: 10px;
}

.contact {
    position: relative;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
}

.contact-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-map-bg iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(20%);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    z-index: 2;
}

.contact-content {
    position: relative;
    z-index: 3;
}

.contact-content h2 {
    color: #333;
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.contact-card.primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.contact-card.primary h3 {
    color: #fff;
}

.contact-card.primary .contact-phone {
    color: #fff;
    font-weight: 600;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    background: #e9ecef;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.contact-card.primary .contact-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-phone {
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 5px;
}

.contact-phone:hover {
    text-decoration: underline;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 30px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info p {
    margin-bottom: 10px;
}

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

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

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

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus States */
.btn:focus,
.nav-menu a:focus,
.accordion-toggle:focus,
#back-to-top:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 15px;
    }

    .navbar {
        position: relative;
        min-height: 60px;
        padding: 10px 0;
    }

    .logo {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .logo-img {
        height: 35px;
    }

    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        transition: max-height 0.3s ease-out;
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 20px;
    }

    .nav-menu li {
        margin-bottom: 20px;
    }

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

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero {
        background-attachment: scroll;
    }

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

    section {
        padding: 60px 0;
    }

    .product-image {
        height: 150px;
    }

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

    .contact {
        min-height: auto;
    }

    .contact-info {
        padding: 15px 20px;
    }

    .logo-full {
        display: block;
    }

    .logo-short {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}