* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: url("https://plus.unsplash.com/premium_photo-1661846554697-5455ec0812f2?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cG91bHRyeXxlbnwwfHwwfHx8MA%3D%3D");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

header {
    background: linear-gradient(90deg, #2e8b57 0%, #16653a 100%);
    padding: 15px 25px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    border-bottom: 3px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

header .logo {
    width: auto;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
    text-align: center;
}

header .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 0;
}

nav {
    display: flex;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    padding: 10px 0;
    transition: 0.3s;
}

nav a {
    padding: 12px 18px;
    text-decoration: none;
    color: #1a3d1a;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #2e8b57;
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    padding: 15px;
    background: #2e8b57;
    color: white;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 60px;
    border: none;
    border-radius: 6px;
}

nav.show {
    display: flex !important;
    flex-direction: column;
    text-align: center;
}

.category-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 12px 0;
}

.cat-btn {
    background: #2e8b57;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.cat-btn:hover {
    background: #1d5c39;
    transform: scale(1.1);
}

.subcategory-bar {
    display: none;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

body:has(a[href*="equipment"]:hover) .subcategory-bar {
    display: flex;
}

.sub-btn {
    background: #1d5c39;
    padding: 8px 12px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.sub-btn:hover {
    background: #164a2e;
    transform: scale(1.1);
}

.content {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    animation: fadeUp 0.7s ease-in-out;
    align-items: start;
    justify-items: center;
}

.contact-card, .form-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    animation: slideIn 0.8s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card h2,
.form-card h2 {
    color: #2e8b57;
    margin-bottom: 6px;
}

.contact-card {
    max-width: 520px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #163b1a;
    font-size: 16px;
}

.contact-list li strong {
    min-width: 78px;
    color: #2e8b57;
}

.contact-list a {
    color: #1d5c39;
    text-decoration: none;
    font-weight: 600;
}

.form-card {
    width: 100%;
    max-width: 560px;
    justify-self: center;
}

.contact-card {
    justify-self: start;
}

@media (max-width: 900px) {
    header .menu-toggle {
        display: block;
    }

    .content { max-width: 720px; }
    .form-card, .contact-card { justify-self: center; }
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: #ffffffd9;
    transition: 0.3s;
}

form input:focus, form textarea:focus {
    border-color: #1d5c39;
    transform: scale(1.02);
}

.btn {
    background: #2e8b57;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #1d5c39;
    transform: scale(1.05);
}

h2 {
    text-align: center;
    margin-top: 3rem;
}

p {
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1.2rem;
}

.contact-item {
    background: rgba(255,255,255,0.95);
    padding: 1.8rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.contact-item a {
    color: #2e8b57;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.contact-item a:hover {
    color: #1d5c39;
    text-decoration: underline;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
    animation: popIn 0.8s ease-in-out;
    z-index: 999;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

footer {
    background: rgba(255,255,255,0.9);
    padding: 18px;
    text-align: center;
    margin-top: 40px;
    color: #1a3d1a;
    font-weight: bold;
}

.faq-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.2rem;
}

.faq-container h2 {
    text-align: center;
    color: #1a3d1a;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.faq-category {
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.95);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-category h3 {
    color: #2e8b57;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.3rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #2e8b57;
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: #f0f7f2;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    color: #1a3d1a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e8f5e9;
    border-color: #1d5c39;
    transform: translateX(4px);
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-question.open {
    background: #2e8b57;
    color: white;
    border-color: #1d5c39;
}

.faq-question.open::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f9fff9;
    padding: 0 1rem;
    border-left: 4px solid #2e8b57;
    border-radius: 0 8px 8px 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
    line-height: 1.6;
    color: #2d4a2d;
}

.faq-answer.open {
    max-height: 500px;
    padding: 1rem;
}

.faq-answer a {
    color: #2e8b57;
    text-decoration: none;
    font-weight: 600;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@keyframes fadeUp {
    from {opacity: 0; transform: translateY(25px);}
    to {opacity:1; transform: translateY(0);}
}

@keyframes slideIn {
    from {opacity: 0; transform: translateX(-20px);}
    to {opacity:1; transform: translateX(0);}
}

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    nav { 
        display: none; 
        position: relative;
        top: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        width: 100%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        padding: 10px 0;
        z-index: 999;
    }
    nav a {
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid #e0e0e0;
    }
    .content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header {
        padding: 10px 15px;
        justify-content: space-between;
    }
    header .logo {
        width: auto;
        height: 70px;
    }
    header h1 {
        font-size: 1.1rem;
        flex: 1;
    }
}


footer .legal-links {
    margin-top: 5px;
    font-size: 0.85rem;
}
footer .legal-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 5px;
}
footer .legal-links a:hover {
    text-decoration: underline;
}