/* ================================
   Fade-Up Animation Styles
   ================================ */

/* Base animation state - hidden initially */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated state - visible */
.fade-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for sequential animations */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }
.fade-up-delay-7 { transition-delay: 0.7s; }
.fade-up-delay-8 { transition-delay: 0.8s; }

/* ================================
   CONTACT PAGE - Hero Animation
   (CSS-only, triggers on page load)
   ================================ */

/* Hide contact hero elements initially */
.contact_hero_section .hero_section_badge_secondary,
.contact_hero_section .contact_hero_section_grid h1,
.contact_hero_section .contact_hero_section_grid .hero_title_secondary,
.contact_hero_section .contact_hero_section_grid p,
.contact_hero_section .contact_hero_section_grid .hero_description_secondary {
    opacity: 0;
    transform: translateY(30px);
}

/* Animate contact hero elements on page load */
.contact_hero_section .hero_section_badge_secondary {
    animation: heroFadeUp 0.7s ease-out 0.1s forwards;
}

.contact_hero_section .contact_hero_section_grid h1,
.contact_hero_section .contact_hero_section_grid .hero_title_secondary {
    animation: heroFadeUp 0.7s ease-out 0.25s forwards;
}

.contact_hero_section .contact_hero_section_grid p,
.contact_hero_section .contact_hero_section_grid .hero_description_secondary {
    animation: heroFadeUp 0.7s ease-out 0.4s forwards;
}

/* ================================
   CONNECT SECTION - On Load Animation
   (CSS-only, triggers on page load)
   ================================ */

/* Hide connect section elements initially */
.contact_connect_section .contact_connect_section_title,
.contact_connect_section .contact_connect_section_description,
.contact_connect_section .contact_connect_card {
    opacity: 0;
    transform: translateY(30px);
}

/* Animate connect section elements on page load */
.contact_connect_section .contact_connect_section_title {
    animation: heroFadeUp 0.7s ease-out 0.5s forwards;
}

.contact_connect_section .contact_connect_section_description {
    animation: heroFadeUp 0.7s ease-out 0.65s forwards;
}

.contact_connect_section .contact_connect_row .contact_connect_card:nth-child(1) {
    animation: heroFadeUp 0.6s ease-out 0.8s forwards;
}

.contact_connect_section .contact_connect_row .contact_connect_card:nth-child(2) {
    animation: heroFadeUp 0.6s ease-out 0.9s forwards;
}

.contact_connect_section .contact_connect_row .contact_connect_card:nth-child(3) {
    animation: heroFadeUp 0.6s ease-out 1s forwards;
}

/* Hero fade up keyframe animation */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Hero Section Base Styles
   ================================ */
.contact_hero_section {
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    width: 100%;
    padding: 225px 0 200px 0;
}

.contact_hero_section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #F8F9FA);
    pointer-events: none;
}

.contact_hero_section_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.hero_section_badge_secondary {
    display: flex;
    height: 32px;
    padding: 6px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
}

.hero_section_badge_text_secondary {
    color: #0D1A3A;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
}

.hero_title_secondary {
    color: #000;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 57.6px; 
}

.hero_description_secondary {
    color: #474E56;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 30.4px;
}

/* ================================
   Connect Section Base Styles
   ================================ */
.contact_connect_section {
    display: flex;
    padding: 0px 80px 150px 80px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #F8F9FA;
}

.contact_connect_section_title {
    color: #0D1A3A;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 57.6px;
    margin-bottom: 24px;
}

.contact_connect_section_description {
    color: #5D667B;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 30.4px;
}

.contact_connect_content {
    padding: 80px 60px 0px 60px;
}

.contact_connect_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact_connect_card {
    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    flex-shrink: 0;
    border-radius: 24px;
    background: #FFF;
    border: 2px solid transparent;
    transition: all 0.5s ease;
}

.contact_connect_card:hover {
    border: 2px solid #B0DBEF !important;
    box-shadow: 0 4px 12px 0 rgba(13, 26, 58, 0.12) !important;
}

.contact_connect_card:hover .contact_connect_card_icon{
    background: #008BCB !important;
}

.contact_connect_card:hover .contact_connect_card_icon svg path {
    stroke: #fff;
}

.contact_connect_card_active {
    border: 1px solid #B0DBEF !important;
    background: #E6F3FA !important;
}

.contact_connect_card_icon {
    display: flex;
    width: 64px;
    height: 64px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #E8F8FF;
    transition: all 0.5s ease;
}

.contact_connect_card_icon svg path {
    stroke: #008BCB;
    transition: all 0.5s ease;
}

.contact_connect_card_icon_active {
    background: #008BCB !important;
}

.contact_connect_card_icon_active svg path {
    stroke: #fff;
}

.contact_connect_card_title {
    color: #0D1A3A;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 28.8px;
    margin-bottom: 12px;
    text-align: center;
}

.contact_connect_card_description {
    color: #5D667B;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 30.4px;
}

