@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #638675;
    /* Exact sage green from screenshots */
    --primary-hover: #507162;
    --dark-bg: #30373e;
    /* Info bar dark bg */
    --card-bg: #3c424a;
    /* Category card background */
    --text-dark: #202428;
    --text-gray: #717882;
    --border-color: #e5e5e5;
    --bg-light: #f3f5f4;
    /* Light gray for inactive tabs */
    --font-primary: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

#xidmetler {
    scroll-margin-top: 90px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-gray);
    font-size: 16.5px;
    line-height: 1.65;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

body.preloader-active {
    overflow: hidden;
}

/* ==========================================================================
   Site Preloader
   ========================================================================== */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.site-preloader.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(1.02);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo-wrap {
    position: relative;
    padding: 8px;
}

.preloader-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    animation: preloaderPulse 1.6s ease-in-out infinite alternate;
}

.preloader-bar {
    width: 130px;
    height: 2.5px;
    background: rgba(44, 94, 76, 0.1);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 22px;
    position: relative;
}

.preloader-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #47846f 70%, #d49c57 100%);
    border-radius: 99px;
    animation: preloaderTrack 1.3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes preloaderPulse {
    0% {
        transform: scale(0.96);
        opacity: 0.85;
    }

    100% {
        transform: scale(1.02);
        opacity: 1;
    }
}

@keyframes preloaderTrack {
    0% {
        left: -40%;
        width: 30%;
    }

    50% {
        width: 60%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Container */
.container-custom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 50px;
}

@media(max-width: 991px) {
    .container-custom {
        padding: 0 20px;
    }
}

/* Buttons */
.btn-primary-theme {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary-color);
}

.btn-primary-theme:hover {
    background-color: var(--primary-hover);
    color: #fff;
    border-color: var(--primary-hover);
}

.btn-outline-theme {
    background-color: #fff;
    color: var(--text-dark);
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--text-dark);
}

.btn-outline-theme:hover {
    background-color: var(--text-dark);
    color: #fff;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

body.admin-bar .site-header,
html:has(#tg-admin-toolbar) .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header,
    html:has(#tg-admin-toolbar) .site-header {
        top: 46px;
    }
}

.site-header.is-scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    margin-right: 0;
}

.header-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.navbar-brand:hover .header-logo {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .header-logo {
        height: 46px;
    }
}

@media (max-width: 1250px) and (min-width: 992px) {
    .site-header nav {
        gap: 1.1rem !important;
    }

    .site-header .nav-link {
        padding: 6px 10px !important;
        font-size: 14.5px;
    }
}

.site-header .nav-link {
    color: #2b353e;
    font-weight: 500;
    font-size: 15.5px;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    position: relative;
    cursor: pointer;
}

.site-header .nav-link:hover {
    color: var(--primary-color);
}

.site-header .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.site-header .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Category Dropdown Styling */
.site-header .dropdown {
    position: relative;
}

.site-header .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 240px;
    margin-top: 4px;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

/* Invisible hover bridge connecting trigger link to dropdown menu */
.site-header .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}

.site-header .dropdown-item {
    font-size: 15px;
    padding: 10px 20px;
    color: #333d47;
    font-weight: 500;
    transition: all 0.2s ease;
}

.site-header .dropdown-item:hover {
    background-color: rgba(44, 94, 76, 0.08);
    color: var(--primary-color);
    padding-left: 24px;
}

.site-header .theme-lang-menu-item .dropdown-menu {
    min-width: 120px !important;
    padding: 6px 0 !important;
}

.site-header .theme-lang-menu-item .dropdown-item {
    padding: 8px 14px !important;
    font-size: 14.5px !important;
    display: flex;
    align-items: center;
}

.site-header .theme-lang-menu-item .dropdown-item:hover {
    padding-left: 16px !important;
}

@media (min-width: 992px) {

    .site-header .dropdown:hover>.dropdown-menu,
    .site-header .dropdown-menu:hover,
    .site-header .dropdown.is-open>.dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Mobile Offcanvas Drawer Rules */
@media (min-width: 992px) {
    #mobileMenu.offcanvas {
        display: none !important;
        visibility: hidden !important;
    }
}

@media (max-width: 991.98px) {
    #mobileMenu.offcanvas {
        position: fixed;
        bottom: 0;
        z-index: 1045;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        visibility: hidden;
        background-color: #fff;
        background-clip: padding-box;
        outline: 0;
        transition: transform .3s ease-in-out;
    }

    #mobileMenu.offcanvas.show {
        visibility: visible;
        transform: none;
    }

    #mobileMenu.offcanvas-end {
        top: 0;
        right: 0;
        width: 320px;
        border-left: 1px solid rgba(0, 0, 0, .1);
        transform: translateX(100%);
    }

    #mobileMenu.offcanvas-end.show {
        transform: none;
    }
}

/* Mobile Offcanvas Drawer Nav */
.mobile-nav .nav-link {
    color: #2b353e;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(44, 94, 76, 0.06);
    padding-left: 12px !important;
}



