/* Contact Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==================== HERO SECTION ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f9fdfa;
    color: #333;
    line-height: 1.6;
}

.contact-hero {
    background: linear-gradient(135deg, #2c5f2d 0%, #1e4220 50%, #2c5f2d 100%);
    padding: 5rem 5% 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.contact-hero-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.contact-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.contact-hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ==================== MAIN SECTION ==================== */
.contact-section {
    padding: 4rem 0;
    background: #f9fdfa;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ==================== INFO CARDS ==================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: -5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 95, 45, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #2c5f2d;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, #2c5f2d 0%, #4caf50 100%);
    color: white;
    transform: scale(1.1);
}

.contact-info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.contact-info-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ==================== CONTENT GRID ==================== */
.contact-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
}

/* ==================== FORM WRAPPER ==================== */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(44, 95, 45, 0.05);
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #666;
}

/* ==================== FORM STYLES ==================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-group-full {
    grid-column: 1 / -1;
}

.contact-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.contact-form-label svg {
    color: #2c5f2d;
}

.contact-form-input,
.contact-form-textarea,
.contact-form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus,
.contact-form-select:focus {
    outline: none;
    border-color: #2c5f2d;
    background: white;
    box-shadow: 0 0 0 4px rgba(44, 95, 45, 0.1);
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: #aaa;
}

.contact-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* ==================== SUBMIT BUTTON ==================== */
.contact-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7c3e 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-form-btn:hover::before {
    left: 100%;
}

.contact-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.contact-form-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-btn-icon {
    transition: transform 0.3s ease;
}

.contact-form-btn:hover .contact-btn-icon {
    transform: translateX(3px) translateY(-3px);
}

.contact-btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-spinner {
    animation: contact-spin 1s linear infinite;
}

@keyframes contact-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== MAP WRAPPER ==================== */
.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-map-header {
    text-align: center;
}

.contact-map-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-map-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #666;
}

.contact-map {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

/* ==================== QUICK CONTACT ==================== */
.contact-quick {
    display: flex;
    gap: 1rem;
}

.contact-quick-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2c5f2d 0%, #3d7c3e 100%);
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.contact-quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 95, 45, 0.4);
}

.contact-quick-btn-outline {
    background: white;
    color: #2c5f2d;
    border: 2px solid #2c5f2d;
    box-shadow: none;
}

.contact-quick-btn-outline:hover {
    background: #e8f5e9;
    box-shadow: 0 5px 20px rgba(44, 95, 45, 0.15);
}

/* ==================== FAQ SECTION ==================== */
.contact-faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9fdfa 0%, #ffffff 100%);
}

.contact-faq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-faq-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.contact-faq-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #666;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-faq-item {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 95, 45, 0.05);
}

.contact-faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(44, 95, 45, 0.1);
}

.contact-faq-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c5f2d;
    margin-bottom: 1rem;
}

.contact-faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-faq-answer {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* ==================== TOAST ANIMATIONS ==================== */
@keyframes slideInToast {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToast {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ==================== RESPONSIVE STYLES ==================== */
@media (max-width: 1024px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info-grid {
        margin-top: -4rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 5% 6rem;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-text {
        font-size: 1rem;
    }

    .contact-hero-wave svg {
        height: 50px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        margin-top: -3rem;
        gap: 1rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-map {
        height: 280px;
    }

    .contact-quick {
        flex-direction: column;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-faq-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 3rem 5% 5rem;
    }

    .contact-hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .contact-hero-title {
        font-size: 1.75rem;
    }

    .contact-section {
        padding: 3rem 0;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    .contact-form-input,
    .contact-form-textarea,
    .contact-form-select {
        padding: 0.9rem 1rem;
    }

    .contact-form-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .contact-info-icon {
        width: 60px;
        height: 60px;
    }

    .contact-faq-section {
        padding: 3rem 0;
    }

    .contact-faq-item {
        padding: 1.25rem;
    }
}

@media (max-width: 400px) {
    .contact-hero-title {
        font-size: 1.5rem;
    }

    .contact-form-label {
        font-size: 0.85rem;
    }

    .contact-map {
        height: 220px;
    }
}