/* ==========================================================================
   World Web Directory - Main Stylesheet
   Layout, typography and motion follow the SEOX 2.0 "index5" reference
   (Outfit type, dark hero with tilted image row, light-grey alternating
   sections, bubble-fill buttons, overlapping CTA above a dark footer).
   Colours come from the World Web Directory logo (blue + orange).

   Table of contents
     01. Design tokens
     02. Base
     03. Layout helpers
     04. Buttons and links
     05. Section headings
     06. Preloader (home page only)
     07. Header and navigation
     08. Mobile menu
     09. Hero (home)
     10. Inner page banner
     11. About block
     12. Listing cards (service box style)
     13. Why choose block
     14. Category slider
     15. Testimonial slider
     16. RSS live feed
     17. Blog
     18. Contact form block
     19. CTA and footer
     20. Sidebar, widgets, pagination
     21. Directory pages (categories, listings, search)
     22. Single listing
     23. Blog single, sitemap, legal, 404
     24. Scroll animations
     25. Responsive
   ========================================================================== */


/* ==========================================================================
   01. Design tokens
   ========================================================================== */

:root {
    --title: #090b0e;
    --text: #3d4c5e;
    --muted: #7a8494;
    --white: #ffffff;
    --white-80: rgba(255, 255, 255, 0.83);
    --white-10: rgba(255, 255, 255, 0.1);

    --dark: #070c1c;
    --dark-2: #0d1630;
    --grey: #f4f4f4;
    --line: #e6e8ec;

    --accent: #f26722;
    --accent-2: #f7941d;
    --accent-soft: #feeee6;
    --blue: #1565d8;
    --blue-dark: #0b3a8c;

    --font: "Outfit", sans-serif;
    --radius: 8px;
    --radius-pill: 111px;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ==========================================================================
   02. Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden;
}

/* Elements waiting to slide in from the side must not widen the page */
main {
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    font-family: var(--font);
    font-weight: 500;
    color: var(--title);
}

p {
    margin: 0 0 16px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

::selection {
    color: var(--white);
    background: var(--accent);
}


/* ==========================================================================
   03. Layout helpers
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.sp {
    padding: 100px 0;
}

.sec-bg {
    background: var(--grey);
}

.row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 60px;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.text-center {
    text-align: center;
}


/* ==========================================================================
   04. Buttons and links
   ========================================================================== */

/* Bubble-fill button (reference: theme-btn8) */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 17px 28px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
    background: var(--accent);
    border: 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s ease;
}

.btn__text {
    position: relative;
    z-index: 2;
}

.btn__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.btn__shape {
    position: absolute;
    top: 0;
    left: calc((var(--b) - 1) * 25%);
    width: 25%;
    height: 100%;
    background: var(--title);
    border-radius: 50%;
    transform: translateY(150%);
    transition: transform 0.5s ease;
    transition-delay: calc((var(--b) - 1) * 0.1s);
}

.btn__shape:nth-child(1) {
    --b: 1;
}

.btn__shape:nth-child(2) {
    --b: 2;
}

.btn__shape:nth-child(3) {
    --b: 3;
}

.btn__shape:nth-child(4) {
    --b: 4;
}

.btn:hover {
    color: var(--white);
}

.btn:hover .btn__shape {
    transform: translateY(0) scale(2);
}

.btn--white {
    color: var(--title);
    background: var(--white);
}

.btn--white:hover {
    color: var(--white);
}

.btn--dark .btn__shape {
    background: var(--blue);
}

.btn--sm {
    padding: 13px 22px;
    font-size: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--title);
}

.read-more i {
    font-size: 12px;
    transform: rotate(-45deg);
    transition: transform 0.4s ease;
}

.read-more:hover {
    color: var(--accent);
}

.read-more:hover i {
    transform: rotate(0deg);
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: var(--radius-pill);
    transition: all 0.4s ease;
}

.tag:hover {
    color: var(--white);
    background: var(--accent);
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    margin-bottom: 32px;
}

.check-list--single {
    grid-template-columns: 1fr;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--title);
}

.check-list li::before {
    content: "\f00c";
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 20px;
    height: 20px;
    font-family: "Font Awesome 6 Free";
    font-size: 10px;
    font-weight: 900;
    color: var(--white);
    background: var(--accent);
    border-radius: 50%;
}


/* ==========================================================================
   05. Section headings (reference: heading4)
   ========================================================================== */

.heading {
    margin-bottom: 50px;
}

.heading--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.heading--split h2 {
    max-width: 560px;
    margin-bottom: 0;
}

.sub-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--title);
    text-transform: uppercase;
}

.sub-title img {
    width: 22px;
    height: auto;
}

.heading h2,
.title {
    font-size: 44px;
    line-height: 52px;
}

.heading p,
.lead {
    font-size: 18px;
    line-height: 26px;
}


/* ==========================================================================
   06. Preloader (home page only; reference: preloader5)
   ========================================================================== */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000000;
    transition: transform 0.9s var(--ease);
}

.preloader__progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 8px;
    animation: progress 2.2s ease-in-out forwards;
}

