/* ============================================
   RESPONSIVE STYLES FOR CONTACT US PAGE
   Mobile-first approach with breakpoints:
   - Mobile: max-width: 767px
   - Tablet: 768px - 991px
   - Desktop: 992px+
   ============================================ */

/* ============================================
   TABLET STYLES (768px - 991px)
   ============================================ */

   @media (min-width: 768px) and (max-width: 991px) {
    /* Contact Us Section */
    .contact-us-section {
        padding-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-us-content-container {
        padding-top: 60px;
        padding-bottom: 60px;
        border-radius: 16px 16px 0 0;
    }

    /* Contact Us Content */
    .contact-us-content {
        margin-bottom: 48px;
    }

    .contact-us-content h1 {
        font-size: 40px;
        line-height: 48px;
        letter-spacing: -0.4px;
        margin-bottom: 20px;
    }

    .contact-us-content p {
        font-size: 20px;
        line-height: 24px;
        letter-spacing: -0.2px;
    }

    /* Contact Form */
    .contact-us-form {
        margin-bottom: 48px;
        padding-right: 0;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-row .form-group {
        width: 100%;
    }

    .contact-form .form-control {
        font-size: 15px;
        padding: 14px 16px;
    }

    .contact-form textarea.form-control {
        font-size: 15px;
        padding: 14px 16px;
    }

    .contact-form .btn-tertiary {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    /* Contact Info */
    .contact-us-info {
        padding: 20px;
        margin-bottom: 48px;
    }

    .contact-us-info h2 {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 14px;
    }

    .contact-us-info-address {
        gap: 6px;
        margin-bottom: 16px;
    }

    .contact-us-info-address p {
        font-size: 14px;
        line-height: 17px;
    }

    .contact-us-info-map {
        height: 200px;
        margin-bottom: 16px;
    }

    .contact-us-info-social {
        gap: 12px;
    }

    .contact-us-info-social p {
        font-size: 14px;
        line-height: 17px;
    }

    /* Address Cards */
    .contact-us-info-address-card {
        padding: 14px;
    }

    .contact-us-info-address-item-heading {
        gap: 6px;
        margin-bottom: 14px;
    }

    .contact-us-info-address-item-heading h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .contact-us-info-address-item-heading svg {
        width: 22px;
        height: 22px;
    }

    .contact-us-info-address-item p {
        font-size: 15px;
        line-height: 20px;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 767px)
   ============================================ */

@media (max-width: 767px) {
    /* Contact Us Section */
    .contact-us-section {
        padding-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-us-content-container {
        padding-top: 40px;
        padding-bottom: 40px;
        border-radius: 12px 12px 0 0;
    }

    /* Contact Us Content */
    .contact-us-content {
        margin-bottom: 32px;
    }

    .contact-us-content h1 {
        font-size: 28px;
        line-height: 36px;
        letter-spacing: -0.28px;
        margin-bottom: 16px;
        text-align: center;
    }

    .contact-us-content p {
        font-size: 16px;
        line-height: 20px;
        letter-spacing: -0.16px;
        text-align: center;
    }

    /* Contact Form */
    .contact-us-form {
        margin-bottom: 32px;
        padding-right: 0;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-row .form-group {
        width: 100%;
    }

    .contact-form .form-group {
        margin-bottom: 20px;
    }

    .contact-form .form-label {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 8px;
    }

    .contact-form .form-control {
        font-size: 14px;
        padding: 12px 14px;
        height: 48px;
    }

    .contact-form textarea.form-control {
        font-size: 14px;
        padding: 12px 14px;
        height: auto;
        min-height: 120px;
    }

    .contact-form .btn-tertiary {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        height: 48px;
    }

    /* Contact Info */
    .contact-us-info {
        padding: 16px;
        margin-bottom: 32px;
        border-radius: 8px;
    }

    .contact-us-info h2 {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: -0.18px;
        margin-bottom: 12px;
    }

    .contact-us-info-address {
        gap: 8px;
        margin-bottom: 16px;
        align-items: flex-start;
    }

    .contact-us-info-address svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .contact-us-info-address p {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -0.14px;
    }

    .contact-us-info-map {
        height: 180px;
        margin-bottom: 16px;
        border-radius: 6px;
    }

    .contact-us-info-social {
        gap: 12px;
        flex-wrap: wrap;
    }

    .contact-us-info-social p {
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -0.14px;
    }

    .contact-us-info-social ul {
        gap: 8px;
    }

    .contact-us-info-social ul li {
        width: 28px;
        height: 28px;
        padding: 6px;
    }

    /* Address Cards */
    .contact-us-info-address-card {
        padding: 16px;
        border-radius: 8px;
    }

    .contact-us-info-address-item-heading {
        gap: 8px;
        margin-bottom: 12px;
    }

    .contact-us-info-address-item-heading h3 {
        font-size: 16px;
        line-height: 20px;
        letter-spacing: -0.16px;
    }

    .contact-us-info-address-item-heading svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .contact-us-info-address-item p {
        font-size: 14px;
        line-height: 19px;
        letter-spacing: 0;
    }

    /* Make address cards stack properly */
    .contact-us-section .row > [class*="col-"] {
        margin-bottom: 0;
    }

    .contact-us-section .row > [class*="col-"]:last-child .contact-us-info-address-card {
        margin-bottom: 0;
    }
}

/* ============================================
   VERY SMALL MOBILE (max-width: 375px)
   ============================================ */

@media (max-width: 375px) {
    .contact-us-section {
        padding-top: 16px;
    }

    .contact-us-content-container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .contact-us-content h1 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.24px;
    }

    .contact-us-content p {
        font-size: 15px;
        line-height: 19px;
    }

    .contact-form .form-control {
        font-size: 13px;
        padding: 10px 12px;
        height: 44px;
    }

    .contact-form textarea.form-control {
        font-size: 13px;
        padding: 10px 12px;
        min-height: 100px;
    }

    .contact-form .btn-tertiary {
        font-size: 14px;
        height: 44px;
    }

    .contact-us-info-map {
        height: 160px;
    }

    .contact-us-info-address-card {
        padding: 14px;
    }

    .contact-us-info-address-item-heading h3 {
        font-size: 15px;
        line-height: 19px;
    }

    .contact-us-info-address-item p {
        font-size: 13px;
        line-height: 18px;
    }
}

/* ============================================
   LANDSCAPE MOBILE (max-height: 500px)
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .contact-us-section {
        padding-top: 16px;
    }

    .contact-us-content-container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .contact-us-content {
        margin-bottom: 24px;
    }

    .contact-us-content h1 {
        margin-bottom: 12px;
    }

    .contact-us-form {
        margin-bottom: 24px;
    }

    .contact-us-info {
        margin-bottom: 24px;
    }

    .contact-us-info-map {
        height: 150px;
    }
}