.contact_connect_card_link {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30.4px;
    color: #008BCB !important;
    text-decoration: none !important;
    display: inline-block;
    position: relative;
}

.contact_connect_card_link svg {
        margin-left: 8px;
}

.contact_connect_card_link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #F5A623;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact_connect_card_link:hover::after {
    transform: scaleX(1);
}

/* ================================
   Form Section Base Styles
   ================================ */

.contact_form_section {
    display: flex;
    padding: 150px 80px 0px 80px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #fff;
}

.contact_form_container {
    width: 843px;
    padding: 0px 80px;
}

.contact_form_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contact_form_badge {
    display: inline-block;
    padding: 6px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 16777200px;
    background: #E6F3FA;
    color: #008BCB;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.contact_form_title {
    color: #0D1A3A;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 57.6px;
    text-align: center;
}

.contact_form_description {
    color: #5D667B;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 30.4px;
}

.contact_form_content {
    padding-top: 80px;
}

.contact_form_card {
    display: flex;
    padding: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 24px;
    border: 1px solid #E8EAEC;
    background: #FFF;
    box-shadow: 0 8px 20px 0 rgba(13, 26, 58, 0.08);
}

.contact_form_card_body {
    width: 100%;
}

.contact_form {
    width: 100%;
}

.contact_form_row {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.contact_form_row .contact_form_group {
    flex: 1;
    margin-bottom: 0;
}

.contact_form_group {
    margin-bottom: 24px;
}

.contact_form_label {
    display: block;
    color: #0D1A3A;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 0px !important;
}

.contact_form_label .required {
    color: #E53E3E;
}

.contact_form_input,
.contact_form_select,
.contact_form_textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    border: 1px solid #E8EAEC !important;
    background: #fff !important;
    color: #0D1A3A !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    height: auto !important;
}

.contact_form_input::placeholder,
.contact_form_textarea::placeholder {
    color: #9CA3AF;
}

.contact_form_input:focus,
.contact_form_select:focus,
.contact_form_textarea:focus {
    border-color: #008BCB !important;
    background: #FFF !important;
    box-shadow: 0 0 0 .2rem #008bcb47 !important;
}

.contact_form_select {
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.contact_form_textarea {
    resize: vertical;
    height: 120px !important;
}

.contact_form_submit_button {
    display: flex;
    width: 100%;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    background: #F9C546;
    border: none;
    color: #0D1A3A;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact_form_submit_button:hover {
    background: #f5af00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.contact_form_submit_button svg {
    transition: transform 0.3s ease;
}

.contact_form_submit_button:hover svg {
    transform: translateX(4px);
}

.contact_form_note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px !important;
    margin-bottom: 0px !important;
    color: #3D4861;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.contact_form_card_footer {
    display: flex;
    padding: 24px;
    margin-top: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-radius: 24px;
    background: #F8F9FA;
}

.contact_form_card_footer_text {
    color: #0D1A3A;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 33px;
}

.contact_form_card_footer_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    align-self: stretch;
}

.contact_form_card_footer_cards {
    display: flex;
    width: 100%;
    padding: 15px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #FFF;
}

.contact_form_card_footer_card_text {
    margin-bottom: 0px;
}

/* ================================
   What Happens Next Section Base Styles
   ================================ */

.contact_what_happens_next_section {
    display: flex;
    padding: 100px 80px 150px 80px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: #fff;
}

.contact_what_happens_next_container {
    padding: 0px 100px;
    width: 100%;
}

.contact_what_happens_next_wrapper {
    display: flex;
    padding: 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    border-radius: 24px;
    background: #F8F9FA;
    width: 100%;
}

.contact_what_happens_next_wrapper_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    align-self: stretch;
}

.contact_what_happens_next_wrapper_title {
    color: #0D1A3A;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 46.44px;
}

.contact_what_happens_next_wrapper_description {
    color: #5D667B;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 30.4px;
}

.contact_what_happens_next_wrapper_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact_what_happens_next_wrapper_card {
    height: 100%;
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 12px;
    background: #FFF;
    border: 1px solid #fff;
    transition: all .5s;
}

.contact_what_happens_next_wrapper_card:hover {
    border-radius: 12px;
    border: 1px solid #8ACAE7;
    background: #FFF;
    margin-top: -10px;
    box-shadow: 0 4px 12px 0 rgba(13, 26, 58, 0.12);
}

.contact_what_happens_next_wrapper_card:hover .contact_what_happens_next_wrapper_card_icon {
    background: #008BCB;
}

.contact_what_happens_next_wrapper_card_icon svg path {
    stroke: #008BCB;
    transition: all .5s;
}

.contact_what_happens_next_wrapper_card:hover .contact_what_happens_next_wrapper_card_icon svg path {
    stroke: #FFF;
}


.contact_what_happens_next_wrapper_card_icon {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #E8F8FF;
}

.contact_what_happens_next_wrapper_card_title {
    color: #0D1A3A;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 30.4px;
    margin-bottom: 8px;
}

.contact_what_happens_next_wrapper_card_description {
    color: #5D667B;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 28.9px;
}