.preloader__logo {
    transition: all 0.9s ease-in-out;
}

.preloader__logo img {
    width: 130px;
    animation: rotate 12s linear infinite;
}

.preloader__text {
    margin-top: 22px;
    font-size: 18px;
    letter-spacing: 2px;
    color: var(--white);
}

.preloader__text span {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    border-right: 2px solid var(--white);
    animation: typing 2s steps(10) infinite;
}

.preloader.is-exit {
    transform: translateY(-100%);
}

.preloader.is-exit .preloader__logo {
    opacity: 0;
    transform: scale(0);
}


/* ==========================================================================
   07. Header and navigation (reference: vl-header-area4)
   ========================================================================== */

.header {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 900;
    width: 100%;
}

.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px 12px 28px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--white-10);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.header.is-sticky {
    position: fixed;
    top: 0;
    background: var(--dark);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.09);
    animation: slideDown 0.6s ease;
}

.header.is-sticky .header__bar {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
    border-color: transparent;
    border-radius: 0;
}

.header__logo img {
    width: 170px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 14px;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
}

.nav__link i {
    font-size: 11px;
    transition: transform 0.4s ease;
}

.nav__item:hover .nav__link i {
    transform: rotate(180deg);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--accent-2);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding: 14px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: rotateX(-75deg);
    transform-origin: top;
    transition: all 0.4s ease;
}

.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0deg);
}

.nav__dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--title);
    border-radius: 6px;
    transition: all 0.4s ease;
}

.nav__dropdown a:hover {
    padding-left: 18px;
    color: var(--accent);
    background: var(--accent-soft);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header__search {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: var(--white);
}

.header__search:hover {
    color: var(--accent-2);
}

.menu-toggle {
    display: none;
    padding: 0;
    font-size: 24px;
    color: var(--white);
    background: none;
    border: 0;
    cursor: pointer;
}


/* ==========================================================================
   08. Mobile menu (reference: vl-offcanvas)
   ========================================================================== */

.offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 360px;
    max-width: 88vw;
    height: 100vh;
    padding: 40px 30px;
    overflow-y: auto;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
}

.offcanvas.is-open {
    transform: translateX(0);
}

.offcanvas__overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(24, 24, 24, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.offcanvas__overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.offcanvas__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.offcanvas__head img {
    width: 150px;
}

.offcanvas__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: var(--accent);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.offcanvas__nav a {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--title);
    border-bottom: 1px solid var(--line);
}

.offcanvas__nav a:hover {
    color: var(--accent);
}

.offcanvas__info {
    margin-top: 30px;
}

.offcanvas__info h4 {
    font-size: 24px;
}


/* ==========================================================================
   09. Hero (home; reference: hero4)
   ========================================================================== */

.hero {
    position: relative;
    padding: 200px 0 0;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(21, 101, 216, 0.45), transparent 60%),
        linear-gradient(180deg, rgba(7, 12, 28, 0.86), rgba(7, 12, 28, 0.97)),
        url("../images/banner-bg.jpg") center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -260px;
    left: 50%;
    width: 900px;
    height: 900px;
    border: 1px solid var(--white-10);
    border-radius: 50%;
    transform: translateX(-50%);
}

.hero__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero__content .sub-title {
    color: var(--accent-2);
}

.hero h1 {
    font-size: 56px;
    line-height: 64px;
    color: var(--white);
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: var(--white-80);
}

.hero-search {
    position: relative;
    display: flex;
    gap: 10px;
    max-width: 680px;
    margin: 32px auto 0;
}

.hero-search input,
.hero-search select {
    min-width: 0;
    padding: 16px 22px;
    color: var(--white);
    background-color: #121a2f;
    border: 1px solid var(--white-10);
    border-radius: var(--radius-pill);
    outline: none;
}

.hero-search input {
    flex: 1.4;
}

