/* =========================================================
   Autotech Categories — Premium UI (scoped to .page-category)
   Loaded ONLY on /category. Does not affect other pages.
   Brand: #E2000F / #1A1A18 — content & functionality unchanged
   ========================================================= */

.page-category {
    --cat-red: #E2000F;
    --cat-red-dark: #b8000c;
    --cat-dark: #1A1A18;
    --cat-darker: #0c0c0c;
    --cat-surface: #f7f7f8;
    --cat-white: #ffffff;
    --cat-muted: #6b6d72;
    --cat-border: rgba(26, 26, 24, 0.08);
    --cat-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    --cat-shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.14);
    --cat-radius: 14px;
    --cat-radius-sm: 10px;
    --cat-transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --cat-section-y: clamp(64px, 8vw, 120px);
    scroll-behavior: smooth;
    font-family: "Barlow", sans-serif;
}

.page-category .fa,
.page-category .fa:before {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-category .main-page-artical {
    overflow-x: hidden;
}

/* ---------- Sticky Nav ---------- */
.page-category .main_header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.page-category .main_header-div {
    margin: 0 clamp(12px, 3vw, 40px);
    min-height: 78px;
}

.page-category .img-max-width {
    max-width: 210px;
}

.page-category .header-custom-menu {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(12px);
    padding: 4px 8px;
}

.page-category .main_header .navbar-main ul li a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 10px 16px !important;
    border-radius: 999px;
    transition: color var(--cat-transition), background var(--cat-transition);
}

.page-category .main_header .navbar-main ul li a::after {
    display: none;
}

.page-category .main_header .navbar-main ul li:hover a,
.page-category .main_header .navbar-main ul li a.active {
    color: #fff !important;
    background: rgba(226, 0, 15, 0.18);
}

.page-category .main_header .navbar-main ul li a.active {
    background: var(--cat-red);
}

.page-category .phone-svg-div {
    padding: 11px;
    border: 1px solid rgba(226, 0, 15, 0.45);
    box-shadow: 0 6px 18px rgba(226, 0, 15, 0.28);
}

.page-category .phone-svg-div:hover {
    transform: translateY(-2px) scale(1.04);
}

.page-category .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
    padding: 8px 10px;
}

.page-category .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(226, 0, 15, 0.35);
    outline: none;
}

@media (max-width: 991px) {
    .page-category .header-custom-menu {
        border-radius: var(--cat-radius);
        margin-top: 12px;
        padding: 12px;
        background: rgba(18, 18, 18, 0.98);
    }

    .page-category .main_header .navbar-main ul li a {
        border-radius: var(--cat-radius-sm);
        margin: 4px 0;
    }
}

/* ---------- Hero ---------- */
.page-category .ab-hero-banner {
    position: relative;
    padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
    background:
        radial-gradient(ellipse at top, rgba(226, 0, 15, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #121212 0%, #1a1a18 100%);
    overflow: hidden;
}

.page-category .ab-hero-banner::before {
    display: none;
}

.page-category .ab-hero-banner .main-title {
    color: #fff;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.page-category .ab-hero-banner .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.page-category .ab-hero-banner .breadcrumb .breadcrumb-item,
.page-category .ab-hero-banner .breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-category .ab-hero-banner .breadcrumb .breadcrumb-item a:hover {
    color: #fff !important;
}

.page-category .ab-hero-banner .breadcrumb .breadcrumb-item.active {
    color: var(--cat-red) !important;
}

.page-category .ab-hero-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.35) !important;
}

/* ---------- Category cards ---------- */
.page-category .Service-section-02 {
    padding: var(--cat-section-y) 0;
    background:
        linear-gradient(180deg, #fafafa 0%, #f3f3f4 100%);
    margin-top: 0 !important;
}

.page-category .Service-section-02 .container {
    max-width: 1200px;
}

.page-category .Service-section-02 .row > [class*="col-"] {
    margin-top: 28px !important;
    margin-bottom: 8px !important;
    display: flex;
}

.page-category .Service-card-1 {
    width: 100%;
    border-radius: var(--cat-radius);
    overflow: hidden;
    box-shadow: var(--cat-shadow);
    transition: transform var(--cat-transition), box-shadow var(--cat-transition);
    background: #121212 !important;
    margin-top: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.page-category .Service-card-1:hover {
    transform: translateY(-8px);
    box-shadow: var(--cat-shadow-hover);
}

.page-category .Service-card-1::after {
    display: none !important;
}

.page-category .Service-card-1 a {
    display: block;
    color: inherit;
    height: 100%;
    position: relative;
}

.page-category .Service-card-1 a:focus-visible {
    outline: 3px solid var(--cat-red);
    outline-offset: 2px;
}

.page-category .card-Manage {
    height: clamp(300px, 34vw, 420px) !important;
    overflow: hidden;
    max-width: 100% !important;
    width: 100%;
    position: relative;
    background: #1a1a18;
}

.page-category .card-Manage img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    display: block;
}

.page-category .Service-card-1:hover .card-Manage img {
    transform: scale(1.06);
}

.page-category .card-Manage::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 48% !important;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 10, 0.35) 40%,
        rgba(10, 10, 10, 0.88) 100%
    ) !important;
    clip-path: none !important;
    z-index: 1;
    pointer-events: none;
}