/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../images/banner-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.hero-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    max-width: 620px;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-text {
    font-size: 17.5px;
    margin-bottom: 40px;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ==========================================================================
   New Modern Hero Section (Diagonal Split on Desktop, Dark Overlay on Mobile)
   ========================================================================== */
.new-hero-section {
    position: relative;
    width: 100%;
    height: var(--hero-computed-height, calc(100svh - 155px));
    min-height: 460px;
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

/* Right-side image layer — parallax via JS */
.new-hero-bg-image {
    position: absolute;
    top: -50%;
    right: 0;
    width: 60%;
    height: 200%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
    animation: heroBgFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroBgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Diagonal divider SVG layer */
.new-hero-diagonal-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    animation: heroSvgFade 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.new-hero-chevron {
    animation: chevronFloat 4s ease-in-out infinite alternate;
}

@keyframes chevronFloat {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-3px, -2px);
    }
}

/* Dot grid decoration in bottom-left */
.new-hero-dots {
    position: absolute;
    bottom: 24px;
    left: 36px;
    z-index: 3;
    pointer-events: none;
    color: var(--primary-color);
    animation: heroDotsIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.new-hero-dots-svg {
    display: block;
}

/* Content Container */
.new-hero-container {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Left content container */
.new-hero-content {
    max-width: 540px;
}

.new-hero-badge {
    display: inline-block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    animation: heroSlideLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.new-hero-title {
    font-size: clamp(28px, 2.7vw, 44px);
    line-height: 1.18;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    animation: heroSlideLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.new-hero-text {
    font-size: clamp(14px, 1.02vw, 16px);
    line-height: 1.6;
    color: #475569;
    margin-bottom: 26px;
    max-width: 480px;
    animation: heroSlideLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.new-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: heroSlideLeft 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.new-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 6px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(99, 134, 117, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.new-hero-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(99, 134, 117, 0.45);
    color: #ffffff !important;
}

.new-hero-btn svg {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.new-hero-btn:hover svg {
    transform: translateX(5px);
}

/* Animations for seamless entry: Left to right for text, right to left for image */
@keyframes heroSlideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSlideRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSvgFade {
    from {
        opacity: 0;
        transform: scaleX(0.98);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes heroDotsIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Version (Matching Image 2: Full Image Background with Dark Overlay) */
@media (max-width: 991px) {
    .new-hero-section {
        min-height: 520px;
        padding: 70px 0;
        background-color: #0f172a;
        background-image: none !important;
        position: relative;
        overflow: hidden;
    }

    .new-hero-bg-image {
        display: block !important;
        position: absolute;
        top: -50%;
        left: 0;
        right: 0;
        width: 100%;
        height: 200%;
        background-image: linear-gradient(rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.82)), var(--hero-bg-url) !important;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 1;
        will-change: transform;
        pointer-events: none;
    }

    .new-hero-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .new-hero-content {
        max-width: 100%;
    }

    .new-hero-badge {
        color: #a3c9b8;
        font-size: 12.5px;
        letter-spacing: 2px;
        margin-bottom: 14px;
    }

    .new-hero-title {
        color: #ffffff;
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .new-hero-text {
        color: rgba(255, 255, 255, 0.88);
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .new-hero-btn {
        padding: 13px 28px;
        font-size: 13.5px;
    }
}

@media (max-width: 576px) {
    .new-hero-section {
        min-height: 480px;
        padding: 50px 0;
    }

    .new-hero-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .new-hero-text {
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .new-hero-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Info Bar */
.info-bar {
    background-color: var(--dark-bg);
    padding: 16px 0;
}

.info-bar .container-custom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e4e6e8;
    font-size: 16px;
    font-weight: 600;
}

.info-item:nth-child(1) {
    justify-self: start;
}

.info-item:nth-child(2) {
    justify-self: center;
}

.info-item:nth-child(3) {
    justify-self: end;
}

@media (max-width: 850px) {
    .info-bar .container-custom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .info-item:nth-child(1),
    .info-item:nth-child(2),
    .info-item:nth-child(3) {
        justify-self: auto;
    }
}

.info-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-wrapper img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.info-icon-wrapper svg {
    stroke: var(--primary-color);
    stroke-width: 1.5;
    width: 22px;
    height: 22px;
}

/* Section Titles */
.section-title {
    font-size: 35px;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

/* Nə təklif edirik - Scroll Stacking Layout (Logiver Style) */
.offer-section {
    padding: 90px 0;
    position: relative;
}

.offer-section .section-title {
    font-size: 38px;
    margin-bottom: 10px;
    color: #2b2b2b;
}

.offer-section .section-subtitle {
    font-size: 17px;
    color: #7b838a;
    margin-bottom: 50px;
}

.offer-wrapper {
    display: flex;
    gap: 36px;
    align-items: flex-start;
    position: relative;
}

:root {
    --offer-sticky-top: 115px;
    --offer-card-step: 28px;
}

body.admin-bar,
html:has(#tg-admin-toolbar) body {
    --offer-sticky-top: 148px;
}

.offer-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 310px;
    flex-shrink: 0;
    position: sticky;
    top: var(--offer-sticky-top);
    z-index: 10;
}

.offer-tab-btn {
    width: 100%;
    min-height: 62px;
    padding: 14px 22px;
    border: 1.5px solid #dce2df;
    background: #f4f6f5;
    color: #3b434a;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.offer-tab-btn:hover {
    background: #e6ede9;
    color: var(--primary-color);
    border-color: #cbd8d1;
    transform: translateX(3px);
}

.offer-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(44, 94, 76, 0.28);
    transform: translateX(6px);
}

.offer-stack-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-bottom: 100px;
}

.offer-card-item {
    border: 1px solid #e0e5e3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: none !important;
    position: sticky;
    padding: 0;
    will-change: auto;
}

.offer-card-item:nth-child(1) {
    top: var(--offer-sticky-top);
    z-index: 1;
}

.offer-card-item:nth-child(2) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step));
    z-index: 2;
}

.offer-card-item:nth-child(3) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 2);
    z-index: 3;
}

.offer-card-item:nth-child(4) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 3);
    z-index: 4;
}

.offer-card-item:nth-child(5) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 4);
    z-index: 5;
}

.offer-card-item:nth-child(6) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 5);
    z-index: 6;
}

.offer-card-item:nth-child(7) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 6);
    z-index: 7;
}

.offer-card-item:nth-child(8) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 7);
    z-index: 8;
}

.offer-card-item:nth-child(9) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 8);
    z-index: 9;
}

.offer-card-item:nth-child(10) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 9);
    z-index: 10;
}

.offer-card-item:nth-child(11) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 10);
    z-index: 11;
}

.offer-card-item:nth-child(12) {
    top: calc(var(--offer-sticky-top) + var(--offer-card-step) * 11);
    z-index: 12;
}

