/* =========================================================
   CONTACT PAGE STYLES
   Color Palette (matches site):
   - Navy Blue:    #0f2748
   - Deep Blue:    #123b67
   - Cyan Blue:    #0788d1 / #009fe3
   - Light Blue:   #e8f6ff
   - Accent Gold:  #e4ac1c
   - Body Text:    #6c7a89
========================================================= */


/* ==================== GENERAL ==================== */

.section-padding {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: #e4ac1c;
    color: #0f2748;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 14px;
}

.section-title {
    color: #0f2748;
    font-weight: 700;
    font-size: 38px;
}

.section-description {
    max-width: 700px;
    margin: 15px auto 0;
    color: #6c7a89;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    min-height: 460px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url("../images/index/cta-banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 39, 72, 0.82);
}

.min-vh-50 {
    min-height: 460px;
}

.contact-hero-badge {
    display: inline-block;
    background: #e4ac1c;
    color: #0f2748;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
}

.contact-hero h1 {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.contact-hero p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   CONTACT INFO CARDS
========================================================= */

.contact-info-section {
    background: radial-gradient(circle at 5% 20%, rgb(9 68 102 / 40%), #1191be33 28%),
                radial-gradient(circle at 95% 80%, rgba(0, 174, 239, 0.07), transparent 30%),
                #f7fbff;
    position: relative;
    overflow: hidden;
}

.contact-card {
    height: 100%;
    padding: 32px 26px;
    background: #ffffff;
    border: 1px solid #e3eff7;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(18, 82, 130, 0.06);
    transition: all 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 137, 214, 0.18);
    box-shadow: 0 18px 45px rgba(0, 109, 180, 0.12);
}

.contact-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f6ff, #d8efff);
    color: #0078c9;
    font-size: 28px;
    transition: all 0.35s ease;
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, #0078d4, #009fe3);
    color: #ffffff;
    transform: rotate(-5deg) scale(1.08);
}

.contact-card h5 {
    color: #123b67;
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 10px;
}

.contact-card p {
    color: #6c7a89;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.contact-card a {
    display: block;
    color: #0078c9;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #005ca8;
    text-decoration: underline;
}


/* =========================================================
   MAIN CONTACT SECTION
========================================================= */

.contact-main-section {
    background: #ffffff;
}


/* =========================================================
   CONTACT INFO BOX (left)
========================================================= */

.contact-info-box {
    height: 100%;
    padding: 40px 35px;
    background: linear-gradient(150deg, #0f2748 0%, #123b67 100%);
    border-radius: 24px;
    color: #ffffff;
    box-shadow: 0 15px 45px rgba(15, 39, 72, 0.20);
}

.contact-info-box .section-badge {
    background: #e4ac1c;
    color: #0f2748;
}

.contact-info-box h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-info-box > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}


/* Info list */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    min-width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(228, 172, 28, 0.15);
    color: #e4ac1c;
    font-size: 19px;
}

.info-item span {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item a,
.info-item p {
    display: block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 3px 0;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #e4ac1c;
}


/* Social icons */

.contact-social {
    display: flex;
    gap: 10px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border-radius: 50%;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background: #e4ac1c;
    color: #0f2748;
    transform: translateY(-3px);
}


/* =========================================================
   CONTACT FORM BOX (right)
========================================================= */

.contact-form-box {
    height: 100%;
    padding: 40px 40px;
    background: #ffffff;
    border: 1px solid #e3eff7;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(18, 82, 130, 0.07);
}

.contact-form-box h3 {
    color: #123b67;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #6c7a89;
    font-size: 14px;
    margin-bottom: 28px;
}


/* Form fields */

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

.form-group label {
    color: #123b67;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}

.form-group label span {
    color: #e04b4b;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border: 1px solid #dbe9f3;
    border-radius: 12px;
    background: #f8fbfe;
    color: #123b67;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-form .form-control::placeholder {
    color: #9fb3c2;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #009fe3;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.10);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}


/* Submit button */

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #0078d4, #009fe3);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(0, 126, 207, 0.22);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 126, 207, 0.30);
}

.btn-submit i {
    font-size: 15px;
}


/* =========================================================
   MAP SECTION
========================================================= */

.contact-map-section {
    background: #ffffff;
    line-height: 0;
}

.map-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    filter: grayscale(0.15);
    transition: filter 0.4s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0);
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {
    position: relative;
    padding: 90px 0;
    background-image: url("../images/index/testimoinal.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 39, 72, 0.85);
}

.cta-icon {
    font-size: 42px;
    color: #e4ac1c;
}

.contact-cta h2 {
    font-size: 38px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .section-title {
        font-size: 32px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 35px 28px;
    }

    .contact-cta h2 {
        font-size: 32px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .section-padding {
        padding: 55px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 15px;
    }

    .contact-hero {
        min-height: 420px;
    }

    .min-vh-50 {
        min-height: 420px;
    }

    .contact-hero h1 {
        font-size: 30px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .contact-hero .btn-lg {
        font-size: 15px;
        padding: 10px 18px;
        margin-bottom: 8px;
    }

    .contact-card {
        padding: 28px 22px;
    }

    .contact-info-box,
    .contact-form-box {
        padding: 30px 24px;
        border-radius: 20px;
    }

    .contact-info-box h3,
    .contact-form-box h3 {
        font-size: 22px;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .contact-cta {
        padding: 65px 15px;
    }

    .contact-cta h2 {
        font-size: 26px;
    }

    .contact-cta .btn-lg {
        font-size: 15px;
        padding: 10px 20px;
        margin-bottom: 8px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .section-title {
        font-size: 25px;
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-hero-badge {
        font-size: 12px;
        padding: 7px 16px;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .info-icon {
        min-width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .info-item a,
    .info-item p {
        font-size: 14px;
    }

    .contact-social a {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 13px 24px;
    }

    .map-wrapper iframe {
        height: 300px;
    }
}