.page-category .card-tital {
    padding: 0 28px 28px !important;
    z-index: 2;
}

.page-category .card-tital h3 {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #fff !important;
}

.page-category .card-tital h3::after {
    height: 2px;
    background: var(--cat-red);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.page-category .Service-card-1:hover .card-tital h3::after {
    width: 48px;
}

.page-category .card-tital p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.01em;
}

.page-category .bg-img-black {
    top: 12px !important;
    left: 12px !important;
    max-width: 110px !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
    transition: transform var(--cat-transition);
    z-index: 3;
}

.page-category .Service-card-1:hover .bg-img-black {
    transform: translateY(-2px);
}

.page-category .card-1-icon svg {
    max-width: 40px;
    bottom: 26px;
    left: 20px;
}

.page-category .Service-card-2,
.page-category .Service-card-3 {
    margin-top: 0 !important;
}

@media (max-width: 575px) {
    .page-category .card-Manage {
        height: 260px;
    }

    .page-category .card-tital {
        padding: 0 18px 20px;
    }

    .page-category .card-tital h3 {
        font-size: 20px;
    }
}

/* ---------- Footer ---------- */
.page-category .footer-content {
    background: #111113;
}

.page-category .main-footer-top-inner {
    padding: 28px 32px;
    background: #18181b;
    border-radius: var(--cat-radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-category .footer-top-area {
    padding-top: 40px;
}

.page-category .footer-top-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.page-category .footer-top-social .ft-icon,
.page-category .ft-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-size: 18px;
    line-height: 1;
    margin-left: 0;
    transition: background var(--cat-transition), transform var(--cat-transition), border-color var(--cat-transition);
}

.page-category .footer-top-social .ft-icon i,
.page-category .ft-icon i {
    color: #fff !important;
    font-size: 18px;
}

.page-category .footer-top-social .ft-icon:hover,
.page-category .ft-icon:hover {
    background: var(--cat-red);
    border-color: var(--cat-red);
    transform: translateY(-2px);
}

.page-category .footer-middle-area {
    padding: 48px 0 32px;
}

.page-category .footer-main-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.page-category .footer-main-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--cat-red);
}

.page-category .footer-about-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    line-height: 1.7;
}

.page-category .ft-li a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    font-weight: 500;
    transition: color var(--cat-transition), padding-left var(--cat-transition);
    display: inline-block;
    padding: 6px 0;
}

.page-category .ft-li a:hover {
    color: #fff;
    padding-left: 6px;
}

.page-category .footer-contact-col {
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--cat-radius);
    padding: 28px 24px;
    max-width: 370px;
    width: 100%;
}

.page-category .ft-info-li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-category .ft-info-li-next {
    align-items: flex-start;
}

.page-category .ft-contact-text,
.page-category .footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
}

.page-category .footer-contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(226, 0, 15, 0.15);
    border: 1px solid rgba(226, 0, 15, 0.25);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--cat-red);
    font-size: 16px;
}

.page-category .footer-contact-icon i,
.page-category .footer-contact-icon .fa {
    color: var(--cat-red) !important;
    font-size: 16px;
}

.page-category .ft-info-li:hover .footer-contact-icon {
    background: var(--cat-red);
    border-color: var(--cat-red);
}

.page-category .ft-info-li:hover .footer-contact-icon i {
    color: #fff !important;
}

.page-category .footer-bottom-area {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.page-category .footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.page-category .ft-footer-text {
    color: #fff;
    font-weight: 600;
}

/* ---------- WhatsApp ---------- */
.page-category .flotting-incone-whatsapp .float {
    width: 56px;
    height: 56px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    transition: transform var(--cat-transition), box-shadow var(--cat-transition);
}

.page-category .flotting-incone-whatsapp .float:hover {
    transform: scale(1.08);
}

/* ---------- Focus / a11y ---------- */
.page-category a:focus-visible,
.page-category button:focus-visible {
    outline: 3px solid rgba(226, 0, 15, 0.5);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .page-category {
        --cat-section-y: 56px;
    }

    .page-category .main_header-div {
        margin: 0 8px;
        min-height: 68px;
    }

    .page-category .img-max-width {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .page-category {
        --cat-section-y: 48px;
    }

    .page-category .main-footer-top-inner {
        padding: 20px;
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .page-category .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
