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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2E5F3F 0%, #1a3d28 100%);
    padding: 8rem 2rem 5rem;
    text-align: center;
    margin-top: 0;
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
    opacity: 0.5;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFF;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

/* Contact Info Section */
.contact-info {
    padding: 5rem 2rem;
    background-color: #FFF;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2E5F3F;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

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

.contact-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(46, 95, 63, 0.1);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(46, 95, 63, 0.15);
    border-color: #D8B66A;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2E5F3F;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.contact-item p {
    font-size: 1rem;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-form {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #EEF2F0 100%);
}

.contact-form h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2E5F3F;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: #FFF;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #2E5F3F;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E5F3F;
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(46, 95, 63, 0.1);
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: #28a745;
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
}

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

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #2E5F3F 0%, #1a3d28 100%);
    color: #FFF;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(46, 95, 63, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #D8B66A 0%, #c9a55a 100%);
    color: #2E5F3F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(216, 182, 106, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background-color: #FFF;
    margin-bottom: 4rem;
}

.map-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2E5F3F;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        margin-top: 70px;
        padding: 3rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 3rem 1.5rem;
    }

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

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1.3rem;
    }

    .contact-item p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 3rem 1.5rem;
    }

    .contact-form h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .form-container {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        font-size: 1rem;
    }

    .map-section {
        padding: 3rem 1.5rem;
    }

    .map-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 60px;
        padding: 2.5rem 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-info {
        padding: 2.5rem 1rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

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

    .contact-item {
        padding: 1.5rem 1rem;
    }

    .contact-item h3 {
        font-size: 1.2rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 2.5rem 1rem;
    }

    .contact-form h2 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 1.5rem;
    }

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

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

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

    .btn-submit {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .map-section {
        padding: 2.5rem 1rem;
    }

    .map-section h2 {
        font-size: 1.8rem;
    }

    .map-container iframe {
        height: 250px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .contact-info h2,
    .contact-form h2,
    .map-section h2 {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 1rem;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2E5F3F 0%, #1a3d28 100%);
    color: #FFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(46, 95, 63, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #D8B66A 0%, #c9a55a 100%);
    color: #2E5F3F;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(216, 182, 106, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}