/* ===== CSS VARIABLES ===== */
:root {
    --primary: #2a7a3c;
    --primary-dark: #009dff;
    --secondary: #f36f21;
    --accent: #06d6a0;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== BODY STYLES ===== */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9fafc;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Disable body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(42, 122, 60, 0.1);
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    margin-left: 10px;
}

/* ===== DESKTOP NAVIGATION ===== */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ===== GENERAL BOX STYLES ===== */
.box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    border: 1px solid var(--light-gray);
}

/* ===== PAGE HEADER ===== */
.page-title {
    font-size: 2.5rem;
    margin: 40px 0 15px;
    color: var(--dark);
    text-align: center;
}

.page-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ===== CONTACT CONTAINER ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ===== CONTACT INFO ===== */
.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-details p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    border: 1px solid var(--light-gray);
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
    padding-bottom: 10px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background-color: #f9fafc;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 122, 60, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ===== MAP CONTAINER ===== */
.map-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border: 1px solid var(--light-gray);
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 40px);
}

.map-embed {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-address {
    background-color: white;
    padding: 25px;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

.map-address p {
    margin-bottom: 10px;
    color: var(--dark);
}

.map-address p:first-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.map-link {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(42, 122, 60, 0.3);
    transition: var(--transition);
}

.map-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 122, 60, 0.4);
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(42, 122, 60, 0.3);
    font-size: 1rem;
    width: 100%;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 122, 60, 0.4);
}

/* ===== BUSINESS HOURS ===== */
.business-hours {
    background-color: #f0f7f2;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
}

.business-hours h4 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
}

.modal h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.modal p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark);
}

.modal-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(42, 122, 60, 0.3);
    transition: var(--transition);
}

.modal-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 122, 60, 0.4);
}

/* ===== RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* =========================================== */
/* 1️⃣ MOBILE BREAKPOINT WHERE NAVIGATION CHANGES */
/* =========================================== */
@media (max-width: 768px) {
    
    /* 2️⃣ MOBILE MENU BUTTON (HAMBURGER) */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 3️⃣ MAIN MOBILE NAVIGATION MENU */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: 60vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        overflow-y: auto;
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
        gap: 5px;
        margin: 0;
    }
    
    /* 4️⃣ WHEN MOBILE MENU IS OPENED */
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* 5️⃣ MOBILE NAV LINKS STYLING */
    .nav-menu li {
        width: 100%;
        list-style: none;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--dark);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        border-radius: var(--border-radius);
        margin: 4px 0;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .nav-menu li a:hover {
        background-color: rgba(42, 122, 60, 0.05);
        color: var(--primary);
    }
    
    .nav-menu li a.active {
        background-color: rgba(42, 122, 60, 0.1);
        color: var(--primary);
        font-weight: 600;
    }
    
    /* ===== MOBILE PAGE HEADER ===== */
    .page-title {
        font-size: 2rem;
        margin: 30px 0 15px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    /* ===== MOBILE CONTACT ITEMS ===== */
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
    
    .contact-details h4,
    .contact-details p {
        text-align: center;
    }
    
    .contact-info h2 {
        text-align: center;
    }
    
    .contact-info h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* ===== MOBILE BOXES ===== */
    .box, .contact-form {
        padding: 25px 20px;
    }
    
    /* ===== MOBILE MAP ===== */
    .map-container {
        margin: 0 auto 40px;
        max-width: 100%;
        width: calc(100% - 30px);
    }
    
    .map-embed {
        height: 400px;
    }
    
    .map-address {
        padding: 20px;
    }
    
    /* ===== MOBILE MODAL ===== */
    .modal-content {
        padding: 30px 20px;
    }
    
    /* ===== MOBILE SECTION HEADERS ===== */
    .contact-form h2 {
        text-align: center;
    }
    
    .contact-form h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* ===== MOBILE BUSINESS HOURS ===== */
    .business-hours h4 {
        justify-content: center;
    }
    
    .hours-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .page-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .box, .contact-form {
        padding: 20px 15px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
    
    .modal h3 {
        font-size: 1.5rem;
    }
    
    .map-embed {
        height: 300px;
    }
}

/* ===== HIDE MOBILE MENU BUTTON ON DESKTOP ===== */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}