.hero-search select {
    flex: 1;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--white) 50%),
        linear-gradient(135deg, var(--white) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.hero-search select option {
    color: var(--title);
}

.hero-search input::placeholder {
    color: var(--white-80);
}

.hero-search input:focus,
.hero-search select:focus {
    border-color: var(--accent);
}

.hero-images {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
    gap: 24px;
    margin-top: 80px;
    padding-bottom: 60px;
}

.hero-images figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-images img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.hero-images figure:hover img {
    transform: scale(1.08);
}

.hero-images a {
    position: relative;
    display: block;
}

/* Category name capsule over each hero photo */
.hero-images__label {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--white);
    text-align: center;
    background: rgba(7, 12, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(6px);
    transition: background 0.4s ease;
}

.hero-images figure:hover .hero-images__label {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-images .image1 {
    margin-top: 82px;
}

.hero-images .image3 {
    margin-top: 60px;
}

.hero-images .image5 {
    margin-top: 75px;
}


/* ==========================================================================
   10. Inner page banner (reference: inner hero area)
   ========================================================================== */

.page-banner {
    position: relative;
    padding: 220px 0 110px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(21, 101, 216, 0.4), transparent 60%),
        linear-gradient(180deg, rgba(7, 12, 28, 0.86), rgba(7, 12, 28, 0.95)),
        var(--banner, url("../images/banner-bg.jpg")) center / cover no-repeat;
    overflow: hidden;
}

.page-banner h1 {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 56px;
    line-height: 64px;
    color: var(--white);
}

.page-banner--listing {
    padding-bottom: 150px;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    color: var(--white-80);
}

.breadcrumb a:hover {
    color: var(--accent-2);
}

.breadcrumb i {
    font-size: 12px;
    color: var(--accent-2);
}

.breadcrumb span {
    color: var(--accent-2);
}


/* ==========================================================================
   11. About block (reference: about4)
   ========================================================================== */

.about-images {
    position: relative;
    max-width: 560px;
    height: 550px;
}

/* Soft glow behind the photos (reference: about4-images-shape) */
.about-images__shape {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 456px;
    max-width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(242, 103, 34, 0.22) 0%, rgba(242, 103, 34, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.about-images .image1,
.about-images .image2 {
    position: absolute;
    z-index: 1;
    border-radius: var(--radius);
}

/* Two staggered photos side by side, with a gap so they never overlap */
.about-images .image1 {
    bottom: 0;
    left: 0;
    width: calc(50% - 12px);
    height: 450px;
}

.about-images .image2 {
    top: 0;
    right: 0;
    width: calc(50% - 12px);
    height: 383px;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Image reveal on scroll + light sweep on hover (reference: image-anime reveal) */
.image-anime {
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s var(--ease);
}

.image-anime img {
    transform: scale(1.3);
    transition: transform 1.4s var(--ease);
}

.image-anime.is-revealed {
    clip-path: inset(0 0 0 0);
}

.image-anime.is-revealed img {
    transform: scale(1);
}

.image-anime::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 200%;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.image-anime:hover::after {
    height: 250%;
    background: transparent;
    transition: all 600ms linear;
}

.about-content {
    padding-left: 30px;
}

.about-content h5 {
    margin-top: 8px;
    font-size: 20px;
}


/* ==========================================================================
   12. Listing cards (reference: service4 box)
   ========================================================================== */

.service-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-box:hover {
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.service-box--line {
    border: 1px solid var(--line);
}

.service-box__logo {
    display: grid;
    place-items: center;
    height: 140px;
    margin-bottom: 24px;
    padding: 18px;
    background: var(--grey);
    border-radius: var(--radius);
    overflow: hidden;
}

.service-box__logo img {
    max-height: 104px;
    object-fit: contain;
    transition: transform 0.6s var(--ease);
}

.service-box:hover .service-box__logo img {
    transform: scale(1.07);
}

.service-box__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    font-size: 26px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-box:hover .service-box__icon {
    color: var(--white);
    background: var(--accent);
    transform: rotateY(180deg);
}

.service-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--muted);
}

.service-box__meta i {
    margin-right: 5px;
    color: var(--accent);
}

.service-box h4 {
    font-size: 22px;
    line-height: 30px;
}

.service-box h4 a:hover {
    color: var(--accent);
}

.service-box p {
    flex: 1;
    font-size: 16px;
    line-height: 26px;
}

.service-box__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Home "Featured Listings": 3 + 2 text cards (reference: service4) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 30px;
}

.service-grid > * {
    grid-column: span 2;
}

.service-grid > :nth-child(5n + 4),
.service-grid > :nth-child(5n + 5) {
    grid-column: span 3;
}

.service4-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.service4-box__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service4-box__icon i {
    transition: transform 0.4s ease;
}

.service4-box__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--muted);
    transition: color 0.4s ease;
}

.service4-box__meta i {
    margin-right: 5px;
    color: var(--accent);
    transition: color 0.4s ease;
}

.service4-box h4 {
    font-size: 24px;
    line-height: 32px;
}

.service4-box h4 a {
    transition: color 0.4s ease;
}

.service4-box p {
    flex: 1;
    margin-top: 0;
    font-size: 16px;
    line-height: 26px;
    transition: color 0.4s ease;
}

.learn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding-top: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--title);
    overflow: hidden;
    transition: color 0.4s ease;
}

.learn__arrows {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    overflow: hidden;
}

.learn__arrows i {
    position: absolute;
    top: 2px;
    left: 0;
    font-size: 13px;
    transition: all 0.4s ease;
}

.learn__arrows i:first-child {
    transform: rotate(-45deg);
}

.learn__arrows i:last-child {
    opacity: 0;
    transform: translate(-16px, 16px) rotate(-45deg);
}

.service4-box:hover .learn__arrows i:first-child,
.learn:hover .learn__arrows i:first-child {
    opacity: 0;
    transform: translate(16px, -16px) rotate(-45deg);
}

.service4-box:hover .learn__arrows i:last-child,
.learn:hover .learn__arrows i:last-child {
    opacity: 1;
    transform: translate(0, 0) rotate(-45deg);
}

.service4-box:hover {
    background: var(--accent);
    transform: translateY(-10px);
}

.service4-box:hover .service4-box__icon {
    background: var(--white);
}

