/* EZgig theme - Sataloop palette (brand #009FE3, accent #E4175C, navy #0A1020)
   Loaded after style.css. Remove the <link> in frontend/partials/header.blade.php to revert. */

:root {
    --primary-color: #009FE3;
    --primary-dark: #0084BD;
    --primary-soft: rgba(0, 159, 227, .10);
    --secondary-color: #E4175C;
    --secondary-dark: #C40F4B;
    --accent-green: #5BBA52;
    --navy: #0A1020;
    --navy-2: #0E1729;
    --navy-3: #121C31;
    --main-color-one: #0C1524;
    --paragraph-color: #5D6E82;
    --paragraph-color-four: #0084BD;
    --border-color: #DCE5EF;
    --border-color-two: #C9D6E4;
    --scolor1: #F3F7FB;
    --scolor2: #FFFFFF;
    --scolor3: #0C1524;
    --inter-font: 'Inter', system-ui, sans-serif;
    --heading-font: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-sm: 0 1px 2px rgba(12, 21, 36, .06), 0 4px 14px rgba(12, 21, 36, .06);
    --shadow-md: 0 10px 30px rgba(12, 21, 36, .10);
    --shadow-lg: 0 24px 60px rgba(12, 21, 36, .16);
}

html { scroll-behavior: smooth; }
body { color: var(--paragraph-color); -webkit-font-smoothing: antialiased; }
::selection { background: var(--primary-color); color: #fff; }

h1, h2, h3, h4, h5, h6,
.main-title, .title-2, .title-3, .title-4,
.subtitle-1, .subtitle-2, .subtitle-3, .subtitle-4,
.cmn-btn, .sub-title, .navbar-nav a {
    font-family: var(--heading-font);
}
h1, h2, h3, h4, h5, h6 { color: var(--main-color-one); letter-spacing: -.01em; }
.white-text, .white-text h1, .white-text h2, .white-text h3, .white-text h4,
.black-bg h1, .black-bg h2, .black-bg h3, .black-bg h4,
.dark-bg h1, .dark-bg h2, .dark-bg h3, .dark-bg h4 { color: #fff; }

/* ---------- backgrounds ---------- */
.bg-gray, .bg-gray-light { background-color: var(--scolor1); }
.black-bg { background-color: var(--navy); }
.dark-bg { background-color: var(--navy); }
.primary-bg { background: linear-gradient(135deg, #009FE3 0%, #0084BD 100%); }
.secondary-bg { background: linear-gradient(135deg, #E4175C 0%, #B80F47 100%); }
.primary-text { color: var(--primary-color); }
.secondary-text { color: var(--secondary-color); }

/* ---------- buttons ---------- */
.cmn-btn {
    text-transform: none;
    letter-spacing: .01em;
    font-weight: 700;
    border-radius: 999px;
    padding: .95rem 2rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.cmn-btn.md-btn { padding: .7rem 1.5rem; }
.cmn-btn:hover { transform: translateY(-2px); }
.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, #14B0F2 0%, #009FE3 55%, #0084BD 100%);
    box-shadow: 0 8px 20px rgba(0, 159, 227, .35);
}
.primary-btn:hover { background: var(--primary-dark); color: #fff; border-color: transparent; box-shadow: 0 12px 26px rgba(0, 159, 227, .45); }
.secondary-btn {
    color: #fff;
    background: linear-gradient(135deg, #F0246A 0%, #E4175C 60%, #C40F4B 100%);
    box-shadow: 0 8px 20px rgba(228, 23, 92, .30);
}
.secondary-btn:hover { background: var(--secondary-dark); color: #fff; border-color: transparent; box-shadow: 0 12px 26px rgba(228, 23, 92, .40); }
.black-outline-btn { color: var(--main-color-one); border: 1.5px solid var(--main-color-one); background: transparent; }
.black-outline-btn:hover { background: var(--main-color-one); color: #fff; border-color: var(--main-color-one); }
.primary-btn-outline { color: var(--primary-color); border-color: var(--primary-color); }
.primary-btn-outline:hover { background: var(--primary-color); color: #fff; }

/* ---------- header / nav ---------- */
.header.bg-gray, .header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border-color); }
.navbar-area .navbar-nav a, .navbar-area .navbar-nav .nav-link { color: var(--main-color-one); font-weight: 600; font-size: .95rem; transition: color .2s ease; }
.navbar-area .navbar-nav a:hover { color: var(--primary-color); }

/* ---------- section headings ---------- */
.sub-title {
    background: var(--primary-soft);
    color: var(--primary-color);
    border-radius: 16px;
    padding: 7px 16px;
    letter-spacing: .06em;
    font-size: .78rem;
    align-items: center;
    gap: 8px;
}
.sub-title.secondary-text { background: rgba(228, 23, 92, .10); color: var(--secondary-color); }
.black-bg .sub-title, .dark-bg .sub-title { background: rgba(255, 255, 255, .10); color: #7FD3F5; }
.black-bg .sub-title.secondary-text { color: #FF7BA3; }
.sub-title .icon svg path { fill: currentColor; }
.section-title-wraper .title-2 { font-weight: 800; }

/* ---------- hero ---------- */
.hero-section {
    position: relative;
    overflow: hidden;
    background-image: none !important;
    background:
        radial-gradient(900px 500px at 92% -10%, rgba(0, 159, 227, .18), transparent 60%),
        radial-gradient(520px 360px at -4% 55%, rgba(228, 23, 92, .08), transparent 65%),
        linear-gradient(180deg, #F6FAFE 0%, #FFFFFF 100%) !important;
    padding: 90px 0 110px;
}
.hero-section .main-title { font-weight: 800; letter-spacing: -.025em; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.1; }
.hero-section .subtitle-4 { color: var(--paragraph-color); font-size: 1.15rem; }
.banner-text-part-wraper { max-width: 640px; }
.banner-form-wraper input {
    padding: 20px 68px 20px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 999px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.banner-form-wraper input:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-md); }
.banner-form-wraper .search-icon-btn { background: linear-gradient(135deg, #14B0F2, #0084BD); color: #fff; height: 48px; width: 48px; }
.banner-image-part { height: auto; max-width: 560px; }
.banner-image-part .main-image { position: relative; }
.banner-image-part .main-image::before {
    content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 32px;
    background: linear-gradient(135deg, #009FE3, #E4175C); opacity: .9; z-index: 0;
}
.banner-image-part .main-image img {
    position: relative; z-index: 1;
    width: 100%; height: 500px; object-fit: cover;
    border-radius: 32px; box-shadow: var(--shadow-lg);
}

/* ---------- cards ---------- */
.single-features-card, .service-card, .handyman-card, .workflow-card, .blog-card, .core-value-card, .single-job-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.single-features-card:hover, .service-card:hover, .handyman-card:hover, .workflow-card:hover, .blog-card:hover, .single-job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 159, 227, .45);
    background: #fff;
}
.single-features-card:hover { background: linear-gradient(180deg, #fff, #F1F9FE); }
.service-card { padding: 14px; }
.service-card .image-part, .handyman-card .image-part { border-radius: 14px; overflow: hidden; }
.service-card .image-part img { transition: transform .5s ease; }
.service-card:hover .image-part img { transform: scale(1.05); }
.handyman-card .image-part { border-radius: 0; }
.handyman-card .image-part img { width: 100%; height: 100%; object-fit: cover; }
.core-value-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.core-value-card.white-bg { background: #fff; }
.workflow-card .icon, .single-features-card .icon { background: var(--primary-soft); border-radius: 18px; }

/* ---------- app download banners ---------- */
.appversion-wraper { border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden; }

/* ---------- CTA ---------- */
.cta-section { padding: 20px 0 90px; }
.cta-section::before { display: none; }
.cta-section .cta-section-wraper {
    position: relative; overflow: hidden; justify-content: center; text-align: center;
    background: linear-gradient(120deg, #0A1020 0%, #0E2A47 55%, #007DB5 100%);
    border-radius: 28px; box-shadow: var(--shadow-lg); padding: 76px 32px;
}
.cta-section .cta-section-wraper::before, .cta-section .cta-section-wraper::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-section .cta-section-wraper::before { width: 460px; height: 460px; right: -140px; top: -190px; background: radial-gradient(circle, rgba(0, 159, 227, .55), transparent 65%); }
.cta-section .cta-section-wraper::after { width: 380px; height: 380px; left: -120px; bottom: -170px; background: radial-gradient(circle, rgba(228, 23, 92, .40), transparent 65%); }
.cta-section .content-part { position: relative; z-index: 1; flex: 1 1 100%; max-width: 720px; margin: 0 auto; padding: 0; }
.cta-section .cta-title { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 28px; }
.cta-section .image-part { display: none; }

/* ---------- footer ---------- */
.footerWraper { background: var(--navy); }
.footerWraper, .footerWraper p, .footerWraper a { color: #B6C2D2; }
.footerWraper .widget-title, .footerWraper h4 { color: #fff; }
.footerWraper a:hover { color: var(--primary-color); }
.footerWraper .footer-area-bottom { border-top: 1px solid rgba(255, 255, 255, .10); }
.footerWraper .footer-social-link-list .footer-social-link-item a { border-color: rgba(255, 255, 255, .25); color: #fff; }
.footerWraper .footer-social-link-list .footer-social-link-item a:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* ---------- misc ---------- */
.rating-star-wraper, .fa-star { color: #F5B62A; }
.fvt-icon.selected svg path { fill: var(--secondary-color); stroke: var(--secondary-color); }
a { transition: color .2s ease; }
img { max-width: 100%; }

@media (max-width: 991px) {
    .hero-section { padding: 60px 0 80px; }
    .banner-image-part .main-image img { height: 380px; }
    .banner-image-part .main-image::before { inset: 14px -8px -10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- new EZgig sections ---------- */
.ez-stats { padding: 0 0 10px; margin-top: -44px; position: relative; z-index: 3; }
.ez-stats .ez-stats-wrap {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    background: #fff; border: 1px solid var(--border-color); border-radius: 22px; box-shadow: var(--shadow-md); padding: 20px 10px;
}
.ez-stat { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 14px; border-right: 1px solid var(--border-color); font-family: var(--heading-font); font-weight: 700; color: var(--main-color-one); font-size: .98rem; }
.ez-stat:last-child { border-right: 0; }
.ez-stat .ic { flex: 0 0 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-color); font-size: 17px; }
.ez-stat:nth-child(2) .ic { background: rgba(228, 23, 92, .10); color: var(--secondary-color); }
.ez-stat:nth-child(3) .ic { background: rgba(91, 186, 82, .14); color: #3E9A36; }
.ez-stat:nth-child(4) .ic { background: rgba(12, 21, 36, .08); color: var(--navy-3); }

.ez-why { padding: 90px 0 30px; }
.ez-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.ez-why-card { background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ez-why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(0, 159, 227, .45); }
.ez-why-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, #14B0F2, #0084BD); }
.ez-why-card:nth-child(2) .ic { background: linear-gradient(135deg, #F0246A, #C40F4B); }
.ez-why-card:nth-child(3) .ic { background: linear-gradient(135deg, #6CCB62, #45A03D); }
.ez-why-card:nth-child(4) .ic { background: linear-gradient(135deg, #1B2A47, #0A1020); }
.ez-why-card h4 { font-size: 1.15rem; margin: 0 0 8px; font-weight: 700; }
.ez-why-card p { margin: 0; font-size: .96rem; line-height: 1.6; }

.ez-cats { padding: 80px 0 30px; }
.ez-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ez-cat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; color: var(--main-color-one); }
.ez-cat:hover { transform: translateY(-4px); border-color: var(--primary-color); box-shadow: var(--shadow-md); color: var(--primary-color); }
.ez-cat .ci { flex: 0 0 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-soft); overflow: hidden; }
.ez-cat .ci img { width: 34px; height: 34px; object-fit: contain; }
.ez-cat .ct { font-family: var(--heading-font); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.ez-cat .cc { display: block; font-weight: 500; font-size: .8rem; color: var(--paragraph-color); margin-top: 2px; }

.ez-faq-teaser { padding: 80px 0 40px; }
.ez-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.ez-faq-list details { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.ez-faq-list details[open] { border-color: var(--primary-color); }
.ez-faq-list summary { cursor: pointer; list-style: none; padding: 16px 0; font-family: var(--heading-font); font-weight: 700; color: var(--main-color-one); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.ez-faq-list summary::-webkit-details-marker { display: none; }
.ez-faq-list summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary-color); transition: transform .2s ease; }
.ez-faq-list details[open] summary::after { transform: rotate(45deg); }
.ez-faq-list details p { margin: 0 0 18px; line-height: 1.7; }
.ez-center { text-align: center; }
.ez-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.ez-head h2 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 14px 0 12px; }
.ez-head p { margin: 0; font-size: 1.05rem; }

@media (max-width: 991px) {
    .ez-stats .ez-stats-wrap { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
    .ez-stat:nth-child(2) { border-right: 0; justify-content: flex-start; }
    .ez-stat { justify-content: flex-start; }
    .ez-why-grid, .ez-cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .ez-why-grid { grid-template-columns: 1fr; }
    .ez-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .ez-cat { flex-direction: column; text-align: center; padding: 16px 10px; gap: 10px; }
    .ez-cat .ct { font-size: .86rem; }
    .ez-stats { margin-top: -36px; }
    .cta-section .cta-section-wraper { padding: 52px 20px; }
}

/* ---------- long section subtitles read as a lead paragraph under the heading ---------- */
.section-title-wraper .title-part { display: flex; flex-direction: column; }
.section-title-wraper .title-part h2 { order: 1; }
.section-title-wraper .title-part .sub-title {
    order: 2; background: none; padding: 0; margin: 10px 0 0 !important;
    text-transform: none; letter-spacing: 0; font-size: 1.05rem; font-weight: 500;
    color: var(--paragraph-color); max-width: 680px; line-height: 1.6;
}
.section-title-wraper .title-part .sub-title .icon { display: none; }
.section-title-wraper .title-part.text-center .sub-title { align-self: center; text-align: center; }
.black-bg .section-title-wraper .title-part .sub-title { color: #B6C2D2; }

/* ---------- blog cards ---------- */
.blog-card { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.blog-card .blog-card-image img { width: 100%; height: 230px; object-fit: cover; display: block; }
.blog-card .blog-card-content { padding: 20px 24px 24px; }
.blog-card .post-info { font-size: .85rem; color: var(--paragraph-color); margin-bottom: 8px; }
.blog-card .blog-card-title a:hover { color: var(--primary-color); }
.blog-card .btn-wraper a { color: var(--primary-color); }

/* ---------- footer: the copyright widget renders its own bar inside ours ---------- */
.footerWraper .footer-area-bottom .footer-area-bottom { border-top: 0; padding: 0; }
.footerWraper .footer-area-bottom .footer-area-bottom .custom-container { padding-left: 0; padding-right: 0; max-width: none; width: 100%; }
.footerWraper .footer-area-bottom { padding: 22px 0; }
.footerWraper .footer-logo img { max-height: 54px; width: auto; }

/* ---------- value cards (white cards on the dark band) ---------- */
.core-value-card h4, .core-value-card .subtitle-2 { color: var(--main-color-one); font-weight: 700; margin-bottom: 8px; }
.core-value-card p { color: var(--paragraph-color); }
.core-value-card .ez-value-icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
    font-size: 22px; color: #fff; background: linear-gradient(135deg, #14B0F2, #0084BD);
}
.col-lg-3:nth-child(2) .ez-value-icon { background: linear-gradient(135deg, #F0246A, #C40F4B); }
.col-lg-3:nth-child(3) .ez-value-icon { background: linear-gradient(135deg, #6CCB62, #45A03D); }
.col-lg-3:nth-child(4) .ez-value-icon { background: linear-gradient(135deg, #1B2A47, #0A1020); }
.core-value-section .core-value-card { box-shadow: none; }

/* ---------- footer logo ---------- */
.footerWraper .footer-logo img { height: 52px; width: auto; max-width: none; }

.core-value-card { height: auto; min-height: 0; justify-content: flex-start; gap: 0; padding: 28px 26px; }
.core-value-card .text-part { margin-top: 0; }

/* ---------- long-form content (policies, FAQ, How it works, blog articles) ---------- */
.dynamic-page-content-wrap, .blog-content-text { color: #3B4B60; font-size: 1.05rem; line-height: 1.8; }
.dynamic-page-content-wrap { max-width: 880px; margin: 0 auto; padding: 8px 0 20px; }
.dynamic-page-content-wrap h1 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; margin: 0 0 18px; line-height: 1.15; }
.dynamic-page-content-wrap h2, .blog-content-text h2 { font-size: 1.5rem; font-weight: 700; margin: 40px 0 12px; line-height: 1.3; }
.dynamic-page-content-wrap h3, .blog-content-text h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 8px; }
.dynamic-page-content-wrap p, .blog-content-text p { font-size: 1.05rem; line-height: 1.8; margin: 0 0 16px; color: #3B4B60; }
.dynamic-page-content-wrap ul, .dynamic-page-content-wrap ol, .blog-content-text ul, .blog-content-text ol { padding-left: 22px; margin: 0 0 18px; }
.dynamic-page-content-wrap li, .blog-content-text li { font-size: 1.05rem; line-height: 1.75; margin-bottom: 8px; color: #3B4B60; }
.dynamic-page-content-wrap a:not(.cmn-btn), .blog-content-text a { color: var(--primary-color); text-decoration: underline; text-underline-offset: 3px; }
.dynamic-page-content-wrap a:not(.cmn-btn):hover, .blog-content-text a:hover { color: var(--primary-dark); }
.dynamic-page-content-wrap .cmn-btn { margin: 4px 0 18px; text-decoration: none; }
.blog-content-text small { color: var(--paragraph-color); font-size: .85rem; }
.blog-details-section h1, .blog-details-section .blog-title { font-weight: 800; letter-spacing: -.02em; }
.blog-featured-image img { border-radius: 20px; width: 100%; max-height: 460px; object-fit: cover; }

.blog-content-inner h2.title-2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 24px; line-height: 1.2; letter-spacing: -.02em; }
.blog-content-text { max-width: 820px; }
.blog-article-body > *:first-child { margin-top: 0; }
