/* --- NON-CRITICAL STYLES --- */



/* TIMELINE CONNECTOR */
.timeline-container {
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 47px;
    top: 40px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(to bottom, var(--base-color) 0%, rgba(7, 78, 185, 0.1) 100%);
    z-index: 1;
}

.timeline-number {
    font-size: 50px;
    font-weight: 800;
    opacity: 0.3;
    line-height: 1;
    margin-right: 30px;
    width: 65px;
    text-align: center;
    background-color: #f7f7f7;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .timeline-container::before { display: none; }
    .timeline-number {
        font-size: 38px;
        width: 45px;
        margin-right: 15px;
    }
}

/* TESTIMONIAL GLASSMORPHISM */
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(7, 78, 185, 0.1) !important;
    border-color: rgba(7, 78, 185, 0.2);
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: #ffc107;
    background: white;
    border-radius: 50%;
    font-size: 16px;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* BEFORE / AFTER SLIDER INTERNAL ENGINE */
.before-after-wrapper {
    aspect-ratio: 4 / 3;
    min-height: 280px;
    width: 100%;
}

@media (max-width: 767px) {
    .before-after-wrapper { aspect-ratio: 1 / 1; }
}

.ba-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 50px;
    height: 800px;
    background: transparent;
    cursor: ew-resize;
}

.ba-slider::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    width: 50px;
    height: 800px;
    background: transparent;
    border: none;
    cursor: ew-resize;
}

/* FINAL CTA SECTION */
.final-cta-bg {
    background: linear-gradient(135deg, var(--base-color) 0%, #043685 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.final-cta-bg::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.final-cta-bg::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* FAQ STYLING - MODERN GRID CARDS */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-header {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-weight: 700;
    color: #0B2A4A;
    font-size: 16px;
}

.faq-header:focus-visible {
    outline: 2px solid var(--base-color);
    outline-offset: -2px;
}

.faq-header span {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
    line-height: 1.4;
    word-wrap: break-word;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    margin-left: 10px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #0B2A4A;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 11px;
    width: 2px;
    height: 24px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background-color: #074eb9;
}

.faq-item.active .faq-header {
    color: #074eb9;
}

.faq-content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.faq-item.active .faq-content-wrapper {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
}

.faq-content-inner {
    padding: 0 25px 25px;
    line-height: 1.8;
    color: var(--medium-gray);
}

/* SERVICE AREAS GRID */
.service-areas-grid-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-areas-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(7, 78, 185, 0.1) !important;
    border-color: rgba(7, 78, 185, 0.1);
}

/* PREMIUM FOOTER STYLING */
.premium-footer {
    background-color: #051423;
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    margin-bottom: 25px;
    display: inline-block;
}

.footer-heading {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background-color: var(--base-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-contact-icon {
    color: var(--base-color);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 18px;
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--base-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #0B2A4A;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* DEFERRED LAYOUT & UTILITIES */
.landing-topbar {
    padding-top: 16px;
    padding-bottom: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .landing-topbar {
        position: fixed;
        background: rgba(11, 42, 74, 0.95);
        backdrop-filter: blur(10px);
    }
    .mobile-hero-safe {
        padding-top: 110px !important;
    }
}

@media (max-width: 991px) {
    .landing-topbar {
        padding-top: 30px !important;
    }
}

.section-rhythm {
    padding-top: 110px;
    padding-bottom: 110px;
}


@media (max-width: 991px) {
    .section-rhythm {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 767px) {
    .section-rhythm {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* SPACING UTILITIES */
.m-top-10 { margin-top: 10px !important; }
.m-top-15 { margin-top: 15px !important; }
.m-top-20 { margin-top: 20px !important; }
.m-top-25 { margin-top: 25px !important; }
.m-top-30 { margin-top: 30px !important; }
.m-top-40 { margin-top: 40px !important; }
.m-top-50 { margin-top: 50px !important; }
.m-top-60 { margin-top: 60px !important; }
.m-top-70 { margin-top: 70px !important; }
.m-top-80 { margin-top: 80px !important; }
.m-top-100 { margin-top: 100px !important; }

.m-bottom-10 { margin-bottom: 10px !important; }
.m-bottom-15 { margin-bottom: 15px !important; }
.m-bottom-20 { margin-bottom: 20px !important; }
.m-bottom-25 { margin-bottom: 25px !important; }
.m-bottom-30 { margin-bottom: 30px !important; }
.m-bottom-40 { margin-bottom: 40px !important; }
.m-bottom-50 { margin-bottom: 50px !important; }
.m-bottom-80 { margin-bottom: 80px !important; }
.m-bottom-100 { margin-bottom: 100px !important; }

@media (max-width: 991px) {
    .md-m-top-30 { margin-top: 30px !important; }
    .md-m-top-50 { margin-top: 50px !important; }
    .md-m-top-70 { margin-top: 70px !important; }
    .md-m-bottom-30 { margin-bottom: 30px !important; }
    .md-m-bottom-50 { margin-bottom: 50px !important; }
    .md-p-top-40 { padding-top: 40px !important; }
    .md-p-bottom-40 { padding-bottom: 40px !important; }
}

/* CUSTOM SELECT ARROW */
.form-select.input-with-icon {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px !important;
}

.form-select.input-with-icon:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23074eb9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
