/* ===========================================
   Layout Override - Wide / 100% Template
   Avada-style layout, spacing & typography
   =========================================== */

/* Typography - clean corporate sans-serif */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.avada-html-layout-wide,
.avada-html-layout-wide body,
.avada-is-100-percent-template {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.avada-html-layout-wide body {
    overflow-x: hidden;
}

/* Headings */
.avada-html-layout-wide h1,
.avada-html-layout-wide h2,
.avada-html-layout-wide h3,
.avada-html-layout-wide h4,
.avada-html-layout-wide h5,
.avada-html-layout-wide h6,
.avada-html-layout-wide .button {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.avada-html-layout-wide h2 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Section spacing - generous vertical rhythm */
.avada-html-layout-wide .padding {
    padding: 8rem 0;
}

.avada-html-layout-wide .padding_top {
    padding-top: 8rem;
}

.avada-html-layout-wide .padding_bottom {
    padding-bottom: 8rem;
}

.avada-html-layout-wide .padding_half {
    padding: 4rem 0;
}

.avada-html-layout-wide .heading_space {
    margin-bottom: 4rem;
}

/* 100% width - full bleed sections */
.avada-is-100-percent-template section {
    width: 100%;
    max-width: 100%;
}

/* Content container - wider for premium feel */
@media (min-width: 1200px) {
    .avada-html-layout-wide .container,
    .avada-html-layout-wide .container-lg {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .avada-html-layout-wide .container,
    .avada-html-layout-wide .container-lg {
        max-width: 1320px;
    }
}

/* Header - top position, full width */
.avada-html-header-position-top .site-header .navbar {
    width: 100%;
}

/* Menu and side menu button spacing */
.navbar-nav.ms-auto {
    margin-right: 20px !important;
}

.avada-html-header-position-top .navbar.transparent-bg .container {
    width: 100%;
}

.avada-html-header-position-top .navbar .container {
    max-width: 100%;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

@media (min-width: 1200px) {
    .avada-html-header-position-top .navbar .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Hero / Slider - full width, edge-to-edge */
.avada-is-100-percent-template .fullwidthbanner-container,
.avada-is-100-percent-template .rev_slider_wrapper {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
}

.avada-is-100-percent-template #revo_main_wrapper {
    width: 100%;
}

/* Revolution Slider - tp-mask-wrap 50px higher */
.tp-mask-wrap {
    top: -50px !important;
}

/* Feature section - text/image split, balanced spacing */
.avada-html-layout-wide #our-feature.single-feature {
    padding: 9rem 0;
}

.avada-html-layout-wide #our-feature .container .row {
    align-items: center;
    gap: 3rem;
}

.avada-html-layout-wide #our-feature .heading-title h2 {
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.avada-html-layout-wide #our-feature .image {
    border-radius: 8px;
    overflow: hidden;
}

.avada-html-layout-wide #our-feature .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Process sections - improved step spacing */
.avada-html-layout-wide .process-wrapp li {
    padding: 5rem 2rem 0;
}

.avada-html-layout-wide .process-wrapp li .pro-step {
    margin-bottom: 1.5rem;
}

/* Process connector lines - narrower (default: height 1px, width 30%) */
.avada-html-layout-wide .process-wrapp li::before,
.avada-html-layout-wide .process-wrapp li::after {
    height: 0.5px !important;
    width: 17% !important;
    transform: translateX(8px);
}

.avada-html-layout-wide .process-wrapp li p.fontbold {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.avada-html-layout-wide .process-wrapp li:hover p.fontbold {
    opacity: 1;
    visibility: visible;
}

/* 10+ step process - wrap to 2 rows instead of cramped single row */
.avada-html-layout-wide .process-wrapp:has(li:nth-child(10)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    table-layout: unset;
}

.avada-html-layout-wide .process-wrapp:has(li:nth-child(10)) li {
    display: inline-block;
    flex: 0 0 calc(20% - 20px);
    min-width: 140px;
    max-width: 200px;
    margin: 0 10px 2rem;
    padding: 3rem 0.5rem 0;
}

.avada-html-layout-wide .process-wrapp:has(li:nth-child(10)) li::before,
.avada-html-layout-wide .process-wrapp:has(li:nth-child(10)) li::after {
    width: 0 !important;
    opacity: 0;
    visibility: hidden;
}

/* Team section - card spacing and typography */
.avada-html-layout-wide #our-team {
    padding-top: 9rem;
}

.avada-html-layout-wide .team-box .image {
    border-radius: 8px;
    overflow: hidden;
}

.avada-html-layout-wide .team-box .image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.avada-html-layout-wide .team-box .team-content h4 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Contact section - generous padding */
.avada-html-layout-wide #contact {
    padding: 9rem 0;
}

.avada-html-layout-wide #contact .whitebox {
    padding: 3rem 2rem;
    border-radius: 8px;
}

/* Nav Book a Call button - inline with menu items */
.navbar-nav .nav-item:has(.btn-nav-book-call) {
    display: flex;
    align-items: center;
}

.btn-nav-book-call {
    margin-right: 1rem;
    padding: 8px 1.25rem !important;
    font-size: 14px !important;
    line-height: 1.5;
}

/* Hero with text + form - all in one section, form under text */
#home.hero-with-form {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

#home .hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/home.jpg') center center / cover no-repeat;
}

#home .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

#home .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 840px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

#home .hero-text {
    text-align: center;
}

#home .hero-line1,
#home .hero-line2 {
    color: #222 !important;
}

#home .hero-line1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 200;
    margin: 0 0 0.5rem;
    text-transform: capitalize;
}

#home .hero-line2 {
    font-size: clamp(0.9rem, 2.2vw, 1.15rem);
    font-weight: 500;
    margin: 0.5rem 0 0;
    line-height: 1.5;
    text-align: left;
}

#home .hero-line3 {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    font-weight: 400;
    color: #666 !important;
    margin: 0.75rem 0 0;
}

#home .book-diagnostic-overlay {
    position: relative;
    width: 100%;
    padding: 0;
}

#home .book-diagnostic-embed {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

#home .book-diagnostic-embed iframe {
    display: block;
    min-height: 400px;
}

/* Book a Call button - 2x larger (hero) */
.btn-book-call {
    font-size: 26px !important;
    padding: 1.6rem 4.5rem !important;
}

/* Counters - full width bar, increased height for prominence */
.avada-is-100-percent-template #bg-counters {
    padding: 8rem 0;
}

/* Footer spacing */
.avada-html-layout-wide #site-footer {
    padding-top: 5rem;
}

.avada-html-layout-wide .footer_panel {
    padding-bottom: 3rem;
}

/* Body text - slightly larger, improved line height */
.avada-html-layout-wide p {
    font-size: 15px;
    line-height: 1.75;
}

.avada-html-layout-wide .heading-title > span {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .avada-html-layout-wide .padding {
        padding: 6rem 0;
    }
    .avada-html-layout-wide #our-feature.single-feature {
        padding: 6rem 0;
    }
}

@media (max-width: 767px) {
    .avada-html-layout-wide .padding {
        padding: 5rem 0;
    }
    .avada-html-layout-wide .heading_space {
        margin-bottom: 2.5rem;
    }
}

/* Thank You landing page */
.thank-you-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thank-you-content h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 600;
}

.thank-you-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.thank-you-content .button {
    margin-top: 0.5rem;
}