/* Underlying cards remain visible in stack */
.offer-card-item.is-hidden-by-last {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.offer-card-item.is-last-active {
    box-shadow: none !important;
}

/* Responsive adjustments for laptop screens (viewport height <= 880px) */
@media (min-width: 992px) and (max-height: 880px) {
    :root {
        --offer-sticky-top: 105px;
        --offer-card-step: 24px;
    }
    body.admin-bar,
    html:has(#tg-admin-toolbar) body {
        --offer-sticky-top: 137px;
    }
    .offer-section {
        padding: 55px 0;
    }
    .offer-tabs {
        width: 290px;
        gap: 10px;
    }
    .offer-tab-btn {
        min-height: 54px;
        padding: 11px 18px;
        font-size: 15px;
        border-radius: 10px;
    }

    .offer-image {
        height: 300px;
    }
    .offer-text-box {
        padding: 20px 24px 24px 24px;
    }
    .offer-content-text {
        font-size: 14px;
        line-height: 1.55;
    }
}

/* Extra compact for shorter laptop screens (e.g. 13" MacBook with browser toolbars, height <= 720px) */
@media (min-width: 992px) and (max-height: 720px) {
    :root {
        --offer-sticky-top: 95px;
        --offer-card-step: 20px;
    }
    body.admin-bar,
    html:has(#tg-admin-toolbar) body {
        --offer-sticky-top: 127px;
    }
    .offer-section {
        padding: 35px 0;
    }
    .offer-tabs {
        width: 270px;
        gap: 8px;
    }
    .offer-tab-btn {
        min-height: 48px;
        padding: 9px 16px;
        font-size: 14px;
        border-radius: 9px;
    }

    .offer-image {
        height: 250px;
    }
    .offer-text-box {
        padding: 16px 20px 20px 20px;
    }
    .offer-content-text {
        font-size: 13.5px;
        line-height: 1.5;
    }
}

.offer-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    display: block;
    background: #f5f5f5;
}

.offer-text-box {
    padding: 24px 28px 28px 28px;
    background: #fff;
    border-radius: 0 0 14px 14px;
}

.offer-content-title {
    display: none !important;
}

.offer-content-text {
    font-size: 15px;
    color: #636b75;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Kateqoriyalarımız */
.categories-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
}

.categories-section .section-title {
    color: #fff;
}

.categories-section .section-subtitle {
    color: #a0aab5;
    margin-bottom: 50px;
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.categories-swiper {
    width: 100%;
    padding: 10px 4px 30px 4px;
    overflow: hidden;
    touch-action: pan-y !important;
}
.categories-swiper .swiper-wrapper {
    touch-action: pan-y !important;
}

.categories-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.categories-swiper .swiper-slide .cat-card {
    width: 100%;
    height: 100%;
}

.cat-nav-controls {
    align-items: center;
}

.cat-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #252e37;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cat-carousel-btn:hover {
    background: var(--primary-color, #2c5e4c);
    border-color: var(--primary-color, #2c5e4c);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 94, 76, 0.4);
}

.cat-carousel-btn:active {
    transform: translateY(0);
}

.cat-swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.cat-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin: 0 !important;
}

.cat-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color, #2c5e4c);
    width: 28px;
}

.cat-card {
    background: #252e37;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(44, 94, 76, 0.6);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.cat-card img {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    border-radius: 6px;
    display: block;
}

.cat-card img[src*="it-notbuk"] {
    object-position: center 58%;
}

.cat-card h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cat-card p {
    color: #8f9ca8;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.cat-card-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.cat-card:hover .cat-card-link {
    color: #8bb5a1;
    transform: translateX(3px);
}

/* Qlobal Təchizat */
.global-section {
    padding: 80px 0;
    position: relative;
}


.global-section .container-custom {
    position: relative;
    z-index: 1;
}

.process-top {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 60px 0;
}

.process-top::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    border-top: 2px dashed #e0e0e0;
    z-index: 1;
}

.process-icon-box {
    position: relative;
    z-index: 2;
    text-align: center;
    background: transparent;
    padding: 0 20px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-icon-box:hover {
    transform: translateY(-8px);
}

.process-icon {
    width: 82px;
    height: 82px;
    background: #fff4d2;
    /* Light yellow background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        background-color 0.3s ease;
}

/* Rotating accent ring on hover */
.process-icon::after {
    content: '';
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px dashed rgba(99, 134, 117, 0.5);
    opacity: 0;
    transform: scale(0.85) rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1),
        opacity 0.4s ease,
        border-color 0.4s ease;
    pointer-events: none;
}

.process-icon-box:hover .process-icon {
    transform: scale(1.1);
    background-color: #ffebad;
    animation: processPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.process-icon-box:hover .process-icon::after {
    opacity: 1;
    transform: scale(1.1) rotate(180deg);
    border-color: var(--primary-color);
}

.process-icon img,
.process-icon svg {
    width: 42px;
    height: 42px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.process-icon-box:hover .process-icon img,
.process-icon-box:hover .process-icon svg {
    transform: scale(1.18) rotate(-5deg);
}

.process-icon-box p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    font-size: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.process-icon-box:hover p {
    color: var(--primary-color);
    transform: translateY(-2px);
}

@keyframes processPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 134, 117, 0.4), 0 10px 24px rgba(230, 180, 50, 0.25);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(99, 134, 117, 0), 0 16px 32px rgba(44, 94, 76, 0.22);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 134, 117, 0), 0 10px 24px rgba(230, 180, 50, 0.25);
    }
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    min-height: 195px;
    margin-bottom: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.step-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.45s ease,
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.35, 1),
        transform 0.6s cubic-bezier(0.25, 1, 0.35, 1),
        background-color 0.4s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.step-item:hover,
