/* Scoped to /contact_us only */
html:has(.contact-page),
body:has(.contact-page) {
    overflow-x: hidden;
}

.contact-page {
    overflow-x: hidden;
    color: #0a0933;
}

.contact-page .container-fluid {
    width: 100%;
    max-width: none;
    padding-left: clamp(12px, 3vw, 48px);
    padding-right: clamp(12px, 3vw, 48px);
}

.contact-page [class*="col-"] {
    min-width: 0;
    max-width: 100%;
}

.contact-page img {
    max-width: 100%;
    height: auto;
}

.contact-page a:focus-visible,
.contact-page button:focus-visible,
.contact-page select:focus-visible,
.contact-page input:focus-visible,
.contact-page textarea:focus-visible {
    outline: 3px solid #00B4D8;
    outline-offset: 2px;
}

.contact-page .ct-actions {
    gap: 0.75rem;
}

.contact-page .ct-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0933 0%, #023e8a 55%, #00B4D8 100%);
    color: #fff;
    padding: 3rem 0 4rem;
}

.contact-page .ct-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.18);
    pointer-events: none;
}

.contact-page .ct-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.contact-page .ct-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.55);
}

.contact-page .ct-breadcrumb a {
    color: #d4af37;
}

.contact-page .ct-breadcrumb .active {
    color: #fff;
}

.contact-page .ct-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #fff !important;
}

.contact-page .ct-hero p.lead {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 38rem;
}

.contact-page .ct-hero-visual {
    max-width: 280px;
    width: 100%;
    display: block;
    margin: 1.5rem auto 0;
    animation: ct-float 5s ease-in-out infinite;
}

.contact-page .ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background-color: #d4af37;
    color: #0a0933;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    border: 0;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.contact-page .ct-btn:hover,
.contact-page .ct-btn:focus {
    background-color: #00B4D8;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.contact-page .ct-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.contact-page .ct-btn-ghost:hover,
.contact-page .ct-btn-ghost:focus {
    background: #fff;
    color: #023e8a;
    border-color: #fff;
}

.contact-page .ct-section {
    padding: 3rem 0;
}

.contact-page .ct-section--muted {
    background: #f4f7fb;
}

.contact-page #contact-form {
    scroll-margin-top: 96px;
}

.contact-page .ct-section h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: #0a0933;
    margin-bottom: 0.75rem;
}

.contact-page .ct-card {
    background: #fff;
    border: 1px solid rgba(10, 9, 51, 0.06);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    height: 100%;
    margin-bottom: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-page .ct-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 180, 216, 0.15);
}

.contact-page .ct-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.contact-page .ct-card a {
    color: #023e8a;
    font-weight: 600;
    word-break: break-word;
}

.contact-page .ct-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD700;
    color: #0d1b2a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.contact-page .ct-form-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.contact-page .ct-form-card__head {
    background: linear-gradient(270deg, #00B4D8, #d4af37, #00B4D8);
    background-size: 600% 600%;
    animation: gradientMove 6s ease infinite;
    color: #fff;
    padding: 1rem 1.25rem;
    text-align: center;
}

.contact-page .ct-form-card__head h2 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0;
}

.contact-page .ct-form-card .form-control {
    border-radius: 12px;
    min-height: 44px;
}

.contact-page .ct-form-card textarea.form-control {
    min-height: 120px;
}

.contact-page .ct-form-card .form-control:focus {
    border-color: #00B4D8;
    box-shadow: 0 0 0 0.15rem rgba(0, 180, 216, 0.25);
}

.contact-page .ct-form-card .ct-btn {
    width: 100%;
    color: #0a0933;
}

.contact-page .ct-map {
    width: 100%;
    overflow: hidden;
}

.contact-page .ct-map iframe {
    width: 100%;
    height: clamp(240px, 45vw, 450px);
    border: 0;
    display: block;
}

.contact-page .ct-fade {
    animation: ct-fade-up 0.7s ease both;
}

.contact-page .ct-delay-1 { animation-delay: 0.1s; }
.contact-page .ct-delay-2 { animation-delay: 0.2s; }

@keyframes ct-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ct-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 767.98px) {
    .contact-page .ct-hero {
        padding: 2rem 0 2.5rem;
        text-align: center;
    }

    .contact-page .ct-hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-page .ct-hero .ct-actions {
        justify-content: center !important;
    }

    .contact-page .ct-section {
        padding: 2rem 0;
    }

    .contact-page .ct-form-card {
        margin-bottom: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .ct-fade,
    .contact-page .ct-hero-visual,
    .contact-page .ct-form-card__head,
    .contact-page .ct-card,
    .contact-page .ct-btn {
        animation: none !important;
        transition: none !important;
    }
}
