/* GLOBAL STYLES & VARIABLES */
:root {
    --color-primary: #ffcd1c;
    --color-dark: #262329;
    --color-dark-grey: #54595f;
    --color-light-grey: #f5f5f5;
    --color-text: #5e5e5e;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-blue-button: #066aab;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* MAIN CONTENT STYLES */

.hero {
    background-image: linear-gradient(rgba(238, 240, 241, 0.3), rgba(238, 240, 241, 0.3)), url('/assets/contact/contact-us-3.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    height: 400px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 60px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.intro-text {
    padding: 60px 30px 0 0;
}

.intro-text .container {
    max-width: 1000px;
    text-align: center;
}

.intro-text .container p {
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.7;
}

.contact-methods {
    padding-bottom: 60px;

    display: flex;

}

.contact-methods .container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.contact-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image {
    width: 450px; /* Adjust size as needed, original seemed large */
    height: auto;
    object-fit: contain;
}

.floating-img {
    position: absolute;
    z-index: 10;
    width: 300px; /* Adjust size */
    height: auto;
    bottom: -10px; /* Slightly overlapping bottom */
    right: 50px; /* Adjust to be "bottom right compared to cover-image" - maybe offset from center? */
    /* If we want it relative to the cover image specifically, we might need a wrapper. 
       But .contact-image is centering the cover-image. 
       If I use right: 10% or something? 
       Let's try right: 20px for now. */
}

.contact-accordion {
    flex: 1;
    margin-left: 50px;
    margin-right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); /* Soft shadow */
    padding: 0;
    overflow: hidden;
}

.contact-accordion ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-accordion li {
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    color: #333;
}

.contact-accordion li:last-child {
    border-bottom: none;
}

.contact-accordion li:hover {
    background-color: #f8f9fa;
}

.contact-accordion a:hover i {
    color: #333;
}

.contact-accordion i {
    font-size: 18px;
    width: 25px;
    text-align: center;
    color: #54595f;
}

.contact-form-section {
    background-color: var(--color-light-grey);
    background-image: linear-gradient(rgba(238, 240, 241, 0.3), rgba(238, 240, 241, 0.3)), url('/assets/contact/phoneBG.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    justify-content: center;
}

.contact-form-section .container {
    max-width: 600px;

}

.contact-form-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--color-black);
}

.step-indicator {
    text-align: center;
    margin-bottom: 20px;
}

.step-indicator p {
    font-size: 14px;
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    width: 50%;
    height: 100%;
    background-color: #0073e6;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 16px;
    font-family: 'Work Sans', sans-serif;
}

.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.btn-next {
    background-color: #337ab7;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

.btn-next:hover {
    opacity: 0.9;
}



.floating-img {
    position: absolute;
    z-index: 10;
    border-radius: 360px;
    width: 350px;
    height: 350px;
    bottom: -30px;
    left: 100px
}


/* RESPONSIVE STYLES */
@media (max-width: 1024px) {

    .main-nav ul {
        gap: 20px;
    }

    .contact-form-section .container {
        margin: 0 auto;
        max-width: 90%;
    }

}

@media (max-width: 768px) {


    .hero h1 {
        font-size: 40px;
    }

    .contact-methods .container {
        flex-direction: column;
    }

    .contact-form-section {
        background-image: none;
        padding: 40px 0;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-group {
        margin-bottom: 20px;
    }

    .floating-img {
        left: 20px
    }

    .contact-accordion {
        margin: 0px;
    }
}


.cover-image {
    width: 400px;
    height: 400px;
}

/* Form Styles Override */
.contact-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    align-items: start !important;
}
.contact-form .form-group.full-width {
    grid-column: span 2 !important;
}
@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr !important;
    }
    .contact-form .form-group.full-width {
        grid-column: span 1 !important;
    }
}
