/* Contact Us Page Styles */

/* Hero Section */
#main{
    padding-top: 90px;
}
.footer {
    margin-top: 0;
}
.hero-section {
    position: relative;
    min-height: 640px;
    background-image: url('https://images.unsplash.com/photo-1636367393690-1f07c7413851?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxjb25zdHJ1Y3Rpb24lMjBzaXRlJTIwYnVpbGRpbmd8ZW58MXx8fHwxNzU4MDEzNzUyfDA&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(31, 31, 31, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66.87%;
    
}

.hero-left {
    flex: 1;
    max-width: 745px;
    border-left: 12px solid #A37E2C;
    padding-left: 24px;
    padding-bottom: 36px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    line-height: 56px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 12px;
}

.hero-description {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    margin-bottom: 40px;
    max-width: 745px;
}


.cta-button {
    background-color: var(--color-secondary-100);
    color: var(--color-white);
    padding: 12px 91px;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    border-radius: 0;
}

.cta-button:hover {
    background-color: var(--color-secondary-200);
}

/* Contact Info Sidebar */
.contact-sidebar {
    max-width: 637px;
    background-color: var(--color-secondary-100);
    padding: 96px 48px;
    color: var(--color-white);
    z-index: 3;
    width: 33.18%;
    height: 640px;

}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 32px;
}

.contact-info-section {
    margin-bottom: 16px;
}

.contact-info-section h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin: 0 0 4px 0;
}

.contact-info-section p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--font-weight-normal);
    color: var(--color-white);
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 82px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

/* Services Section */
.services-section {
    padding: 80px 0 49px;
    background-color: var(--color-white);
}

.services-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-item {
    display: flex;
    align-items: start;
    gap: 20px;
}

.service-icon {
    width: 56px;
    height: 56px;
    stroke: var(--color-secondary-100);
    color: var(--color-secondary-100);
    stroke-width: 3;
    fill: none;
}

.service-content h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    line-height: 100%;
    font-weight: var(--font-weight-bold);
    color: #2a2a2a;
    margin: 0 0 4px 0;
}

.service-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 27px;
    font-weight: var(--font-weight-normal);
    color: var(--color-black);
    letter-spacing: 0.6px;
    margin: 0;
    max-width: 275px;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--color-primary-100);
    color: var(--color-white);
    padding: 62px 0;
    text-align: center;
}

.cta-content {
    max-width: 821px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-text h3 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 48px;
    font-weight: var(--font-weight-bold);
    color: #f1f3f4;
    margin: 0 0 8px 0;
    text-align: left;
}

.cta-text p {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 32px;
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    margin: 0;
}


.cta-button-outline {
    background-color: transparent;
    border: 5px solid var(--color-white);
    color: #f1f3f4;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    font-weight: var(--font-weight-normal);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary-100);
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    background-color: #f7f7f7;
    padding: 0;
    align-items: center;
}

.map-background {
    width: 54%;
    height: 657px;
}
.map-background iframe{
    width: 100%;
    height: 100%;
}

.contact-form-container {
    z-index: 2;    
    width: 46%;
    height: min-content;
}

.contact-form {
    max-width: 536px;
    margin:auto ;
    max-width: 536px;
    margin-left: auto;
    margin-right: 70px;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 48px;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-100);
    margin-bottom: 8px;
}

.form-divider {
    width: 48px;
    height: 5px;
    background-color: var(--color-secondary-100);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-input {
    border-radius: 0;
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-white);
    border: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 27px;
    font-weight: var(--font-weight-normal);
    color: #666666;
    letter-spacing: 0.6px;
    box-sizing: border-box;
}

.form-textarea {
    width: 100%;
    height: 148px;
    padding: 12px;
    background-color: var(--color-white);
    border: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 27px;
    font-weight: var(--font-weight-normal);
    color: #666666;
    letter-spacing: 0.6px;
    resize: vertical;
    box-sizing: border-box;
}

.form-submit {
    width: 100%;
    background-color: var(--color-primary-100);
    border: 4px solid var(--color-primary-100);
    color: var(--color-white);
    padding: 12px 91px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border-radius: 0;
}

.form-submit:hover {
    background-color: var(--color-primary-200);
    border-color: var(--color-primary-200);
}


.contact-phone {
    font-family: 'Kanit', sans-serif;
    font-size: 34px;
    line-height: 38px;
    font-weight: 600;
    color: #141414;
    margin-bottom: 2rem;
}