.step-item.is-active,
.step-item:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 14px 30px rgba(44, 94, 76, 0.12);
    transform: translateY(-4px);
    background: #ffffff;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.step-item h6 {
    font-size: 14.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text-dark);
    transition: color 0.4s cubic-bezier(0.25, 1, 0.35, 1);
}

.step-item:hover h6,
.step-item.is-active h6,
.step-item:focus-within h6 {
    color: var(--primary-color);
}

.step-num {
    background: #1e252b;
    color: #fff;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 700;
    transition: background-color 0.45s ease, transform 0.5s cubic-bezier(0.25, 1, 0.35, 1);
}

.step-item:hover .step-num,
.step-item.is-active .step-num,
.step-item:focus-within .step-num {
    background: var(--primary-color);
    transform: scale(1.08);
}

.step-icon-right {
    color: #8c9ba5;
    flex-shrink: 0;
    transition: color 0.45s ease, transform 0.5s cubic-bezier(0.25, 1, 0.35, 1);
}

.step-item:hover .step-icon-right,
.step-item.is-active .step-icon-right,
.step-item:focus-within .step-icon-right {
    color: var(--primary-color);
    transform: scale(1.14);
}

/* Ultra-soft, gentle GPU-accelerated height transition on hover */
.step-desc {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.65s cubic-bezier(0.25, 1, 0.35, 1);
}

.step-desc-inner {
    overflow: hidden;
}

.step-item:hover .step-desc,
.step-item.is-active .step-desc,
.step-item:focus-within .step-desc {
    grid-template-rows: 1fr;
}

.step-desc p,
.step-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding-top: 12px;
    opacity: 0;
    transform: translateY(8px);
    filter: blur(1.5px);
    transition: opacity 0.45s ease,
        transform 0.55s cubic-bezier(0.25, 1, 0.35, 1),
        filter 0.45s ease;
}

.step-item:hover .step-desc p,
.step-item.is-active .step-desc p,
.step-item:focus-within .step-desc p,
.step-item:hover p,
.step-item.is-active p,
.step-item:focus-within p {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
    transition: opacity 0.55s cubic-bezier(0.25, 1, 0.35, 1) 0.06s,
        transform 0.6s cubic-bezier(0.25, 1, 0.35, 1) 0.06s,
        filter 0.5s ease 0.06s;
}


.process-bottom {
    background: #fafafa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    display: flex;
    gap: 40px;
}