.service4-box:hover .service4-box__icon i {
    transform: rotateY(180deg);
}

.service4-box:hover h4 a,
.service4-box:hover .learn,
.service4-box:hover .service4-box__meta,
.service4-box:hover .service4-box__meta i {
    color: var(--white);
}

.service4-box:hover p {
    color: var(--white-80);
}


/* ==========================================================================
   13. Why choose block (reference: choose5)
   ========================================================================== */

.choose-box {
    margin-bottom: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.choose-box:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.choose-box h4 {
    margin-bottom: 8px;
    font-size: 22px;
}

.choose-box p {
    margin: 0;
}

.choose-image {
    position: relative;
}

.choose-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}


/* ==========================================================================
   14. Category sliders
       - .stack-slider: home "Top Categories" (reference: case4 rev_slider)
       - .case-slide: category cards used on the categories page
   ========================================================================== */

.stack-slider {
    position: relative;
    max-width: 770px;
    margin: 0 auto;
    padding: 40px 0 70px;
    overflow: hidden;
}

.stack-slider__stage {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    perspective: 100px;
}

.stack-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: transform 1s, opacity 1s;
}

.stack-slide.is-current {
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: translate3d(0, 0, 10px);
}

.stack-slide.is-next {
    z-index: 1;
    opacity: 1;
    transform: translate3d(20%, 0, 0);
}

.stack-slide.is-prev {
    opacity: 1;
    transform: translate3d(-20%, 0, 0);
}

.stack-slide__image {
    display: block;
    height: 520px;
}

.stack-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.stack-slide__text {
    margin: -30px 10px 0;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
}

.stack-slide.is-current .stack-slide__text {
    visibility: visible;
    opacity: 1;
}

.stack-slide__text h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 24px;
}

.stack-slide__text h4 a:hover {
    color: var(--accent);
}

.stack-slide__text p {
    margin: 0;
    font-size: 18px;
    line-height: 26px;
}

.stack-slider__arrow {
    position: absolute;
    top: 300px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    font-size: 28px;
    color: var(--accent);
    background: var(--white);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.055);
    cursor: pointer;
    transition: all 0.4s ease;
}

.stack-slider__arrow:hover {
    color: var(--white);
    background: var(--accent);
}

.stack-slider__arrow--prev {
    left: 0;
}

.stack-slider__arrow--next {
    right: 0;
}

.case-slider__viewport {
    overflow: hidden;
}

.case-slider__track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s var(--ease);
}

.case-slide {
    position: relative;
    flex: 0 0 calc((100% - 60px) / 3);
    border-radius: var(--radius);
    overflow: hidden;
}

.case-slide img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.case-slide:hover img {
    transform: scale(1.08) rotate(1deg);
}

.case-slide__content {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    transform: translateY(14px);
    transition: transform 0.5s var(--ease);
}

.case-slide:hover .case-slide__content {
    transform: translateY(0);
}

.case-slide__content h4 {
    margin-bottom: 10px;
    font-size: 22px;
}

.case-slide__content h4 a:hover {
    color: var(--accent);
}

.slider-arrows {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.slider-arrow {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    font-size: 18px;
    color: var(--accent);
    background: var(--white);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-arrow:hover {
    color: var(--white);
    background: var(--accent);
}


/* ==========================================================================
   15. Testimonial slider (reference: tes4)
   ========================================================================== */

.tes-slider {
    overflow: hidden;
}

.tes-slider__track {
    display: flex;
    gap: 30px;
    padding: 10px 0 30px;
    transition: transform 0.8s var(--ease);
}

.tes-box {
    display: flex;
    flex: 0 0 calc((100% - 30px) / 2);
    align-items: center;
    gap: 28px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tes-box__avatar {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 170px;
    height: 200px;
    font-size: 56px;
    font-weight: 600;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 15%, rgba(247, 148, 29, 0.55), transparent 50%),
        linear-gradient(160deg, var(--blue), var(--blue-dark));
    border-radius: var(--radius);
}

.tes-box__quote {
    display: block;
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1;
    color: var(--title);
}

.tes-box h5 {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.tes-box__stars {
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--accent-2);
}

.tes-box__name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--title);
}

.tes-box__role {
    font-size: 14px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: #c9ccd2;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-dots button.is-active {
    background: var(--title);
    box-shadow: 0 0 0 4px rgba(9, 11, 14, 0.12);
}


/* ==========================================================================
   16. RSS live feed (reference: blog4 big post + small posts)
   ========================================================================== */

.rss-lead {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.rss-lead__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    padding: 34px;
    color: var(--white-80);
    background:
        radial-gradient(circle at 85% 15%, rgba(242, 103, 34, 0.5), transparent 45%),
        linear-gradient(150deg, rgba(11, 58, 140, 0.88), rgba(7, 12, 28, 0.94)),
        url("../images/banner-bg.jpg") center / cover no-repeat;
    border-radius: var(--radius);
    overflow: hidden;
}