@media (max-width: 1199px) {
    .hero-section{
        flex-direction: column;
        background: none;
        min-height: auto;
    }
    .contact-sidebar {
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 29px 58px;
        height: min-content;
    }
    .contact-info-section{
        margin-bottom: 0;
    }
    .hero-content {
        flex-direction: column;
        padding-top: 40px;
        padding-bottom: 28px;
        background: linear-gradient(rgba(31, 31, 31, 0.85), rgba(31, 31, 31, 0.85)), url('https://images.unsplash.com/photo-1636367393690-1f07c7413851?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxjb25zdHJ1Y3Rpb24lMjBzaXRlJTIwYnVpbGRpbmd8ZW58MXx8fHwxNzU4MDEzNzUyfDA&ixlib=rb-4.1.0&q=80&w=1080');
        width: 100%;
        background-position: bottom;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        row-gap: 34px;
    }
    .service-content h4{
        line-height: 20px;
        font-size: 16px;
    }
    .service-content p{
        font-size: 14px;
        line-height: 18px;
    }
    .services-grid {
        max-width: calc(100% - 80px);
        margin: auto;
    }

    .hero-title{
        font-size: 36px;
        line-height: 48px;
    }
    .hero-left{
        text-align: center;
        padding-bottom: 27px;
    }
    .hero-description{
        font-size: 20px;
        line-height: 28px;
    }
    .cta-button{
        padding: 12px 40px;
    }
    .contact-form-container{
        margin:auto ;
        margin-top: 80px;
        width: 100%;
    }
    .contact-info-section-container{
        display: flex;
        justify-content: space-between;
        align-items: end;
    }
    .contact-info-title{
        margin-bottom: 16px;
    }
    .contact-info-section p{
        max-width: 180px;
    }
    .social-icons{
        flex-direction: column;
        margin-top: 0;
    }
    .hero-overlay{
        display: none;
    }   
    .contact-form-section{
        flex-direction: column;
    }
    .map-background{
        width: 100%;
        margin-top: 45px;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 42px;
    }
    .hero-description {
        font-size: 18px;
        line-height: 24px;
    }
    .contact-info-section h4{
        font-size: 22px;
        line-height: 30px;
    }
}
@media (max-width: 767px) {
    .contact-info-section-container{
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 24px;
        line-height: 42px;
        margin-bottom: 8px;
    }
    .hero-description {
        font-size: 16px;
    }
    
    
    
    .contact-info-title{
        font-weight: 700;
        font-style: Bold;
        font-size: 24px;
        line-height: 32px;
    }
    .contact-info-section h4{
        font-weight: 700;
        font-size: 20px;
        line-height: 24px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary-100);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    
    
    .form-title {
        font-size: 32px;
        line-height: 38px;
    }
    
    
    
    
    .contact-phone {
        font-size: 24px;
        line-height: 28px;
    }
    .cta-content{
        max-width: calc(100% - 195px);
        flex-wrap: wrap;
    }
    
    .cta-section{
        padding: 40px 0;
    }
    .cta-text h3{
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
    }
    .cta-button-outline{
        font-size: 16px;
        line-height: 24px;
    }
    .cta-text p{
        font-size: 16px;
        line-height: 24px;
        text-align: start;
    }
    .contact-form {
        max-width: 78%;
    }
    .form-input,
    .form-textarea {
        background: #F3F3F3;
    }
    .contact-form-section{
        background: #fff;
    }
    .hero-left {
        width: 85%;
    }
    .contact-info-title {
        font-size: 28px;
        line-height: 34px;
    }
    .contact-info-section-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 14px;
    }
    .contact-info-section{
        text-align: center;
    }
    .social-icons {
        flex-direction: row;
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    #main {
        padding-top: 48px;
    }
    .hero-left{
        padding-left: 12px;
        padding-bottom: 12px;
    }
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .cta-content {
        max-width: calc(100% - 54px);
        gap:24px;
    }
    .cta-text h3{
        font-family: Instrument Sans;
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
    }
    .cta-button-outline{
        width: 100%;
    }
    .cta-section{
        padding-top: 28px;
    }
  
    .service-item {
        text-align: left;
        align-items: start;
        flex-direction: row;
    }
    .contact-info-title{
        text-align: center;
    }
    .hero-title {
        font-size: 20px;
        line-height: 24px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 20px;
    }
    .cta-button {
        padding: 8px 40px;
    }
    
    .services-grid {
        max-width: 100%;
        gap: 34px;
    }
    
    .contact-sidebar {
        padding-top: 29px;
    }
    
    .contact-info-title {
        font-size: 24px;
        line-height: 32px;
    }
    .contact-info-section p{
        margin-top: 4px;
    }
    .contact-info-section h4{
        margin-top: 14px;
    }
    
    
    .services-container {
        padding: 0 1rem;
    }
    .contact-form{
        max-width: 100%;
        margin-right: 0;
    }
    .form-title {
        font-size: 36px;
        line-height: 44px;
        text-align: center;
    }
    .form-submit{
        height: 40px;
        padding: 2px;
        font-family: Rubik;
        font-weight: 600;
        font-style: SemiBold;
        font-size: 14px;
        leading-trim: NONE;
        line-height: 100%;
        letter-spacing: 10%;

    }
    .form-divider{
        margin-left: auto;
        margin-right: auto;
    }
    .form-group {
        margin-bottom: 12px;
    }
    .contact-form-container {
        padding: 0 1rem;
    }
    .map-background {
        margin-top: 15px;
        height: 305px;
    }
}