.pb-left {
    width: 35%;
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.pb-left-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pb-left-title-icon {
    width: 50px;
    height: 50px;
    background: #fff4d2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.pb-left-title-icon svg {
    width: 24px;
    height: 24px;
}

.pb-left-title h5 {
    margin: 0;
    font-size: 18px;
    color: var(--text-dark);
}

.pb-left p {
    font-size: 13px;
    margin: 0;
}

.pb-right {
    width: 65%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.pb-check-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.pb-check-item svg {
    color: var(--primary-color);
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pb-check-item h6 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.pb-check-item p {
    font-size: 13px;
    margin: 0;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    display: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-info-list {
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff4d2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon-circle svg {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.2s;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.contact-map-box {
    height: 260px;
    border-radius: 8px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-map-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef0ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-box h3 {
    font-size: 24px;
    margin-bottom: 30px;
}

.form-control,
.form-select {
    padding: 14px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-form-box textarea {
    height: 120px;
    resize: none;
}

/* Footer */
.site-footer {
    background: #313842;
    color: #9aa5b1;
    padding: 18px 0;
    font-size: 13.5px;
    line-height: 1.5;
}

.site-footer .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-footer .footer-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-footer .footer-brand {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.site-footer .footer-copy {
    color: #8a96a3;
    font-size: 12.5px;
    font-weight: 400;
}

.site-footer .footer-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-footer .footer-link {
    color: #9aa5b1;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-link:hover {
    color: #ffffff;
}

.site-footer .footer-text {
    color: #9aa5b1;
    font-size: 13px;
}

@media (max-width: 991px) {
    .site-footer {
        padding: 22px 0;
    }

    .site-footer .footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .site-footer .footer-left {
        flex-direction: column;
        gap: 6px;
    }

    .site-footer .footer-brand {
        font-size: 16.5px;
        font-weight: 700;
        color: #ffffff;
    }

    .site-footer .footer-copy {
        font-size: 11.5px;
        color: #808c98;
    }

    .site-footer .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .site-footer .footer-link,
    .site-footer .footer-text {
        font-size: 12px;
        color: #929ea9;
    }
}

/* Arrow Icon Utility */
.icon-arrow-up-right {
    width: 16px;
    height: 16px;
}

/* --- Services / Category Page --- */
.services-page-main {
    background-color: #eef2f0;
    /* Light greenish-gray background from screenshot */
    padding: 30px 0 80px;
    min-height: calc(100vh - 80px);
}

.breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-gray);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #999;
}

.custom-alert-yellow {
    background-color: #fff4d2;
    color: #5c4d16;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-weight: 500;
}

.custom-alert-yellow svg {
    width: 18px;
    height: 18px;
    color: #8c7835;
}

.sidebar-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-link {
    display: block;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-link:hover {
    border-color: #cbd5d0;
}

.sidebar-link.active {
    background-color: #eaf1ed;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-desc-box {
    background-color: #eaf1ed;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 30px;
}

.category-desc-box p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #2c3a33;
    font-weight: 600;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
    font-weight: 700;
}

/* --- Typography Cursor Settings (No I-Beam cursor on texts, standard input cursor) --- */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label,
strong,
em,
b,
i,
.hero-title,
.hero-subtitle,
.hero-text,
.hero-tagline,
.section-title,
.section-subtitle,
.offer-content-title,
.offer-content-text,
.offer-tab-title,
.offer-tab-subtitle,
.info-block-title,
.info-block-text,
.info-block-sub,
.cat-card h4,
.cat-card p,
.product-card h3,
.product-card p,
.category-desc-box,
.category-desc-box *,
.contact-info-item,
.contact-info-item *,
.stat-number,
.stat-label,
.contact-form-box h3 {
    cursor: default;
}

a,
button,
.btn,
.btn-primary-theme,
.btn-outline-theme,
.offer-tab-btn {
    cursor: pointer;
}

input,
textarea {
    cursor: text !important;
}

select {
    cursor: pointer !important;
}

/* --- Evenza Magic Cursor (Only visible over text elements with inversion) --- */
.cb-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    contain: layout style size;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.25s;
}

/* Only activate when hovering over text */
.cb-cursor.-visible.-opaque {
    opacity: 1;
    visibility: visible;
    mix-blend-mode: exclusion;
}

.cb-cursor:before {
    content: "";
    position: absolute;
    top: -13px;
    left: -13px;
    display: block;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transform: scale(0);
    background: #ffffff;
    transition: transform 0.24s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cb-cursor.-visible.-opaque:before {
    background: #ffffff !important;
    transform: scale(1);
}

/* Mouse click / active */
.cb-cursor.-visible.-opaque.-active:before {
    transform: scale(0.85);
}

/* Strictly hide over inputs, buttons, and forms */
.cb-cursor.-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   Blog & Single Blog Page Styles
   ========================================================================== */

.blog-page-header {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px 0 35px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.blog-category-pill {
    padding: 8px 20px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-category-pill:hover,
.blog-category-pill.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(87, 134, 111, 0.25);
}

/* Blog Cards */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.blog-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.blog-card-img-wrap a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.3s ease;
    display: block;
}

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: rgba(49, 56, 66, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: var(--primary-color);
}

.blog-card-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-footer {
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-read-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.blog-card:hover .blog-read-link {
    gap: 10px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.blog-page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.blog-page-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(87, 134, 111, 0.3);
}

.blog-page-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* --- Single Blog Article Styles --- */
.blog-single-header {
    margin-bottom: 28px;
}

.blog-single-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-top: 14px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .blog-single-title {
        font-size: 26px;
    }
}

.blog-single-cover {
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .blog-single-cover {
        height: 260px;
        padding: 12px;
    }
}

.blog-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.blog-article-body p {
    margin-bottom: 20px;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 14px;
}

/* Center all content in blog tables */
.blog-article-body table,
.blog-article-body .table {
    width: 100%;
    margin-bottom: 24px;
}

.blog-article-body table th,
.blog-article-body table td,
.blog-article-body .table th,
.blog-article-body .table td {
    text-align: center !important;
    vertical-align: middle !important;
}

.blog-callout {
    background: #f0fdf4;
    border-left: 4px solid var(--primary-color);
    padding: 22px 26px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #166534;
}

.blog-callout-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-quote-box {
    background: #f8fafc;
    border-left: 3px solid #64748b;
    padding: 20px 24px;
    font-style: normal;
    color: #475569;
    border-radius: 4px;
    margin: 28px 0;
}

.blog-article-body blockquote,
.blog-article-body .custom-note-block {
    font-style: normal !important;
}

.blog-article-body blockquote p,
.blog-article-body .custom-note-block p,
.blog-article-body blockquote .font-italic,
.blog-article-body .custom-note-block .font-italic {
    font-style: normal !important;
    font-size: 15.5px !important;
    line-height: 1.75 !important;
    color: #334155 !important;
}

/* Tags & Share */
.blog-tags-share-box {
    padding: 22px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 36px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.blog-tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.blog-tag-item:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.blog-share-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-share-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Author Box */
.blog-author-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 26px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.blog-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin-bottom: 24px;
}

.blog-widget-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 12px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.blog-widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--primary-color);
}

.blog-recent-item {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    text-decoration: none;
}

.blog-recent-item:last-child {
    margin-bottom: 0;
}

.blog-recent-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: contain;
    background: #f8fafc;
    padding: 6px;
    border: 1px solid #edf2f7;
    flex-shrink: 0;
}

.blog-recent-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.blog-recent-item:hover .blog-recent-content h5 {
    color: var(--primary-color);
}

.blog-recent-date {
    font-size: 12px;
    color: #94a3b8;
}

.blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-cat-list li {
    margin-bottom: 6px;
}

.blog-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #475569;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blog-cat-list a:hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

.blog-cat-count {
    background: #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    padding: 2px 8px;
    border-radius: 12px;
}

.blog-cta-card {
    background: linear-gradient(135deg, #2b3b33 0%, #1e2b25 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
}

.blog-cta-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.blog-cta-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 20px;
    line-height: 1.55;
}

/* ==========================================================================
   About Page & 404 Page Specific Styles
   ========================================================================== */
.about-who-we-are .about-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e252b;
    line-height: 1.3;
}

.about-who-we-are .about-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #64748b;
}

.about-who-we-are .about-feature-text {
    font-size: 14.5px;
    color: #202428;
}

.about-distributor-card {
    background: #f7faf8;
    border: 1px solid #dce6e0;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.distributor-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(44, 94, 76, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
}

.distributor-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.distributor-badge-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.distributor-logo-wrap {
    display: flex;
    align-items: center;
}

.distributor-logo {
    height: 22px;
    max-width: 125px;
    width: auto;
    object-fit: contain;
    display: block;
}

.distributor-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4a5568;
}

.about-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.about-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.mission-vision-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07) !important;
}

.mission-vision-icon {
    width: 76px;
    height: 76px;
    transition: transform 0.3s ease;
}

.mission-vision-card:hover .mission-vision-icon {
    transform: scale(1.06);
}

.mission-vision-icon svg {
    width: 38px;
    height: 38px;
}

.mission-vision-title {
    font-size: 22px;
}

.mission-vision-desc {
    font-size: 15px;
    line-height: 1.6;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    text-align: center;
    padding: 50px 20px;
}

.error-code {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: -3px;
    margin-bottom: 16px;
    text-shadow: 0 4px 24px rgba(99, 134, 117, 0.2);
}