.rss-lead__visual::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 240px;
    height: 240px;
    border: 36px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.rss-lead__thumb {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 4px solid var(--white-10);
    border-radius: var(--radius);
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--white-10);
    border-radius: var(--radius-pill);
}

.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #ff4b4b;
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}

.rss-lead__source {
    position: relative;
    z-index: 1;
    font-size: 15px;
}

.rss-lead__source a {
    color: var(--accent-2);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--title);
}

.post-meta i {
    margin-right: 6px;
    color: var(--accent);
}

.rss-lead h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
}

.rss-lead h3 a:hover,
.rss-card h5 a:hover {
    color: var(--accent);
}

.rss-card {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    padding: 18px;
    background: var(--white);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rss-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.rss-card img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.rss-card time {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--muted);
}

.rss-card h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}


/* ==========================================================================
   17. Blog
   ========================================================================== */

.blog-big {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.blog-big__image {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
}

.blog-big__image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.blog-big:hover .blog-big__image img {
    transform: scale(1.06);
}

.blog-big h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 38px;
}

.blog-big h3 a:hover {
    color: var(--accent);
}

.blog-small {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-small:hover {
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.blog-small img {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius);
}

.blog-small h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
}

.blog-small h5 a:hover {
    color: var(--accent);
}

.blog-small .post-meta {
    margin-bottom: 8px;
    font-size: 14px;
}

.blog-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.blog-card__image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    background: var(--accent);
    border-radius: var(--radius-pill);
}

.blog-card__body {
    padding: 26px;
}

.blog-card h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.blog-card h4 a:hover {
    color: var(--accent);
}


/* ==========================================================================
   18. Contact form block (reference: contact4)
   ========================================================================== */

.form-area {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.form-area .full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--title);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 16px 20px;
    color: var(--title);
    background: var(--grey);
    border: 1px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: var(--white);
    border-color: var(--accent);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-note {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    font-weight: 500;
    color: #12733f;
    background: #e5f6ec;
    border-radius: var(--radius);
}

.form-note.is-visible {
    display: block;
}

.contact-image {
    position: relative;
}

.contact-image > img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: var(--radius);
}

.contact-image--small > img {
    height: 300px;
}

.contact-image__card {
    position: absolute;
    top: 30px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-image__card img {
    width: 56px;
}

.contact-image__card strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--title);
}

.info-box {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.info-box:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
}

.info-box .service-box__icon {
    margin: 0;
}

.info-box h4 {
    margin-bottom: 6px;
    font-size: 22px;
}

.info-box p {
    margin: 0;
}

.info-box a {
    color: var(--accent);
}


/* ==========================================================================
   19. CTA and footer (reference: cta4 overlapping vl-footer-area4)
   ========================================================================== */

.cta {
    position: relative;
    z-index: 2;
    margin-bottom: -150px;
}

/* When the section above the CTA is grey, extend that grey behind the CTA */
.cta--on-grey {
    background: linear-gradient(180deg, var(--grey) 40%, transparent 40%);
}

.cta__inner {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.cta__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--radius);
}

.cta__box {
    position: relative;
    padding: 46px 50px;
    background: var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
}

.cta__box::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border: 40px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta__box h2 {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-bottom: 24px;
    font-size: 44px;
    font-weight: 600;
    line-height: 52px;
    color: var(--white);
}

.cta__box .btn {
    z-index: 1;
}

.footer {
    position: relative;
    padding-top: 230px;
    color: var(--white-80);
    background:
        radial-gradient(ellipse at 80% 20%, rgba(21, 101, 216, 0.35), transparent 55%),
        linear-gradient(180deg, #0a1128, var(--dark));
}

.footer--plain {
    padding-top: 90px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer__logo img {
    width: 200px;
    margin-bottom: 22px;
}

.footer__about p {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}

.footer h4 {
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--white);
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    display: inline-block;
    transition: all 0.4s ease;
}

.footer__links a:hover {
    padding-left: 6px;
    color: var(--accent-2);
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer__social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--title);
    background: var(--white);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.footer__social a:hover {
    color: var(--white);
    background: var(--accent);
    transform: translateY(-4px);
}

.footer__contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__contact i {
    margin-top: 5px;
    color: var(--accent-2);
}

.footer__contact a:hover {
    color: var(--accent-2);
}

.footer__bottom {
    border-top: 1px solid var(--white-10);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 14px;
}

.footer__legal a:hover {
    color: var(--accent-2);
}

.footer__legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* Back to top with scroll progress ring (reference: progress-wrap) */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 800;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: var(--title);
    background: var(--white);
    border: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(9, 11, 14, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s linear;
}

.progress-wrap.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.progress-wrap path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
}


/* ==========================================================================
   20. Sidebar, widgets, pagination
   ========================================================================== */

.layout-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
    gap: 40px;
}

.sidebar {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 30px;
}

.widget {
    padding: 30px;
    background: var(--grey);
    border-radius: var(--radius);
}

.widget h4 {
    margin-bottom: 22px;
    font-size: 24px;
}

.widget-search {
    display: flex;
    gap: 8px;
}

.widget-search input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    outline: none;
}

