/* ═══════════════════════════════════════════════
   CONTACT PAGE STYLES
   ═══════════════════════════════════════════════ */

/* ---------- Contact Hero/Banner ---------- */
.contact-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(rgba(15, 29, 53, 0.4), rgba(15, 29, 53, 0.4)), 
                url('../images/img-contact-banner.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hero .breadcrumb {
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
}

.contact-hero .breadcrumb-item, 
.contact-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.contact-hero .breadcrumb-item.active {
    color: #ffffff;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: #ffffff;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-header {
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #0F1D35;
    margin-bottom: 15px;
}

.contact-header h2 span {
    color: var(--theme-blue);
}

.contact-header p {
    color: #64748B;
    max-width: 500px;
}

/* ---------- Registration Form ---------- */
.register-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.register-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0F1D35;
    margin-bottom: 10px;
}

.register-card .card-subtitle {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 30px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #0F1D35;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    color: #0F1D35;
    background-color: #F8FAFC;
}

.form-control:focus, .form-select:focus {
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 3px rgba(13, 79, 139, 0.12);
    background-color: #FFFFFF;
}

.btn-register {
    background-color: #0B4A8F;
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: #083D75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 74, 143, 0.3);
    color: var(--white);
}

/* ---------- Contact Info Cards ---------- */
.info-cards-row {
    margin-top: 60px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--theme-blue);
    box-shadow: 0 5px 20px rgba(13, 79, 139, 0.1);
}

.info-icon-box {
    width: 50px;
    height: 50px;
    background-color: #0B4A8F;
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0F1D35;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .contact-hero { padding: 150px 0 80px; }
    .contact-hero h1 { font-size: 36px; }
    .register-card { padding: 30px; }
    .contact-img-wrapper { margin-top: 40px; }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 118px 0 56px;
    }

    .contact-hero h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .contact-hero p {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .contact-section {
        padding: 56px 0;
    }

    .contact-header {
        text-align: left;
        margin-bottom: 28px;
    }

    .contact-header h2 {
        font-size: 26px;
        line-height: 1.25;
    }

    .contact-header p {
        margin: 0;
        font-size: 14.5px;
    }

    .register-card {
        padding: 24px;
        border-radius: 14px;
    }

    .register-card h3 {
        font-size: 22px;
    }

    .contact-info-card {
        padding: 18px;
        border-radius: 12px;
    }
}

/* ---------- Contact Page Premium Sync ---------- */
:root {
    --contact-title: #111827;
    --contact-text: #374151;
    --contact-blue: #0b5798;
    --contact-line: #dbe7f2;
    --contact-shadow: 0 16px 38px rgba(5, 31, 58, 0.08);
}

.contact-hero {
    min-height: 420px;
    padding: 150px 0 72px;
    background:
        linear-gradient(135deg, rgba(0, 26, 51, 0.82), rgba(8, 34, 63, 0.78)),
        url('../images/img-contact-banner.png');
    background-size: cover;
    background-position: center;
    border-top: 0;
}

.contact-hero .breadcrumb {
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-hero h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 16px;
}

.contact-hero p {
    max-width: 700px;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
}

.contact-section {
    padding-top: 76px;
    padding-bottom: 76px;
    background:
        radial-gradient(circle at 10% 8%, rgba(13, 103, 174, 0.08), transparent 30%),
        linear-gradient(180deg, #f8fbfe 0%, #ffffff 46%, #f7fbff 100%);
}

.contact-header {
    margin-bottom: 30px;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--contact-title);
}

.contact-header h2 span {
    color: var(--contact-blue);
}

.contact-header p,
.register-card .card-subtitle,
.info-text p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--contact-text);
}

.contact-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.contact-action-row a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid rgba(13, 103, 174, 0.18);
    border-radius: 999px;
    background: #eef7ff;
    color: var(--contact-blue);
    font-size: 13px;
    font-weight: 800;
}

.contact-action-row a:hover {
    background: var(--contact-blue);
    color: #ffffff;
}

.register-card,
.contact-info-card {
    border-color: var(--contact-line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(5, 31, 58, 0.06);
}

.register-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.94);
}

.register-card h3,
.info-text h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0;
    color: var(--contact-title);
}

.register-card h3 {
    font-size: 24px;
}

.form-label {
    color: var(--contact-title);
    font-size: 13px;
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 52px;
    border-color: #d8e3ee;
    border-radius: 8px;
    background-color: #ffffff;
    color: var(--contact-title);
}

.btn-register {
    min-height: 54px;
    background-color: var(--contact-blue);
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(13, 79, 139, 0.18);
}

.btn-register:hover {
    background-color: #0d67ae;
}

.contact-img-wrapper img {
    border-radius: 8px !important;
    box-shadow: var(--contact-shadow) !important;
}

.info-cards-row {
    margin-top: 34px;
}

.contact-info-card {
    align-items: flex-start;
    padding: 22px;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 103, 174, 0.28);
    box-shadow: var(--contact-shadow);
}

.info-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background-color: var(--contact-blue);
}

.info-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.info-text a {
    color: var(--contact-text);
}

.info-text a:hover {
    color: var(--contact-blue);
}

.phone-link-list {
    display: grid;
    gap: 4px;
}

@media (max-width: 991px) {
    .contact-hero {
        min-height: auto;
        padding: 126px 0 58px;
    }

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

    .contact-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

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

    .contact-img-wrapper {
        margin-top: 28px;
        padding-left: 0 !important;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 112px 0 48px;
        text-align: left;
    }

    .contact-hero .breadcrumb {
        justify-content: flex-start;
        margin-bottom: 18px;
    }

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

    .contact-hero p,
    .contact-header p,
    .register-card .card-subtitle,
    .info-text p {
        font-size: 15px;
        line-height: 1.62;
    }

    .contact-section {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .contact-header {
        margin-bottom: 22px;
    }

    .contact-header h2 {
        font-size: 28px;
        line-height: 1.18;
    }

    .contact-action-row {
        gap: 8px;
    }

    .register-card {
        padding: 22px;
    }

    .contact-img-wrapper {
        display: none;
    }

    .info-cards-row {
        margin-top: 24px;
    }

    .contact-info-card {
        padding: 18px;
    }
}
