* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body { font-family: 'Poppins', sans-serif; background: #f5f7fa; color: #1a1a2e; }

/* ==========================
   NAVBAR
========================== */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 70px;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.40);
    z-index: 1000;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
}
.logo img {
    height: 40px;
    width: auto;
    max-width: 160px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.nav-links li { display: inline-block; }
.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s;
    padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: #4ade80; }

/* ==========================
   HERO
========================== */
.contact-hero {
    background: linear-gradient(135deg, #0f5132 0%, #1a8a4a 60%, #22c55e 100%);
    color: #fff;
    padding: calc(70px + 30px) 5% 3rem;
    text-align: center;
}
.contact-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-hero p {
    font-size: clamp(0.85rem, 1.5vw, 1.05rem);
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================
   INFO CARDS
========================== */
.contact-info-section { padding: 2.5rem 5% 1rem; }
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}
.contact-info-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    border-top: 4px solid #1a6b3c;
    transition: transform 0.25s;
}
.contact-info-card:hover { transform: translateY(-4px); }
.contact-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.contact-info-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a6b3c;
    margin-bottom: 0.4rem;
}
.contact-info-card p { font-size: 0.85rem; color: #555; }
.contact-info-card a {
    color: #1a6b3c;
    text-decoration: none;
    font-weight: 500;
}

/* ==========================
   FORM SECTION
========================== */
.contact-form-section { padding: 2.5rem 5%; }
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 6px 30px rgba(0,0,0,0.09);
    max-width: 1100px;
    margin: 0 auto;
}
.form-left { padding-right: 1rem; border-right: 1px solid #eee; }
.form-left > span {
    color: #1a6b3c;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.form-left h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 700;
    margin: 0.6rem 0 1rem;
    color: #1a1a2e;
    line-height: 1.35;
}
.form-left p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-choose { display: flex; flex-direction: column; gap: 0.8rem; }
.why-item { display: flex; align-items: flex-start; gap: 0.6rem; }
.why-icon {
    background: #e8f5ec;
    color: #1a6b3c;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.why-text strong { display: block; font-size: 0.85rem; font-weight: 600; color: #1a1a2e; }
.why-text span { font-size: 0.75rem; color: #777; }

/* FORM */
.form-right form { display: flex; flex-direction: column; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #444;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1.5px solid #dde3e8;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #1a1a2e;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1a6b3c;
    box-shadow: 0 0 0 3px rgba(26,107,60,0.1);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }

.submit-btn {
    background: linear-gradient(135deg, #1a6b3c, #22c55e);
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    align-self: flex-start;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26,107,60,0.3);
}

/* SUCCESS MESSAGE */
.success-msg {
    display: none;
    background: #e8f5ec;
    border: 1.5px solid #1a6b3c;
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: #1a6b3c;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
}
.success-msg.show { display: block; }

/* ==========================
   MAP SECTION
========================== */
.map-section { padding: 2.5rem 5%; background: #fff; }
.section-title { text-align: center; margin-bottom: 1.5rem; }
.section-title span {
    color: #1a6b3c;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.section-title h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0.4rem 0 0.5rem;
}
.section-title p { color: #666; font-size: 0.85rem; }
.map-container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 45%;
    height: 0;
}
.map-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================
   CTA
========================== */
.contact-cta {
    background: linear-gradient(135deg, #0f5132, #1a8a4a);
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
}
.contact-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.contact-cta p {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}
.contact-cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s;
    text-align: center;
}
.primary-btn { background: #fff; color: #1a6b3c; }
.primary-btn:hover { background: #e8f5ec; }
.white-btn { background: transparent; color: #fff; border-color: #fff; }
.white-btn:hover { background: rgba(255,255,255,0.15); }

/* ==========================
   FOOTER
========================== */
.footer { background: #111827; color: #ccc; padding: 2.5rem 5%; }
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}
.footer-box h2 { color: #fff; font-size: 1.1rem; margin-bottom: 0.8rem; }
.footer-box h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.8rem; }
.footer-box p, .footer-box li { font-size: 0.82rem; margin-bottom: 0.4rem; line-height: 1.6; }
.footer-box ul { list-style: none; }
.footer-box a { color: #ccc; text-decoration: none; }
.footer-box a:hover { color: #4ade80; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.78rem;
    color: #666;
    max-width: 1100px;
    margin: 0 auto;
}

/* ==========================
   WHATSAPP
========================== */
.whatsapp-btn {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    background: #25d366;
    color: #fff;
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* ==========================
   TABLET ≤ 992px
========================== */
@media (max-width: 992px) {
    .navbar { padding: 0 3%; height: 65px; }
    .logo img { height: 36px; max-width: 140px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }

    .contact-hero { padding: calc(65px + 25px) 4% 2.5rem; }
    .contact-info-section { padding: 2rem 4% 1rem; }
    .contact-form-section { padding: 2rem 4%; }
    .contact-form-container { gap: 2rem; padding: 2rem; }
    .map-section { padding: 2rem 4%; }
    .contact-cta { padding: 3rem 4%; }
    .footer { padding: 2rem 4%; }
}

/* ==========================
   MOBILE ≤ 768px
========================== */
@media (max-width: 768px) {
    html { scroll-padding-top: 60px; }

    .navbar { height: 60px; padding: 0 3%; }
    .logo img { height: 32px; max-width: 120px; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 11px; }

    .contact-hero { padding: calc(60px + 20px) 4% 2rem; }
    .contact-hero h1 { font-size: 1.7rem; }
    .contact-hero p { font-size: 0.85rem; }

    .contact-info-section { padding: 1.5rem 4%; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .contact-info-card { padding: 1.5rem 1rem; }

    .contact-form-section { padding: 1.5rem 4%; }
    .contact-form-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .form-left {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 1.2rem;
    }
    .form-row { grid-template-columns: 1fr; gap: 0.7rem; }
    .submit-btn { width: 100%; text-align: center; align-self: stretch; }

    .map-section { padding: 1.5rem 4%; }
    .map-container { padding-bottom: 55%; }

    .contact-cta { padding: 2.5rem 4%; }
    .contact-cta-buttons { flex-direction: column; align-items: center; }
    .contact-cta-buttons .btn { width: 100%; max-width: 280px; }

    .footer { padding: 1.8rem 4%; }
    .footer-container { gap: 1.5rem; }
}

/* ==========================
   SMALL MOBILE ≤ 480px
========================== */
@media (max-width: 480px) {
    .navbar { height: 55px; padding: 0 2.5%; }
    .logo a { padding: 4px 8px; }
    .logo img { height: 28px; max-width: 100px; }
    .nav-links { gap: 6px; }
    .nav-links a { font-size: 9px; }

    .contact-hero { padding: calc(55px + 15px) 3% 1.5rem; }
    .contact-hero h1 { font-size: 1.4rem; }
    .contact-hero p { font-size: 0.8rem; }

    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-info-card { padding: 1.2rem 1rem; }

    .form-left h2 { font-size: 1.15rem; }
    .why-text strong { font-size: 0.8rem; }
    .why-text span { font-size: 0.7rem; }

    .form-group input,
    .form-group select,
    .form-group textarea { padding: 0.6rem 0.7rem; font-size: 0.82rem; }

    .submit-btn { padding: 0.8rem 1.2rem; font-size: 0.85rem; }

    .map-container { padding-bottom: 70%; }

    .contact-cta h2 { font-size: 1.25rem; }
    .contact-cta p { font-size: 0.8rem; }

    .btn { padding: 0.7rem 1.2rem; font-size: 0.8rem; }

    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* ==========================
   EXTRA SMALL ≤ 360px
========================== */
@media (max-width: 360px) {
    .navbar { height: 50px; padding: 0 2%; }
    .logo img { height: 26px; max-width: 90px; }
    .nav-links { gap: 5px; }
    .nav-links a { font-size: 8px; }

    .contact-hero h1 { font-size: 1.25rem; }
    .contact-hero p { font-size: 0.75rem; }

    .contact-info-card { padding: 1rem 0.8rem; }
    .contact-icon { font-size: 1.6rem; }

    .form-left h2 { font-size: 1.05rem; }
}