/* ------------------ Contact Hero Section ------------------ */
section.contact-section {
    width: 100%;
    padding: 100px 0;
    background-image: url('../images/contact.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transform: scaleX(-1);
}

/* Dark overlay */
section.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

/* Content */
section.contact-section .contact-content {
    position: relative;
    color: var(--color-white);
    transform: scaleX(-1);
}

section.contact-section .contact-content h2 {
    font-size: 40px;
    font-family: var(--font2);
    font-weight: 600;
    margin-bottom: 10px;
}

section.contact-section .contact-content p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 620px;
}

/* Responsive */
@media (max-width: 600px) {
    section.contact-section .contact-content h2 {
        font-size: 26px;
    }

    section.contact-section .contact-content p {
        font-size: 14px;
    }

    section.contact-section {
        padding: 60px 15px;
    }
}

/* ------------------ Contact Form ------------------ */
section.contact-form-section {
    width: 100%;
    padding: 40px 15px;
    display: flex;
    justify-content: center;
}

section.contact-form-section .custom-form {
    width: 100%;
    max-width: 900px;
}

section.contact-form-section .custom-form h2 {
    text-align: center;
    font-size: 30px;
    color: var(--color-primary);
    font-family: var(--font2);
    margin-bottom: 30px;
}

section.contact-form-section .custom-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

section.contact-form-section .custom-form .form-row .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

section.contact-form-section .custom-form .form-row .form-group.full {
    flex: 100%;
}

/* Labels */
section.contact-form-section .custom-form .form-row .form-group label {
    font-size: 15px;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

section.contact-form-section .custom-form .form-row .form-group label span {
    color: red;
}

section.contact-form-section .custom-form .form-row .form-group select {
    color: var(--text-grey);
    cursor: pointer;
}

/* Inputs */
section.contact-form-section .custom-form input,
section.contact-form-section .custom-form select,
section.contact-form-section .custom-form textarea {
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    font-size: 14px;
    background: transparent;
    outline: none;
    width: 100%;
}

section.contact-form-section .custom-form textarea {
    height: 80px;
    resize: none;
}

/* Submit button */
section.contact-form-section .submit-row {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    section.contact-form-section .custom-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .submit-btn {
        width: 100%;
    }
}

/* ------------------ Contact Details ------------------ */
section.contact-details {
    padding: 60px 0;
    background-color: #F7F7F7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    align-items: stretch;
}

.contact-info-side {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-header .sub-title {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 33px;
    color: var(--text-dark);
    font-family: var(--font2);
    margin: 0 0 15px;
    font-weight: 600;
}

.section-header p {
    color: var(--text-grey);
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.icon-box {
    min-width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.text-box h5 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.text-box p {
    margin: 0;
    color: var(--text-grey);
    font-size: 14px;
    line-height: 1.5;
}

.text-box .label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 2px;
    font-weight: 500;
}

.text-box a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.text-box a:hover {
    color: var(--color-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.contact-image-side {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.contact-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-image-side {
        height: 300px;
        min-height: auto;
        order: -1;
    }

    .contact-info-side {
        padding: 15px 18px;
    }
}

@media (max-width: 600px) {
    .section-header h2 {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .icon-box {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-item {
        gap: 12px;
    }
}