.widget-search input:focus {
    border-color: var(--accent);
}

.widget-search button {
    flex-shrink: 0;
    width: 52px;
    color: var(--white);
    background: var(--accent);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.widget-list li + li {
    margin-top: 10px;
}

.widget-list a {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    font-weight: 500;
    color: var(--title);
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.widget-list a:hover {
    color: var(--white);
    background: var(--accent);
}

.widget-post {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.widget-post:last-child {
    margin-bottom: 0;
}

.widget-post img {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    object-fit: cover;
    border-radius: var(--radius);
}

.widget-post h5 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.widget-post h5 a:hover {
    color: var(--accent);
}

.widget-post time {
    font-size: 14px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 16px;
    font-size: 15px;
    color: var(--title);
    background: var(--white);
    border-radius: var(--radius-pill);
    transition: all 0.4s ease;
}

.tag-cloud a:hover {
    color: var(--white);
    background: var(--accent);
}

.widget--cta {
    color: var(--white-80);
    text-align: center;
    background:
        radial-gradient(circle at 85% 10%, rgba(242, 103, 34, 0.5), transparent 50%),
        linear-gradient(160deg, var(--blue-dark), var(--dark));
}

.widget--cta h4 {
    color: var(--white);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    font-size: 18px;
    font-weight: 500;
    color: var(--title);
    background: var(--grey);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.pagination a:hover,
.pagination a.is-active {
    color: var(--white);
    background: var(--accent);
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    padding: 16px 22px;
    font-size: 17px;
    color: var(--title);
    background: var(--grey);
    border-radius: var(--radius);
}

.toolbar select {
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}


/* ==========================================================================
   21. Directory pages (categories, listings, search)
   ========================================================================== */

.category-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--title);
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.4s ease;
}

.category-box i {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.category-box:hover {
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.category-box:hover i {
    color: var(--white);
    background: var(--accent);
    transform: rotateY(180deg);
}

.listing-row {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    margin-bottom: 26px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.listing-row:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.listing-row__logo {
    display: grid;
    place-items: center;
    min-height: 170px;
    padding: 20px;
    background: var(--grey);
    border-radius: var(--radius);
    overflow: hidden;
}

.listing-row__logo img {
    max-height: 130px;
    object-fit: contain;
}

.listing-row h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
}

.listing-row h3 a:hover {
    color: var(--accent);
}

.search-panel {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.2fr auto;
    gap: 14px;
    margin-bottom: 50px;
    padding: 20px;
    background: var(--grey);
    border-radius: var(--radius);
}

.search-panel input,
.search-panel select {
    width: 100%;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    outline: none;
}

.search-panel input:focus,
.search-panel select:focus {
    border-color: var(--accent);
}

.search-count {
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 500;
    color: var(--title);
}

.search-empty {
    display: none;
    padding: 60px 30px;
    text-align: center;
    background: var(--grey);
    border-radius: var(--radius);
}

.search-empty.is-visible {
    display: block;
}


/* ==========================================================================
   22. Single listing
   ========================================================================== */

.listing-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    margin-top: -90px;
    padding: 34px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.listing-head__logo {
    display: grid;
    place-items: center;
    height: 190px;
    padding: 16px;
    background: var(--grey);
    border-radius: var(--radius);
}

.listing-head__logo img {
    max-height: 160px;
    object-fit: contain;
}

.listing-head h2 {
    font-size: 36px;
    line-height: 44px;
}

.listing-head__rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.listing-head__info i {
    margin-right: 6px;
    color: var(--accent);
}

.stars {
    color: var(--accent-2);
}

.claimed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #12733f;
    background: #e5f6ec;
    border-radius: var(--radius-pill);
}

.listing-head__actions {
    display: grid;
    gap: 10px;
}

.listing-head__actions .btn {
    justify-content: center;
}

.listing-block {
    margin-bottom: 30px;
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.listing-block h3 {
    font-size: 30px;
    line-height: 38px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.detail-item {
    padding: 20px 22px;
    background: var(--grey);
    border-radius: var(--radius);
}

.detail-item small {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--muted);
    text-transform: uppercase;
}

.detail-item strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--title);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.highlight {
    padding: 26px 16px;
    text-align: center;
    background: var(--grey);
    border-radius: var(--radius);
    transition: transform 0.4s ease;
}

.highlight:hover {
    transform: translateY(-8px);
}

.highlight .service-box__icon {
    margin: 0 auto 14px;
}

.highlight h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fact {
    padding: 26px 16px;
    text-align: center;
    background: var(--dark);
    border-radius: var(--radius);
}

.fact strong {
    display: block;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--accent-2);
}

.fact small {
    font-size: 15px;
    color: var(--white-80);
}

.trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 18px;
}

.premium-badge {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    text-align: center;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--accent-soft);
}

.premium-badge i {
    display: block;
    margin-bottom: 4px;
    font-size: 22px;
}

.service-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-pill {
    padding: 22px;
    border: 1px dashed var(--accent);
    border-radius: var(--radius);
}