/* ==========================================================================
   Responsive Styles & Media Queries
   ========================================================================== */

/* 1. Large Tablets & Small Desktops (max-width: 1199.98px) */
@media (max-width: 1199.98px) {
    .container-custom {
        padding: 0 32px;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .info-bar .container-custom {
        gap: 40px;
    }

    .contact-grid {
        gap: 48px;
    }

    .hero-box {
        max-width: 520px;
        padding: 48px 40px;
    }

    .hero-title {
        font-size: 38px;
    }
}

/* 2. Tablets in Landscape & Portrait (max-width: 991.98px) */
@media (max-width: 991.98px) {

    /* Layout & Containers */
    .container-custom {
        padding: 0 24px;
    }

    /* Section Spacing */
    .offer-section {
        padding: 60px 0;
    }

    .categories-section,
    .global-section,
    .contact-section {
        padding: 55px 0;
    }

    .services-page-main {
        padding: 24px 0 55px;
    }

    /* Typography */
    .section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .offer-section .section-title {
        font-size: 28px;
    }

    .offer-section .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Header */
    .site-header {
        padding: 10px 0;
    }

    .site-header.is-scrolled {
        padding: 8px 0;
    }

    .header-logo {
        height: 44px;
    }

    /* Hero */
    .hero-section {
        min-height: 500px;
        padding: 40px 0;
    }

    .hero-box {
        max-width: 100%;
        padding: 36px 30px;
        background: rgba(255, 255, 255, 0.96);
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 14px;
    }

    .hero-text {
        font-size: 15px;
        margin-bottom: 26px;
    }

    /* Info Bar */
    .info-bar {
        padding: 20px 0;
    }

    .info-bar .container-custom {
        gap: 20px;
    }

    .info-item {
        font-size: 14px;
    }

    /* "Nə təklif edirik?" Stacking Layout for Tablets */
    :root {
        --offer-tablet-tabs-top: 80px;
        --offer-tablet-card-top: 155px;
        --offer-tablet-card-step: 20px;
    }
    body.admin-bar,
    html:has(#tg-admin-toolbar) body {
        --offer-tablet-tabs-top: 126px;
        --offer-tablet-card-top: 201px;
    }

    .offer-wrapper {
        flex-direction: column;
        gap: 16px;
    }

    .offer-tabs {
        position: sticky;
        top: var(--offer-tablet-tabs-top);
        z-index: 25;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 12px 14px;
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 18px;
    }
    .offer-tabs::-webkit-scrollbar {
        display: none;
    }

    .offer-tab-btn {
        width: auto;
        min-width: max-content;
        height: 48px;
        padding: 10px 22px;
        font-size: 14.5px;
        font-weight: 700;
        border-radius: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .offer-tab-btn.active {
        transform: none;
    }

    .offer-stack-container {
        gap: 36px;
        padding-bottom: 50px;
    }

    .offer-card-item {
        padding: 0;
        box-shadow: none !important;
        border: 1px solid #e0e5e3;
    }

    .offer-card-item:nth-child(1) {
        top: var(--offer-tablet-card-top);
    }

    .offer-card-item:nth-child(2) {
        top: calc(var(--offer-tablet-card-top) + var(--offer-tablet-card-step));
    }

    .offer-card-item:nth-child(3) {
        top: calc(var(--offer-tablet-card-top) + var(--offer-tablet-card-step) * 2);
    }

    .offer-card-item:nth-child(4) {
        top: calc(var(--offer-tablet-card-top) + var(--offer-tablet-card-step) * 3);
    }

    .offer-card-item:nth-child(5) {
        top: calc(var(--offer-tablet-card-top) + var(--offer-tablet-card-step) * 4);
    }

    .offer-card-item:nth-child(6) {
        top: calc(var(--offer-tablet-card-top) + var(--offer-tablet-card-step) * 5);
    }

    .offer-image {
        height: 290px;
        border-radius: 14px 14px 0 0;
    }

    .offer-text-box {
        padding: 22px 24px 26px 24px;
    }

    .offer-content-text {
        font-size: 14.5px;
    }

    /* Categories */
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cat-card img {
        height: auto;
    }

    /* Global Supply Section */
    .process-top {
        margin: 40px 0;
    }

    .process-top::before {
        top: 36px;
    }

    .process-icon {
        width: 72px;
        height: 72px;
    }

    .process-icon img,
    .process-icon svg {
        width: 36px;
        height: 36px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 40px;
    }

    .process-bottom {
        flex-direction: column;
        gap: 24px;
        padding: 28px 24px;
    }

    .pb-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .pb-right {
        width: 100%;
    }

    /* Contact Section */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-box {
        padding: 32px 28px;
    }

    .contact-map-box {
        height: 240px;
        margin-top: 25px;
    }

    /* Category & Services pages */
    .sidebar-box {
        padding: 24px 20px;
        margin-bottom: 24px;
    }

    .category-desc-box {
        padding: 20px 24px;
        margin-bottom: 24px;
    }

    .category-desc-box p {
        font-size: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 28px 20px;
    }

    .product-card img {
        height: 200px;
        margin-bottom: 18px;
    }

    .product-card h3 {
        font-size: 19px;
    }

    /* About page */
    .about-img {
        height: 340px;
    }

    /* Blog page */
    .blog-page-header {
        padding: 38px 0 28px;
    }

    .blog-single-title {
        font-size: 28px;
    }

    .blog-single-cover {
        height: 300px;
        padding: 16px;
        margin-bottom: 24px;
    }

    .blog-cta-card {
        padding: 28px 20px;
    }
}

/* 3. Mobile Landscape & Large Mobile Screens (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .header-right .btn-primary-theme {
        display: none !important;
    }

    .offer-image {
        height: 240px;
    }

    .offer-text-box {
        padding: 20px 20px;
    }

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

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .product-card {
        padding: 22px 16px;
    }

    .product-card img {
        height: 170px;
        margin-bottom: 14px;
    }

    .product-card h3 {
        font-size: 17px;
    }

    .blog-card-img-wrap {
        aspect-ratio: 16 / 9;
        height: auto;
        padding: 0;
    }

    .blog-single-cover {
        height: 230px;
        padding: 12px;
    }

    .blog-tags-share-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .blog-author-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }
}

/* 4. Standard Smartphone Screens (max-width: 575.98px) */
@media (max-width: 575.98px) {

    /* Global & Container */
    .container-custom {
        padding: 0 16px;
    }

    /* Section Spacing */
    .offer-section {
        padding: 42px 0;
    }

    .categories-section,
    .global-section,
    .contact-section {
        padding: 42px 0;
    }

    .services-page-main {
        padding: 18px 0 40px;
    }

    .blog-page-header {
        padding: 26px 0 20px;
    }

    /* Typography */
    .section-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .offer-section .section-title {
        font-size: 22px;
    }

    .offer-section .section-subtitle {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    /* Header */
    .site-header {
        padding: 8px 0;
    }

    .header-logo {
        height: 38px;
    }

    #mobileMenu.offcanvas-end {
        width: 300px;
    }

    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 35px 0 45px;
        background-position: 65% center;
    }

    .hero-box {
        padding: 22px 18px;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    }

    .hero-title {
        font-size: 23px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .hero-text {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .hero-box .d-flex {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-primary-theme,
    .btn-outline-theme {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
    }

    /* Info Bar */
    .info-bar {
        padding: 18px 0;
    }

    .info-bar .container-custom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 16px;
    }

    .info-item {
        width: 100%;
        font-size: 13.5px;
        gap: 12px;
    }

    .info-icon-wrapper {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .info-icon-wrapper img {
        width: 20px;
        height: 20px;
    }

    /* "Nə təklif edirik?" Stacking Layout for Mobile */
    .offer-wrapper {
        margin-top: 15px !important;
    }

    :root {
        --offer-mobile-tabs-top: 70px;
        --offer-mobile-card-top: 138px;
        --offer-mobile-card-step: 16px;
    }
    body.admin-bar,
    html:has(#tg-admin-toolbar) body {
        --offer-mobile-tabs-top: 116px;
        --offer-mobile-card-top: 184px;
    }

    .offer-tabs {
        top: var(--offer-mobile-tabs-top);
        padding: 8px 10px;
        border-radius: 12px;
        gap: 8px;
        margin-bottom: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
    }
    .offer-tabs::-webkit-scrollbar {
        display: none;
    }

    .offer-tab-btn {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        height: 44px;
        padding: 8px 18px;
        font-size: 13.5px;
        font-weight: 600;
        border-radius: 8px;
        white-space: nowrap;
    }

    .offer-stack-container {
        gap: 22px;
        padding-bottom: 30px;
    }

    .offer-card-item {
        border-radius: 12px;
        padding: 0;
        box-shadow: none !important;
        border: 1px solid #e0e5e3;
    }

    .offer-card-item:nth-child(1) {
        top: var(--offer-mobile-card-top);
    }

    .offer-card-item:nth-child(2) {
        top: calc(var(--offer-mobile-card-top) + var(--offer-mobile-card-step));
    }

    .offer-card-item:nth-child(3) {
        top: calc(var(--offer-mobile-card-top) + var(--offer-mobile-card-step) * 2);
    }

    .offer-card-item:nth-child(4) {
        top: calc(var(--offer-mobile-card-top) + var(--offer-mobile-card-step) * 3);
    }

    .offer-card-item:nth-child(5) {
        top: calc(var(--offer-mobile-card-top) + var(--offer-mobile-card-step) * 4);
    }

    .offer-card-item:nth-child(6) {
        top: calc(var(--offer-mobile-card-top) + var(--offer-mobile-card-step) * 5);
    }

    .offer-image {
        height: 210px;
        border-radius: 12px 12px 0 0;
    }

    .offer-text-box {
        padding: 16px 18px 20px 18px;
    }

    .offer-content-text {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Categories Grid */
    .cat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cat-card {
        padding: 14px;
    }

    .cat-card img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .cat-card h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .cat-card p {
        font-size: 12.5px;
        margin-bottom: 10px;
    }

    /* Global Process Section */
    .process-top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        position: relative;
        margin: 28px 0 32px;
        gap: 6px;
    }

    .process-top::before {
        display: block !important;
        content: '';
        position: absolute;
        top: 28px;
        left: 16%;
        right: 16%;
        border-top: 2px dashed #e0e0e0;
        z-index: 1;
    }

    .process-icon-box {
        flex: 1 1 0px;
        min-width: 0;
        padding: 0 4px;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .process-icon {
        width: 56px;
        height: 56px;
        margin: 0 auto 10px;
        position: relative;
        z-index: 2;
    }

    .process-icon img,
    .process-icon svg {
        width: 26px;
        height: 26px;
    }

    .process-icon-box p {
        font-size: 12px;
        line-height: 1.35;
        font-weight: 600;
        color: #202428;
        margin: 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .step-item {
        padding: 12px 14px;
    }

    .step-item h6 {
        font-size: 13.5px;
    }

    .step-num {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 11.5px;
    }

    .step-desc {
        grid-template-rows: 1fr;
    }

    .step-desc p,
    .step-item p {
        opacity: 1;
        transform: none;
        filter: none;
        padding-top: 6px;
        font-size: 12.5px;
        line-height: 1.5;
    }

    .process-bottom {
        padding: 18px 15px;
        gap: 18px;
    }

    .pb-left-title-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .pb-left-title h5 {
        font-size: 16px;
    }

    .pb-left p {
        font-size: 12.5px;
    }

    .pb-check-item h6 {
        font-size: 14px;
    }

    .pb-check-item p {
        font-size: 12.5px;
    }

    /* Contact Section */
    .contact-form-box {
        padding: 20px 16px;
        border-radius: 8px;
    }

    .contact-form-box h3 {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .contact-info-list {
        margin-top: 20px;
    }

    .contact-info-item {
        margin-bottom: 15px;
        gap: 12px;
    }

    .contact-info-icon-circle {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .contact-info-item a,
    .contact-info-item span {
        font-size: 13px;
        line-height: 1.4;
    }

    .contact-map-box {
        height: 180px;
        margin-top: 20px;
        border-radius: 8px;
    }

    .form-control,
    .form-select {
        padding: 11px 13px;
        font-size: 13.5px;
        margin-bottom: 12px;
    }

    .contact-form-box textarea {
        height: 100px;
    }

    /* Category & Services pages */
    .custom-alert-yellow {
        padding: 10px 12px;
        font-size: 12.5px;
        line-height: 1.45;
        gap: 8px;
        margin-bottom: 20px;
    }

    .sidebar-box {
        padding: 18px 15px;
        margin-bottom: 18px;
    }

    .sidebar-title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .sidebar-link {
        padding: 11px 14px;
        font-size: 13px;
    }

    .category-desc-box {
        padding: 16px 14px;
        margin-bottom: 18px;
    }

    .category-desc-box p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-card {
        padding: 20px 15px;
    }

    .product-card img {
        height: 170px;
        margin-bottom: 12px;
    }

    .product-card h3 {
        font-size: 17px;
    }

    /* About page */
    .about-who-we-are .about-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .about-who-we-are .about-desc {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .about-who-we-are .about-feature-text {
        font-size: 13.5px;
    }

    .about-img {
        height: 240px;
        margin-top: 10px;
    }

    .about-card,
    .mission-vision-card {
        padding: 22px 18px !important;
        border-radius: 12px !important;
    }

    .about-card-icon,
    .mission-vision-icon {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 12px !important;
    }

    .about-card-icon svg,
    .mission-vision-icon svg {
        width: 26px !important;
        height: 26px !important;
    }

    .mission-vision-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }

    .mission-vision-desc {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
    }

    .about-mission-vision {
        padding: 24px 0 !important;
    }

    /* Blog & Single Blog */
    .blog-category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px 2px 10px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .blog-category-pills::-webkit-scrollbar {
        display: none;
    }

    .blog-category-pill {
        padding: 6px 14px;
        font-size: 12.5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .blog-card-img-wrap {
        aspect-ratio: 16 / 9;
        height: auto;
        padding: 0;
    }

    .blog-card-img-wrap a {
        padding: 0;
    }

    .blog-card-badge {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 3px 8px;
    }

    .blog-card-body {
        padding: 16px 14px;
    }

    .blog-card-title {
        font-size: 15.5px;
        margin-bottom: 8px;
    }

    .blog-card-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .blog-pagination {
        margin-top: 28px;
        gap: 6px;
    }

    .blog-page-btn {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    /* Blog Single */
    .blog-single-header {
        margin-bottom: 18px;
    }

    .blog-single-title {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 8px;
        margin-bottom: 10px;
    }

    .blog-meta-info {
        font-size: 12px;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .blog-single-cover {
        height: 180px;
        padding: 8px;
        margin-bottom: 18px;
    }

    article.bg-white {
        padding: 18px 14px !important;
    }

    .blog-article-body {
        font-size: 14px;
        line-height: 1.65;
    }

    .blog-article-body h2,
    .blog-article-body h3 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 8px;
    }

    .blog-callout {
        padding: 14px 15px;
        font-size: 14px;
        margin: 18px 0;
    }

    .blog-quote-box {
        padding: 14px 15px;
        font-size: 14px;
        margin: 18px 0;
        font-style: normal;
    }

    .blog-article-body blockquote,
    .blog-article-body .custom-note-block {
        padding: 14px 15px !important;
        margin: 18px 0 !important;
        font-style: normal !important;
    }

    .blog-article-body blockquote p,
    .blog-article-body .custom-note-block p,
    .blog-article-body blockquote .font-italic,
    .blog-article-body .custom-note-block .font-italic {
        font-size: 14px !important;
        line-height: 1.65 !important;
        font-style: normal !important;
        color: #334155 !important;
    }

    .blog-tags-share-box {
        padding: 14px 0;
        margin: 20px 0;
    }

    .blog-author-box {
        padding: 16px 14px;
        gap: 10px;
        margin-bottom: 24px;
    }

    .blog-sidebar-widget {
        padding: 16px 14px;
        margin-bottom: 18px;
    }

    .blog-cta-card {
        padding: 20px 16px;
    }

    /* 404 */
    .error-code {
        font-size: 72px;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 20px 0 24px;
    }

    .site-footer .footer-inner {
        gap: 12px;
    }

    .site-footer .footer-brand {
        font-size: 16.5px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 0.3px;
    }

    .site-footer .footer-copy {
        font-size: 11px;
        color: #828d98;
    }

    .site-footer .footer-right {
        gap: 8px 16px;
    }

    .site-footer .footer-link,
    .site-footer .footer-text {
        font-size: 11.5px;
        color: #929ea9;
    }
}

/* 5. Extra Small Smartphones (max-width: 380px) */
@media (max-width: 380px) {
    .container-custom {
        padding: 0 12px;
    }

    .header-logo {
        height: 34px;
    }

    #mobileMenu.offcanvas-end {
        width: 275px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-text {
        font-size: 12.5px;
    }

    .offer-tab-btn {
        max-width: 60px;
        height: 38px;
        font-size: 13px;
    }

    .error-code {
        font-size: 60px;
    }
}

/* 6. Touch Screen & No-Hover Optimizations */
@media (hover: none),
(pointer: coarse) {
    .cb-cursor {
        display: none !important;
    }

    body,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    label,
    strong {
        cursor: auto !important;
    }
}.categories-swiper { touch-action: pan-y !important; }
