/* ==========================================================================
   PRODUCTION CONTACT PAGE DESIGN SYSTEM CONFIGURATION
   ========================================================================== */

.contact-page-body {
    background: linear-gradient(180deg, #FFA973 0%, #FEFAF8 900px) no-repeat #FEFAF8;
    margin: 0;
    padding: 0;
    font-family: 'League Spartan', sans-serif;
    color: #130F3B;
}

/* Dynamic placeholder handling logic handles blank/missing icon states safely */
.local-placeholder-icon[src=""], .local-placeholder-icon:not([src]),
.row-meta-icon[src=""], .row-meta-icon:not([src]),
.accordion-arrow[src=""], .accordion-arrow:not([src]),
.footer-meta-inline-icon[src=""], .footer-meta-inline-icon:not([src]) {
    background-color: rgba(255, 110, 39, 0.12);
    border-radius: 6px;
    width: 22px;
    height: 22px;
    display: inline-block;
}

.section-container {
    max-width: 1420px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   ANIMATION KEYFRAME BLUEPRINTS & ENGINE
   ========================================================================== */
@keyframes textRevealUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollRevealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MASTER NAVBAR HEADER SYSTEM (EXACT FIGMA REPLICATION FROM STYLE.CSS)
   ========================================================================== */
.navbar {
    width: 100%;
    height: 94px;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    padding-left: -4px;
    padding-right: 55px;
    z-index: 100;
}

.logo img {
    width: 160px;
    margin-top: -5px;
    margin-left: 64px;
}

.menu-toggle {
    display: none; 
}

.nav-links {
    width: 650px;
    height: 57px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-top: 2px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    margin-top: 15px;
    margin-right: auto; 
    margin-left: 380px;  
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.nav-links a.active-nav {
    color: #FF6E27;
}

.talk-btn {
    width: 180px;
    height: 55px;
    border: none;
    border-radius: 35px;
    background: #13113C;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.talk-btn:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   PRIMARY HERO TWO-COLUMN MATRIX SPLIT (PAGE LOAD LOAD-IN ANIMATIONS)
   ========================================================================== */
.contact-split-wrapper {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 160px 60px 60px 60px;
    gap: 60px;
    align-items: flex-start;
    box-sizing: border-box;
}

.contact-presentation-side {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mini-brand-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #FF6E27;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    
    /* Reveal Animation Assignment */
    animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.1s;
}

.branding-tagline {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
    color: #130F3B;
    margin-bottom: 25px;
    
    /* Reveal Animation Assignment */
    animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.22s;
}

.branding-tagline span {
    color: #FF6E27;
}

.branding-paragraph {
    font-size: 18px;
    line-height: 28px;
    color: #555555;
    margin-bottom: 45px;
    font-weight: 500;
    max-width: 540px;
    
    /* Reveal Animation Assignment */
    animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.34s;
}

.direct-contact-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item-node {
    display: flex;
    align-items: center;
    gap: 20px;
    
    /* Staggered Row Nodes reveal loop hook variables */
    animation: textRevealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.contact-item-node:nth-child(1) { animation-delay: 0.44s; }
.contact-item-node:nth-child(2) { animation-delay: 0.54s; }
.contact-item-node:nth-child(3) { animation-delay: 0.64s; }

.contact-icon-box {
    width: 24px;
    height: 24px;
    border-radius: 16px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(255, 110, 39, 0.04);
}

.contact-icon-box.pink-tint { border: 1px solid #FFEBE6; }
.contact-icon-box.orange-tint { border: 1px solid #FFD4C2; }

.contact-icon-box img {
    max-width: 44px;
    max-height: 44px;
    object-fit: contain;
}

.contact-text-block h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #130F3B;
    margin: 0 0 2px 0;
}

.contact-text-block p {
    font-size: 16px;
    color: #555555;
    margin: 0;
    font-weight: 600;
}

/* Right Column Form Container Card Layer */
.contact-form-side {
    flex: 1.1;
    width: 100%;
}

.form-card-container {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px 45px;
    box-shadow: 0 20px 50px rgba(13, 10, 43, 0.02);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.8);
    
    /* Interactive Card Reveal Animation Configuration */
    animation: textRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}

.form-card-container h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #130F3B;
    margin: 0 0 6px 0;
}

.form-subtitle {
    font-size: 15px;
    color: #666666;
    margin-bottom: 35px;
    font-weight: 500;
}

.form-row-dual {
    display: flex;
    gap: 20px;
}

.form-row-dual .form-input-group {
    flex: 1;
}

.form-input-group {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.form-input-group label {
    font-size: 15px;
    font-weight: 700;
    color: #130F3B;
    margin-bottom: 10px;
}

.form-input-group input,
.form-input-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    color: #130F3B;
    background-color: #FAFAFA;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.form-input-group input:focus,
.form-input-group textarea:focus {
    border-color: #FF6E27;
    background-color: #ffffff;
}

.form-submit-orange-btn {
    width: 100%;
    padding: 18px;
    background-color: #FD5A21;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 10px;
}

.form-submit-orange-btn:hover {
    background-color: #E54F1B;
    transform: translateY(-2px);
}

.btn-arrow-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* ==========================================================================
   OFFICE PARAMETERS & MAP GRID (SCROLL REVEAL ANIMATIONS ON VIEWPORT HOOK)
   ========================================================================== */
.contact-details-grid-section {
    background-color: #FEFAF8;
    padding: 60px 0;
    width: 100%;
    border-top: 1px solid #F3E6E1;
}

.static-info-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.1fr;
    gap: 50px;
}

/* Hook Scroll-Driven animation properties directly to the column cards */
.info-column-card {
    animation: scrollRevealUp both;
    animation-timeline: view();
    animation-range: entry 5% cover 30%;
}

.info-column-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #130F3B;
    margin: 0 0 30px 0;
}

.office-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mini-info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.row-meta-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-top: 2px;
}

.mini-info-row p {
    font-size: 16px;
    line-height: 24px;
    color: #555555;
    margin: 6px;
}

.follow-us-wrapper h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #130F3B;
    margin: 40px 0 16px 0;
}

.social-box-row {
    display: flex;
    gap: 12px;
}

.social-box-row a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.social-box-row a:hover {
    border-color: #FF6E27;
    transform: translateY(-2px);
}

.social-box-row a img {
    max-width: 45%;
    max-height: 45%;
    object-fit: contain;
}

/* Enabled Map View Layout Rules */
.location-map-column {
    display: flex;
    flex-direction: column;
}

.map-placeholder-frame {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    border: 1px solid #E4ECEB;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #E5EFFC;
    background-image: radial-gradient(#c4d5f2 1.5px, transparent 1.5px), radial-gradient(#c4d5f2 1.5px, #E5EFFC 1.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.map-bg-image-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}

.map-overlay-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}

.map-bubble-card {
    background: #ffffff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(13, 10, 43, 0.08);
    text-align: center;
    position: relative;
    margin-bottom: 6px;
}

.map-bubble-card h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.map-bubble-card p {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

.map-bubble-card::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #ffffff transparent;
    display: block;
}

.map-pulse-pin {
    width: 24px;
    height: auto;
    object-fit: contain;
}

.view-map-pill-btn {
    width: 100%;
    padding: 15px;
    border: 1px solid #EAEAEA;
    background-color: #ffffff;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #130F3B;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.view-map-pill-btn:hover {
    border-color: #130F3B;
    background-color: #FAFAFA;
}

.link-arrow {
    width: 22px;
    height: 22px;
}

/* Why Contact Us Value Stack */
.why-rows-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-info-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-icon-holder {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon-holder.circle-pink { background-color: #FFEAEF; border: 1px solid #FFD4C2; }
.why-icon-holder.circle-orange { background-color: #FFF2EB; border: 1px solid #FFD4C2; }

.why-icon-holder img {
    max-width: 30px;
    max-height: 30px;
    object-fit: contain;
}

.why-text-box h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #130F3B;
    margin: 0 0 2px 0;
}

.why-text-box p {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* ==========================================================================
   DYNAMIC FAQs ACCORDION BLOCKS (SCROLL REVEAL TRIGGERS ON SUB-ELEMENTS)
   ========================================================================== */
.faq-accordion-section {
    background-color: #FEFAF8;
    padding: 60px 0 100px 0;
    width: 100%;
}

.faq-heading-wrapper {
    text-align: center;
    margin-bottom: 50px;
    
    /* Binds headline directly to scroll positioning context */
    animation: scrollRevealUp both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
}

.faq-mini-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #FF6E27;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.faq-heading-wrapper h2 {
    font-size: 46px;
    font-weight: 800;
    color: #130F3B;
    margin: 0;
}

.faq-heading-wrapper h2 span {
    color: #FF6E27;
}

.faq-dual-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-column-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1px solid #F4ECE7;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    
    /* Interactive Scroll Trigger reveals list item nodes dynamically */
    animation: scrollRevealUp both;
    animation-timeline: view();
    animation-range: entry 2% cover 20%;
}

.faq-accordion-item.active {
    box-shadow: 0 10px 30px rgba(255, 110, 39, 0.04);
}

.faq-question-bar {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question-bar h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #130F3B;
    margin: 0;
    line-height: 1.4;
}

.accordion-arrow {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-accordion-item.active .faq-answer-panel {
    max-height: 200px;
}

.faq-answer-panel p {
    padding: 0 30px 24px 30px;
    margin: 0;
    font-size: 14.5px;
    line-height: 22px;
    color: #666666;
}

/* ==========================================================================
   EXACT REPLICATED UNIFIED NAVY FOOTER (MATCHING INDEX.HTML & STYLE.CSS)
   ========================================================================== */
.site-footer {
    background: #0D0A2B;
    color: #ffffff;
    padding: 70px 0 30px 0;
    font-family: 'League Spartan', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

/* Accent highlight bars below column headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: #FF6E27;
    border-radius: 2px;
}

.footer-logo {
    width: 160px;
    margin-bottom: 5px;
    display: block;
}

.footer-about-text {
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 340px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FF6E27;
}

.contact-info-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: #FF6E27;
    border-color: #FF6E27;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
    display: flex;
    gap: 25px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #FF6E27;
}

/* ==========================================================================
   MEDIA QUERY BREAKPOINTS
   ========================================================================== */
@media (max-width: 1340px) {
    .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 20px 30px 20px 40px !important; 
        height: auto !important;
        width: 100% !important;
    }
    
    .logo {
        margin: 0 !important;
    }
    
    .logo img {
        width: 130px !important; 
        margin-top: 0 !important;
        margin-left: 0 !important; 
    }
    
    .menu-toggle {
        display: block !important;
        width: 26px !important;
        height: 3px !important;
        background: #13113C !important;
        box-shadow: 0 8px 0 #13113C, 0 -8px 0 #13113C !important;
        margin-left: 20px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        position: relative;
        transition: all 0.25s ease-in-out;
    }

    .menu-toggle.active {
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .menu-toggle.active::before,
    .menu-toggle.active::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 3px;
        background: #13113C;
        left: 0;
    }
    
    .menu-toggle.active::before { transform: rotate(45deg); top: 0; }
    .menu-toggle.active::after { transform: rotate(-45deg); top: 0; }
    
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex !important;
        position: absolute !important;
        top: 85px !important;
        left: auto !important;                  
        right: 40px !important;                 
        width: 50% !important;                  
        height: auto !important;
        background: #13113C !important;         
        flex-direction: column !important;
        align-items: center !important;
        padding: 30px 20px !important;
        gap: 24px !important;
        border-radius: 24px !important;
        border: none !important;                
        box-shadow: 0 20px 45px rgba(19, 15, 59, 0.25) !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }
    
    .nav-links.active a {
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #ffffff !important;              
        width: 100%;
        text-align: center;
        padding: 4px 0;
    }
    
    .talk-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 140px !important;
        height: 46px !important;
        font-size: 14px !important;
        margin-top: 0 !important;
        margin-left: auto !important;
    }
}

@media (max-width: 1200px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .contact-split-wrapper,
    .contact-details-grid-section,
    .faq-accordion-section,
    .site-footer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-split-wrapper {
        flex-direction: column;
        padding-top: 140px;
        padding-left: 30px;
        padding-right: 30px;
        align-items: stretch;
    }
    .static-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-dual-grid-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    /* Override timeline view properties to render statically on compressed tablets */
    .info-column-card, .faq-heading-wrapper, .faq-accordion-item {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px 16px 24px !important; 
    }
    
    .logo img {
        width: 110px !important; 
    }
    
    .nav-links.active {
        top: 75px !important;
        left: auto !important;          
        right: 24px !important;         
        width: 50% !important;          
    }
    
    .talk-btn {
        width: 120px !important;
        height: 40px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-socials {
        flex-wrap: wrap;
        gap: 12px;
    }
    .form-row-dual {
        flex-direction: column;
    }
    .form-card-container {
        padding: 35px 24px;
    }
    .branding-tagline {
        font-size: 38px;
    }
    .faq-heading-wrapper h2 {
        font-size: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-legal-links {
        justify-content: center;
    }
}