.service-pill small {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.service-pill strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--title);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.gallery a {
    position: relative;
    display: block;
    height: 170px;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery a::after {
    content: "\f00e";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: "Font Awesome 6 Free";
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    background: rgba(7, 12, 28, 0.55);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery a:hover img {
    transform: scale(1.1);
}

.gallery a:hover::after {
    opacity: 1;
}

.video-poster {
    position: relative;
    display: block;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 12, 28, 0.45);
}

.video-poster__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    font-size: 24px;
    color: var(--white);
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 2s ease-out infinite;
}

.review-summary {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    margin-bottom: 30px;
}

.review-score {
    padding: 28px;
    text-align: center;
    background: var(--grey);
    border-radius: var(--radius);
}

.review-score strong {
    display: block;
    font-size: 56px;
    font-weight: 600;
    line-height: 1;
    color: var(--title);
}

.review-bar {
    display: grid;
    grid-template-columns: 60px 1fr 46px;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    font-size: 15px;
}

.review-bar__track {
    height: 8px;
    background: var(--grey);
    border-radius: 8px;
    overflow: hidden;
}

.review-bar__fill {
    width: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 8px;
    transition: width 1.4s var(--ease);
}

.map-frame {
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table th,
.hours-table td {
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px dashed #d6d9de;
}

.hours-table th {
    font-weight: 400;
}

.hours-table td {
    font-weight: 600;
    color: var(--title);
    text-align: right;
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
    color: var(--accent);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e1e3e7;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list .service-box__icon {
    width: 46px;
    height: 46px;
    margin: 0;
    font-size: 17px;
}

.contact-list small {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.contact-list strong,
.contact-list a {
    font-weight: 600;
    color: var(--title);
}

.contact-list a:hover {
    color: var(--accent);
}

.share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--title);
    background: var(--white);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.share a:hover {
    color: var(--white);
    background: var(--accent);
}


/* ==========================================================================
   23. Blog single, sitemap, legal, 404
   ========================================================================== */

.post__image {
    width: 100%;
    height: 460px;
    margin-bottom: 30px;
    object-fit: cover;
    border-radius: var(--radius);
}

.post h2 {
    margin-top: 34px;
    font-size: 32px;
    line-height: 40px;
}

.post p {
    font-size: 18px;
    line-height: 28px;
}

.post blockquote {
    position: relative;
    margin: 34px 0;
    padding: 34px 36px 34px 100px;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: var(--title);
    background: var(--grey);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
}

.post blockquote::before {
    content: "\f10d";
    position: absolute;
    top: 32px;
    left: 34px;
    font-family: "Font Awesome 6 Free";
    font-size: 36px;
    font-weight: 900;
    color: var(--accent);
}

.post__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.post__footer .tag-cloud a,
.post__footer .share a {
    background: var(--grey);
}

.author-box {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 40px 0;
    padding: 30px;
    background: var(--grey);
    border-radius: var(--radius);
}

.author-box img {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    padding: 14px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
}

.sitemap-box {
    height: 100%;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
}

.sitemap-box--wide {
    margin-top: 30px;
}

.sitemap-box h3 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
}

.sitemap-box h3 .service-box__icon {
    width: 50px;
    height: 50px;
    margin: 0;
    font-size: 20px;
}

.sitemap-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.sitemap-list a {
    display: inline-flex;
    gap: 10px;
}

.sitemap-list a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
}

.sitemap-list a:hover {
    color: var(--accent);
}

.sitemap-list--cols {
    columns: 4;
    column-gap: 24px;
}

.legal {
    max-width: 920px;
    margin: 0 auto;
}

.legal h2 {
    margin-top: 40px;
    font-size: 28px;
}

.legal p,
.legal li {
    font-size: 18px;
    line-height: 28px;
}

.legal ul {
    margin-bottom: 18px;
    padding-left: 22px;
    list-style: disc;
}

.legal li {
    margin-bottom: 8px;
}

.legal a {
    color: var(--accent);
}

.legal__updated {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: var(--radius-pill);
}

.error-page {
    position: relative;
    padding: 220px 0 140px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(21, 101, 216, 0.45), transparent 60%),
        linear-gradient(180deg, rgba(7, 12, 28, 0.88), rgba(7, 12, 28, 0.97)),
        url("../images/banner-bg.jpg") center / cover no-repeat;
    overflow: hidden;
}

.error-page__code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 26px;
    font-size: 200px;
    font-weight: 600;
    line-height: 1;
    color: var(--white);
}

.error-page__globe {
    display: grid;
    place-items: center;
    width: 190px;
    height: 190px;
    background: var(--white);
    border: 2px dashed var(--accent);
    box-shadow: 0 0 0 10px var(--white-10);
    border-radius: 50%;
}

.error-page__globe img {
    width: 140px;
    animation: rotate 12s linear infinite;
}

.error-page h1 {
    font-size: 44px;
    line-height: 52px;
    color: var(--white);
}

.error-page p {
    max-width: 580px;
    margin: 0 auto 10px;
    font-size: 18px;
    color: var(--white-80);
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}


