﻿/* Form Container - Mobile First */


.btn {
    text-transform: capitalize;
}

    .btn:hover {
        background: black;
        color: white;
        border-color:black;
    }

.contact-addresses-wrapper {
    background: #f7f5ed;
    padding-block: 48px;
}

.contact-addresses {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: center;
    text-align: center;
}

.contact-address {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

    .contact-address h3 {
        color: #282828;
        font-size: clamp(20px, 2vw, 28px);
        letter-spacing: -2%;
        font-weight: 400;
    }

    .contact-address p {
        color: #676f7e;
        font-size: clamp(14px, 1.5vw, 16px);
        line-height: 1.6;
        font-weight: 500;
    }

.get-in-touch-wrapper {
    padding-block: 48px;
}

.get-in-touch-container {
    display: grid;
    gap: 32px 0px;
}

.get-in-touch-contents {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.get-in-touch-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .get-in-touch-content .heading {
        display: flex;
        align-items: center;
        gap: 20px;
    }

        .get-in-touch-content .heading img {
            width: 16px;
        }

        .get-in-touch-content .heading h2 {
            font-size: clamp(24px, 5vw, 43px);
            font-weight: 500;
            color: #282828;
            letter-spacing: -2%;
        }

    .get-in-touch-content p {
        font-size: clamp(16px, 1.5vw, 18px);
        line-height: 1.6;
        color: #676f7e;
        font-weight: 500;
        font-family: 'Newsreader', serif;
    }

.testimony-wrapper {
    background: #f7f5ed;
}

.testimony-container {
    max-width: 900px;
    margin: 0 auto;
    padding-block: 42px;
}

.form-header {
    margin-bottom: 24px;
}

    .form-header h1 {
        margin-bottom: 10px;
    }

    .form-header p {
        font-size: clamp(16px, 1.5vw, 18px);
        line-height: 1.6;
        color: #676F7E;
        font-weight: 500;
        font-family: "Newsreader", serif;
    }

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* Input Styles */
input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    appearance: none;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    select:focus,
    textarea:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

    input[type="text"]::placeholder,
    input[type="email"]::placeholder {
        color: #999;
    }

/* Select Dropdown */
.select-wrapper {
    position: relative;
}

    .select-wrapper::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        pointer-events: none;
    }

select {
    padding-right: 40px;
    cursor: pointer;
}

    select option {
        padding: 10px;
    }

/* Textarea */
textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* Submit Button */
.submit-btn {
    width: fit-content;
    padding: 15px 35px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

    .submit-btn:hover {
        background: #357abd;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

    .submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }

/* Success Message */
.success-message {
    display: none;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    color: #2e7d32;
    font-size: 14px;
    font-weight: 500;
}

    .success-message.show {
        display: block;
        animation: slideDown 0.4s ease-out;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #d32f2f;
}

.form-group.error .error-message {
    display: block;
}

/* Tablet Styles */
@media (min-width: 640px) {
    .contact-addresses-wrapper {
        padding-block: 72px;
    }

    .get-in-touch-wrapper {
        padding-block: 72px;
    }

    .get-in-touch-content .heading img {
        width: 24px;
    }

    .testimony-container {
        padding-block: 72px;
    }



    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    input[type="text"],
    input[type="email"],
    select,
    textarea {
        padding: 15px 18px;
        font-size: 16px;
    }

    textarea {
        min-height: 180px;
    }
}

@media (min-width: 768px) {
    .contact-addresses {
        justify-content: space-between;
    }

    .get-in-touch-container {
        align-items: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {



    textarea {
        min-height: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.form-header {
    animation-delay: 0.1s;
}

.form {
    animation-delay: 0.2s;
}
