@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Contact Hero Section */
:root { --dm-nav-height: 80px; }

.contactus-video-container-relative {
    position: relative;
    --dm-hero-offset: 250px;
    min-height: 108vh;
    height: fit-content;
    margin-top: calc(-1 * var(--dm-nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.contactus-hero-section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 90px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    inset: 0;
    background-color: rgba(255,255,255,0.65);
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.contactus-hero-section-bottom-header {
    font-family: "Poppins", sans-serif;
    color: #000;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
    font-size: 64px;
    line-height: 1.04;
    margin: 0 0 18px 0;
}

.contactus-hero-section-paragraph {
    color: #374754;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    font-family: "DM Sans", sans-serif;
    line-height: 1.4;
    padding: 5px 0;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 28px auto;
    text-align: center;
    margin-bottom: 24px;
}

.contactus-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    text-align: start;
}

.contactus-video {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: none;
    display: block;
    object-fit: cover;
}

/* Contact Form Section */
.contactus-form-section {
    padding: 100px 75px;
    background-color: #fff;
}

.contactus-form-container {
    max-width: 1600px;
    margin: 0 auto;
    justify-items: center;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.contactus-form-left-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.contactus-form-section-heading {
    font-family: "Poppins", sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: normal;
}

.contactus-form-contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contactus-form-email-section,
.contactus-form-socials-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contactus-form-email-heading,
.contactus-form-socials-heading {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: normal;
}

.contactus-form-email-link {
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #374754;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contactus-form-email-link:hover {
    color: #53A2E8;
}

.contactus-form-social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    gap: 15px;
}

.contactus-form-social-link {
    font-family: "DM Sans", sans-serif;
    font-size: 25px;
    font-weight: 400; 
    color: #53A2E8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contactus-form-social-link:hover {
    color: #53A2E8;
}

.contactus-form-right-content {
    max-width: 600px;
    width: 100%;
}


.contactus-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contactus-form-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contactus-form-label {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #374754;
    margin: 0;
}

.contactus-form-input,
.contactus-form-select,
.contactus-form-textarea {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #374754;
    background-color: #F8F9FA;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    outline: none;
    min-height: 52px;
    box-sizing: border-box;
}

.contactus-form-input:focus,
.contactus-form-select:focus,
.contactus-form-textarea:focus {
    border-color: #53A2E8;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(83, 162, 232, 0.1);
}

.contactus-form-input::placeholder,
.contactus-form-textarea::placeholder {
    color: #9CA3AF;
}

.contactus-form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    min-height: 52px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contactus-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contactus-form-submit-button {
    background-color: #53A2E8;
    border: none;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contactus-form-submit-button:hover {
    background-color: #3B82F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 162, 232, 0.3);
}

.contact-us-map-iframe{
    width: 100%;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contactus-hero-section {
        padding: calc(var(--dm-nav-height) + var(--dm-hero-offset)) 50px 0px 50px;
    }

    .contactus-video-container-relative {
        --dm-hero-offset: 200px;
    }
    
    .contactus-hero-section-bottom-header {
        font-size: 48px;
    }
    
    .contactus-hero-section-paragraph {
        font-size: 24px;
    }
    
    /* .contactus-video {
        height: 350px;
    } */
    
    .contactus-form-section {
        padding: 80px 50px;
    }
    
    .contactus-form-container {
        gap: 60px;
    }
    
    .contactus-form-section-heading {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contactus-hero-section {
        padding: 60px 30px 30px 30px;
        /* position: relative;
        background-color: #fff;
        height: auto;
        min-height: 300px; */
    }
    
    .contactus-video-container-relative {
        /* background-color: #fff; */
        /* --dm-hero-offset: 150px; */
    }
    
    /* .contactus-video-container {
        display: none;
    } */
    
    .contactus-hero-section-bottom-header {
        font-size: 36px;
        margin: 20px 0;
    }
    
    .contactus-hero-section-paragraph {
        font-size: 18px;
        max-width: 100%;
        padding: 10px 0;
    }
    
    .contactus-form-section {
        padding: 60px 30px;
        margin: 0 auto;
    }
    
    .contactus-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
        width: 100%;
    }

    .contactus-form-left-content{
        width: 100%;
    }
     .contactus-form-right-content{
        width: 100%;
    }
    
    .contactus-form-section-heading {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .contactus-form-contact-info {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .contactus-hero-section {
        padding: 40px 20px 20px 20px;
        position: relative;
        background-color: #fff;
        height: auto;
        min-height: 250px;
    }
    
    .contactus-video-container-relative {
        background-color: #fff;
        --dm-hero-offset: 120px;
    }
    
    /* .contactus-video-container {
        display: none;
    } */
    
    .contactus-hero-section-bottom-header {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .contactus-hero-section-paragraph {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .contactus-form-section {
        padding: 50px 20px;
    }
    
    .contactus-form-container {
        gap: 25px;
    }
    
    .contactus-form-section-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .contactus-form-contact-info {
        gap: 15px;
    }
    
    .contactus-form-email-heading,
    .contactus-form-socials-heading {
        font-size: 20px;
    }
    
    .contactus-form-email-link,
    .contactus-form-social-link {
        font-size: 16px;
    }
    
    .contactus-form {
        gap: 20px;
    }
    
    .contactus-form-input,
    .contactus-form-select,
    .contactus-form-textarea {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 48px;
    }
    
    .contactus-form-select {
        padding-right: 45px;
        background-position: right 15px center;
    }
    
    .contactus-form-submit-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contactus-hero-section {
        padding: 30px 15px 15px 15px;
        position: relative;
        background-color: #fff;
        height: auto;
        min-height: 200px;
    }
    
    .contactus-video-container-relative {
        background-color: #fff;
        --dm-hero-offset: 100px;
    }
    
    /* .contactus-video-container {
        display: none;
    } */
    
    .contactus-hero-section-bottom-header {
        font-size: 24px;
    }
    
    .contactus-hero-section-paragraph {
        font-size: 15px;
    }
    
    .contactus-form-section {
        padding: 40px 15px;
    }
    
    .contactus-form-container {
        gap: 20px;
    }
    
    .contactus-form-section-heading {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .contactus-form-contact-info {
        gap: 12px;
    }
    
    .contactus-form-email-heading,
    .contactus-form-socials-heading {
        font-size: 18px;
    }
    
    .contactus-form-email-link,
    .contactus-form-social-link {
        font-size: 14px;
    }
    
    .contactus-form {
        gap: 15px;
    }
    
    .contactus-form-input,
    .contactus-form-select,
    .contactus-form-textarea {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .contactus-form-select {
        padding-right: 40px;
        background-position: right 12px center;
    }
    
    .contactus-form-submit-button {
        padding: 10px 20px;
        font-size: 13px;
    }
}