/* ==========================================================================
   24. Scroll animations (AOS-style + split heading "text-anime-style-3")
   ========================================================================== */

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: var(--aos-duration, 1000ms);
    transition-timing-function: ease;
    transition-delay: var(--aos-delay, 0ms);
}

[data-aos="fade-up"] {
    transform: translate3d(0, 100px, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(100px, 0, 0);
}

[data-aos="fade-right"] {
    transform: translate3d(-100px, 0, 0);
}

[data-aos="zoom-in-up"] {
    transform: translate3d(0, 100px, 0) scale(0.6);
}

[data-aos="zoom-in-left"] {
    transform: translate3d(100px, 0, 0) scale(0.6);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Hero image tilt is applied once the fade-up finishes */
.hero-images .image1.aos-animate {
    transform: rotate(-4deg);
}

.hero-images .image2.aos-animate {
    transform: rotate(3deg);
}

.hero-images .image4.aos-animate {
    transform: scale(1.1) rotate(-3deg);
}

.hero-images .image5.aos-animate {
    transform: rotate(4deg);
}

.text-anime .word {
    display: inline-block;
    white-space: nowrap;
}

.text-anime .char {
    display: inline-block;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.9s var(--ease);
}

.text-anime.is-animated .char {
    opacity: 1;
    transform: translateX(0);
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes progress {
    to {
        width: 100%;
    }
}

@keyframes typing {
    0% {
        width: 0;
    }

    60%,
    100% {
        width: 100%;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(242, 103, 34, 0.6);
    }

    100% {
        box-shadow: 0 0 0 26px rgba(242, 103, 34, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-aos],
    .text-anime .char {
        opacity: 1;
        transform: none;
    }
}


/* ==========================================================================
   25. Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .nav__link {
        padding: 18px 9px;
        font-size: 16px;
    }

    .header__logo img {
        width: 150px;
    }

    .grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .layout-sidebar {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .hero-images img {
        height: 190px;
    }
}

@media (max-width: 991px) {
    .nav,
    .header__actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header__bar {
        padding: 12px 22px;
    }

    .sp {
        padding: 80px 0;
    }

    .row-2,
    .layout-sidebar,
    .rss-lead,
    .blog-big,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .about-content {
        padding-left: 0;
    }

    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .heading--split {
        flex-direction: column;
        align-items: flex-start;
    }

    .heading h2,
    .title,
    .cta__box h2 {
        font-size: 36px;
        line-height: 44px;
    }

    .hero h1,
    .page-banner h1 {
        font-size: 44px;
        line-height: 52px;
    }

    .hero-images {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-images .image4,
    .hero-images .image5,
    .cta__image {
        display: none;
    }

    .case-slide {
        flex-basis: calc((100% - 30px) / 2);
    }

    .service-grid > *,
    .service-grid > :nth-child(5n + 4),
    .service-grid > :nth-child(5n + 5) {
        grid-column: span 3;
    }

    .about-images {
        margin: 0 auto;
    }

    .tes-box {
        flex-basis: 100%;
    }


    .listing-head {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .listing-head__actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-grid,
    .fact-grid,
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-panel {
        grid-template-columns: 1fr 1fr;
    }

    .sitemap-list--cols {
        columns: 2;
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 160px;
    }

    .hero h1,
    .page-banner h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .heading h2,
    .title,
    .cta__box h2,
    .error-page h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hero-images .image3 {
        display: none;
    }

    .hero-images img {
        height: 170px;
    }

    .page-banner {
        padding: 170px 0 80px;
    }

    .page-banner--listing {
        padding-bottom: 130px;
    }

    .grid--2,
    .grid--3,
    .grid--4,
    .footer__grid,
    .form-area,
    .detail-grid,
    .service-pills,
    .search-panel,
    .check-list,
    .trust-row,
    .review-summary,
    .listing-row,
    .listing-head {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 420px;
    }

    .about-images .image1 {
        height: 340px;
    }

    .about-images .image2 {
        height: 290px;
    }

    .choose-image img {
        height: 420px;
    }


    .case-slide {
        flex-basis: 100%;
    }

    .service-grid > *,
    .service-grid > :nth-child(5n + 4),
    .service-grid > :nth-child(5n + 5) {
        grid-column: 1 / -1;
    }

    .stack-slider__stage {
        max-width: 78%;
    }

    .stack-slide__image {
        height: 400px;
    }

    .stack-slider__arrow {
        top: 220px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .tes-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .tes-box__avatar {
        width: 100%;
        height: 140px;
    }

    .contact-image > img {
        height: 420px;
    }

    .contact-image__card {
        right: 10px;
    }

    .cta__box {
        padding: 34px 26px;
    }

    .listing-block {
        padding: 26px 20px;
    }

    .listing-head__actions {
        grid-template-columns: 1fr;
    }

    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .error-page__code {
        font-size: 100px;
    }

    .error-page__globe {
        width: 100px;
        height: 100px;
    }

    .error-page__globe img {
        width: 72px;
    }

    .sitemap-list--cols {
        columns: 1;
    }

    .post blockquote {
        padding: 80px 24px 26px;
    }
}
