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

:root {
    --primary-color: #254c63;
    --primary-dark: #1b384a;
    --primary-light: #376e8e;
    --secondary-color: #d60202;
    --secondary-hover: #b30202;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
    --light-brand-bg: #eef3f8;
    --light-brand-border: #d1dbe5;
    --accent-glow: rgba(214, 2, 2, 0.15);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.02);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-glow: rgba(37, 76, 99, 0.12);
}

/* --- Premium Global Details --- */
::selection {
    background-color: var(--secondary-color);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0b0f1d;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
    border: 1px solid #0b0f1d;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* --- Global Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--light-bg);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

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

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

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

.section-padding {
    padding: 6rem 0;
}

.bg-dark {
    background-color: var(--light-bg);
    color: var(--text-medium);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--text-dark);
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-white {
    background-color: var(--light-surface);
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header.mx-auto {
    margin-right: auto;
    margin-left: auto;
}

.section-header .tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-dark) 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-dark .section-header h2,
.dark-section .section-header h2 {
    background: linear-gradient(135deg, #ffffff 40%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.bg-dark .section-header p {
    color: var(--text-light);
    opacity: 0.8;
}

/* --- Buttons & CTAs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.25rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff4b4b 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(214, 2, 2, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4b4b 0%, var(--secondary-color) 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(214, 2, 2, 0.45);
    transform: translateY(-3px) scale(1.02);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(37, 76, 99, 0.35);
    transform: translateY(-3px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: var(--dark-bg);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.btn-dark {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 76, 99, 0.25);
}

.btn-dark:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(37, 76, 99, 0.45);
    transform: translateY(-3px) scale(1.02);
}

/* --- Header / Navigation --- */
.top-bar {
    background-color: var(--dark-bg);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contacts span {
    margin-right: 1.5rem;
}

.top-contacts a {
    color: var(--text-light);
}

.top-contacts a:hover {
    color: var(--secondary-color);
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 30px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 0 1.25rem;
}

.mobile-cta-item {
    display: none !important;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--secondary-color);
}

.nav-link svg {
    margin-left: 4px;
    transition: var(--transition-fast);
}

.nav-link:hover svg {
    transform: rotate(180deg);
}

/* --- Mega Menu Design --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    background-color: var(--light-surface);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 250px;
    gap: 2rem;
    z-index: 999;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-col h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-col ul {
    list-style: none;
}

.mega-col ul li {
    margin-bottom: 0.5rem;
}

.mega-col ul li a {
    color: var(--text-medium);
    font-size: 0.9rem;
    display: block;
    padding: 0.25rem 0;
}

.mega-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.mega-featured {
    background-color: var(--light-bg);
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 3px solid var(--secondary-color);
}

.mega-featured h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mega-featured p {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Burger Menu Mobile */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

/* --- Premium Split-Panel Hero --- */
.hero-split-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: #0b0f1d;
    overflow: hidden;
    color: #ffffff;
    padding: 6rem 0;
}

/* --- Hero Carousel --- */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background-color: #0b0f1d;
    color: #ffffff;
}

.carousel-inner {
    position: relative;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    width: 100%;
}

.carousel-slide {
    grid-column: 1;
    grid-row: 1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators .indicator.active {
    background: var(--secondary-color);
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-left-content {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-left-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.85rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-left-content h1 span {
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #94a3b8;
    max-width: 600px;
}

/* Vertical Interactive Tabs */
.hero-vertical-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hero-tab-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: left;
}

.hero-tab-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
}

.hero-tab-item.active {
    background: rgba(37, 76, 99, 0.18);
    border-color: var(--primary-light);
    box-shadow: 0 0 25px rgba(37, 76, 99, 0.25);
}

.hero-tab-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.hero-tab-item.active .hero-tab-num {
    color: var(--secondary-color);
}

.hero-tab-title h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.hero-tab-title p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.4;
}

.hero-tab-item.active .hero-tab-title p {
    color: #cbd5e1;
}

/* Right Side: Glassmorphic Product Preview Card */
.hero-right-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-glow-back {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37, 76, 99, 0.35) 0%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.hero-showcase-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-light));
}

.hero-product-image-container {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.hero-product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transition: var(--transition-smooth);
}

.hero-product-info {
    text-align: center;
}

.hero-product-info .prod-cat {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.hero-product-info h2 {
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.hero-product-specs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.hero-spec-item {
    font-size: 0.775rem;
    color: #94a3b8;
    text-align: center;
}

.hero-spec-item strong {
    display: block;
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

/* --- About Snapshot --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

/* Premium About Image Card style with rotating red border trace */
.about-image-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 2;
    overflow: hidden;
}

/* Rotating conic gradient backing */
.about-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            transparent 80%,
            var(--secondary-color) 85%,
            var(--secondary-color) 95%,
            transparent 100%);
    z-index: -2;
    animation: rotateBorder 4s linear infinite;
}

/* Inner white mask to reveal a 3px border */
.about-image-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #ffffff;
    border-radius: 21px;
    z-index: -1;
}

.about-image-card img {
    width: 100%;
    /* height: 400px; */
    object-fit: cover;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.feat-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 6px;
    border-top: 3px solid var(--primary-color);
    transition: var(--transition-smooth);
}

.feat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--secondary-color);
}

.feat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --- Product Categories Showcase --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(37, 76, 99, 0.15);
    border-color: rgba(37, 76, 99, 0.25);
}

.cat-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .cat-img img {
    transform: scale(1.06);
}

/* Floating content card at the bottom - flush with bottom, left, and right */
.cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-color: #ffffff;
    border-radius: 32px 0 0 0;
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 2rem);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interlocking Concave S-Curve on the top-right corner of the content card */
.cat-content::before {
    content: '';
    position: absolute;
    top: -64px;
    right: 0;
    width: 64px;
    height: 64px;
    background: radial-gradient(circle at 0 0, transparent 63px, #ffffff 64px);
    pointer-events: none;
    z-index: 4;
}

.cat-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 0.15rem 0;
    color: var(--text-dark);
    line-height: 1.25;
}

.cat-subtitle {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.65rem;
    display: block;
}

.cat-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hover Content Wrapper - hidden by default, expands on hover */
.cat-hover-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
}

.category-card:hover .cat-hover-content {
    max-height: 380px;
    /* Fully expands to show links and buttons */
    opacity: 1;
    margin-top: 0.75rem;
}

.cat-links {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
}

@media (max-width: 576px) {
    .cat-links {
        grid-template-columns: 1fr;
    }
}

.cat-links li {
    margin: 0;
}

.cat-links a {
    font-size: 0.775rem;
    color: var(--text-medium);
    display: block;
    padding: 0.3rem 0.5rem 0.3rem 1.25rem;
    position: relative;
    border-radius: 6px;
    background-color: var(--light-bg);
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.cat-links a::before {
    content: '→';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-weight: bold;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-links a:hover {
    color: var(--secondary-color);
    background-color: #ffffff;
    border-color: rgba(214, 2, 2, 0.12);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.03);
    padding-left: 1.5rem;
}

.cat-links a:hover::before {
    transform: translateY(-50%) translateX(2px);
}

.cat-hover-content .btn-dark {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: auto;
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.category-card:hover .btn-dark {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* --- Featured Products --- */
.products-slider-wrapper {
    overflow: hidden;
    padding: 1rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--light-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 76, 99, 0.3);
}

.prod-img {
    /* height: 180px; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 6px;
    /* padding: 1rem; */
}

.prod-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card .cat-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 3.5rem;
    display: -webkit-box;
    /*-webkit-line-clamp: 3;*/
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .btn-view {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.product-card:hover .btn-view {
    color: var(--secondary-color);
}

/* --- Fleet Industry Solutions --- */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fleet-card {
    background-color: var(--light-surface);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.fleet-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 20%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
}

.fleet-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.fleet-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    color: #ffffff;
}

.fleet-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.fleet-card-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fleet-card-content .fleet-btn {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
}

.fleet-card-content .fleet-btn::after {
    content: '→';
    margin-left: 6px;
    transition: var(--transition-fast);
}

.fleet-card:hover .fleet-btn::after {
    transform: translateX(4px);
}

/* --- Why Choose Swiftec --- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.75rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(214, 2, 2, 0.12);
    border-color: rgba(214, 2, 2, 0.25);
}

.why-icon {
    font-size: 1.75rem;
    margin-right: 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background-color: rgba(214, 2, 2, 0.08);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-item:hover .why-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 8px 16px rgba(214, 2, 2, 0.2);
}

.why-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.why-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.why-showcase-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 4.5rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.why-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 76, 99, 0.15);
}

.about-feat-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 76, 99, 0.08);
    border-color: rgba(37, 76, 99, 0.15);
}

.about-feat-icon {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(214, 2, 2, 0.06);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feat-card:hover .about-feat-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 8px 20px rgba(214, 2, 2, 0.15);
}

.mission-vision-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-vision-card.mission:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(214, 2, 2, 0.12);
    border-color: rgba(214, 2, 2, 0.25);
}

.mission-vision-card.vision:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 76, 99, 0.12);
    border-color: rgba(37, 76, 99, 0.25);
}

.mission-vision-icon {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission .mission-vision-icon {
    color: var(--secondary-color);
    background-color: rgba(214, 2, 2, 0.06);
}

.vision .mission-vision-icon {
    color: var(--primary-color);
    background-color: rgba(37, 76, 99, 0.06);
}

.mission-vision-card:hover .mission-vision-icon {
    transform: scale(1.1) rotate(-8deg);
}

.mission-vision-card.mission:hover .mission-vision-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(214, 2, 2, 0.15);
}

.mission-vision-card.vision:hover .mission-vision-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 76, 99, 0.15);
}



/* --- Certifications & Standards --- */
.certifications-section {
    /* Borders removed for modern borderless layout */
}

.cert-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.cert-logo-item:hover {
    transform: scale(1.08);
}

.cert-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

@media (max-width: 768px) {
    .cert-divider {
        display: none;
    }
}

/* --- Distributor Opportunity CTA --- */
.distributor-cta {
    position: relative;
    background-color: var(--primary-color);
    color: #ffffff;
    overflow: hidden;
}

.distributor-cta::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.dist-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.dist-cta-text {
    max-width: 700px;
}

.dist-cta-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.dist-cta-text p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* --- Blog Highlights --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--light-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.blog-img {
    height: 200px;
    background-color: #cbd5e1;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.blog-body {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-meta span {
    margin-right: 1rem;
}

.blog-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-body .read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-color);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.blog-body .read-more::after {
    content: '→';
    margin-left: 6px;
    transition: var(--transition-fast);
}

.blog-card:hover .read-more {
    color: var(--secondary-color);
}

.blog-card:hover .read-more::after {
    transform: translateX(4px);
}

/* --- Contact / Lead Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-info-panel p {
    opacity: 0.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail-item svg {
    margin-right: 1.25rem;
    margin-top: 4px;
    color: var(--secondary-color);
}

.contact-detail-item h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.contact-detail-item p,
.contact-detail-item a {
    color: #ffffff;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.contact-form-wrapper {
    background-color: var(--light-surface);
    padding: 3.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-full {
    grid-column: span 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(37, 76, 99, 0.12), 0 0 0 4px rgba(37, 76, 99, 0.05);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- Footer --- */
.footer {
    background-color: #0f172a;
    color: #ffffff;
    font-size: 0.9rem;
    border-top: 4px solid var(--secondary-color);
}

.footer-top {
    padding: 5rem 0 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
}

.footer-logo img {
    height: 30px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #ffffff;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact svg {
    margin-right: 0.75rem;
    color: var(--secondary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #ffffff;
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* --- Internal Pages Layout & Hero --- */
.page-hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 5rem 0;
    position: relative;
}

.page-hero-content h1 {
    font-size: 2.75rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    list-style: none;
    font-size: 0.85rem;
    opacity: 0.8;
}

.breadcrumbs li::after {
    content: '/';
    margin: 0 0.5rem;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: #ffffff;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* --- Catalog / Products Directory --- */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.sidebar-filters {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    align-self: start;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 0.75rem;
}

.filter-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--text-medium);
    cursor: pointer;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.filter-btn span.count {
    font-size: 0.75rem;
    background-color: var(--light-bg);
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    color: var(--text-muted);
}

.filter-btn.active span.count {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.catalog-header h2 {
    font-size: 1.75rem;
}

.catalog-results-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Product Detail Page Layout --- */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.product-gallery {
    background-color: var(--light-surface);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    height: 450px;
}

.product-gallery img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.product-info-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-info-header .subcategory-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.product-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-specs-short {
    background-color: var(--light-bg);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.product-specs-short h3 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.product-specs-short ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.product-specs-short ul li {
    font-size: 0.9rem;
}

.product-specs-short ul li strong {
    color: var(--text-dark);
}

.product-download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.product-download-buttons .btn {
    flex: 1;
}

/* Tabs section on product detail */
.product-tabs {
    margin-top: 4rem;
}

.tab-headers {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 1rem 2rem;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.spec-table th,
.spec-table td {
    padding: 0.9rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.spec-table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
}

.spec-table tr:nth-child(even) td {
    background-color: rgba(37, 76, 99, 0.02);
}

.spec-table td strong {
    color: var(--text-dark);
}

.bullets-list {
    list-style: none;
}

.bullets-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.bullets-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- Fleet Industry Solutions Detail Page --- */
.fleet-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.challenges-panel {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 8px;
    padding: 3rem;
}

.challenges-panel h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.challenges-list {
    list-style: none;
}

.challenges-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.challenges-list li::before {
    content: '!';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
}

/* --- Lubricant Guide Search Finder --- */
.guide-finder-panel {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
}

.guide-finder-panel h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    text-align: center;
}

.guide-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1.5rem;
    align-items: flex-end;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-header {
    padding: 1.25rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.faq-header span.arrow {
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.faq-item.active .faq-header {
    background-color: rgba(37, 76, 99, 0.05);
    color: var(--primary-color);
}

.faq-item.active .faq-header span.arrow {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-content {
    padding: 1.5rem 2rem;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

/* --- Downloads Area --- */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.download-card {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.download-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.download-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.download-card .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.download-card .actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.download-card .actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.6rem;
}

/* --- Admin Panel Styling --- */
.admin-login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-bg);
    padding: 2rem;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--dark-surface);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.admin-login-card h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.admin-login-card p {
    color: var(--text-light);
    opacity: 0.6;
    margin-bottom: 2.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.admin-login-card label {
    color: #ffffff;
    opacity: 0.8;
}

.admin-login-card .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.admin-login-card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-logo h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.admin-logo h2 span {
    color: var(--secondary-color);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 0.75rem;
}

.admin-nav li a {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.admin-nav li a:hover,
.admin-nav li.active a {
    background-color: var(--dark-surface);
    color: #ffffff;
    border-left: 3px solid var(--secondary-color);
}

.admin-user {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-user .name {
    font-weight: 600;
    font-size: 0.875rem;
}

.admin-user .role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-user a {
    display: block;
    margin-top: 0.75rem;
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.admin-main {
    background-color: var(--light-bg);
    padding: 3rem;
    overflow-y: auto;
}

.admin-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.admin-header-main h1 {
    font-size: 2.25rem;
}

.admin-card {
    background-color: var(--light-surface);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.admin-card h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.admin-table td {
    font-size: 0.95rem;
}

.admin-table tr:hover td {
    background-color: rgba(37, 76, 99, 0.02);
}

.admin-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.admin-badge-success {
    background-color: rgba(34, 197, 94, 0.15);
    color: rgb(34, 197, 94);
}

.admin-badge-info {
    background-color: rgba(59, 130, 246, 0.15);
    color: rgb(59, 130, 246);
}

/* --- Responsive Adaptations (Mobile & Tablet) --- */
@media (max-width: 1024px) {

    /* .hero-carousel {
        height: 60vh;
        min-height: 450px;
    } */
    .hero-grid,
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .category-grid,
    .blog-grid,
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        position: static;
        margin-bottom: 2rem;
    }

    .mega-menu {
        display: none !important;
        /* Managed differently on mobile */
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .dist-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .dist-cta-content>div:last-child {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 24px;
    }

    /* .hero-carousel {
        height: 40vh;
        min-height: 280px;
    } */
    .top-bar {
        display: none;
    }

    .burger {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 90%;
        height: 100vh;
        background-color: #ffffff;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
        flex-direction: column;
        align-items: stretch;
        padding: 6rem 2rem 2rem 2rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-cta-item {
        display: block !important;
    }

    .nav-item {
        padding: 0.5rem 2rem;
    }

    .nav-link {
        padding: 0.5rem 0;
        justify-content: space-between;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .category-grid,
    .blog-grid,
    .products-grid,
    .fleet-grid,
    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid,
    .fleet-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        height: 300px;
    }

    .product-download-buttons {
        flex-direction: column;
    }

    .guide-form {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: span 1;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.75rem;
    }
}

/* --- Modernized Swiftec in Numbers Stats Section --- */
.stats-section {
    position: relative;
    background-color: var(--light-bg);
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg) 10%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg) 10%, transparent 100%);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.modern-stat-card {
    width: 290px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.modern-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.modern-stat-card:hover::before {
    transform: translateX(100%);
}

.modern-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08), 0 0 1px rgba(217, 119, 6, 0.5);
    background: #ffffff;
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    transition: all 0.4s ease;
}

.modern-stat-card:hover .stat-icon-wrapper {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(214, 2, 2, 0.3);
    transform: rotate(8deg) scale(1.05);
}

.stat-icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
}

.modern-stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 2px 8px rgba(217, 119, 6, 0.06));
}

.modern-stat-card .stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    line-height: 1.4;
    max-width: 240px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.modern-stat-card:hover .stat-label {
    color: var(--text-dark);
    opacity: 1;
}

@media (max-width: 768px) {
    .modern-stat-card {
        width: 240px;
        padding: 1.75rem 1.25rem;
    }

    .modern-stat-card .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon-wrapper {
        width: 54px;
        height: 54px;
        margin-bottom: 1.25rem;
    }

    .stat-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
}

/* --- Premium Capabilities Card Link --- */
.card-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--secondary-color);
}

.card-link::after {
    content: '→';
    margin-left: 6px;
    transition: var(--transition-fast);
}

.card-link:hover::after {
    transform: translateX(4px);
}

/* --- High-End Custom Redesign Sections --- */

/* Asymmetric Capabilities Showcase */
.editorial-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.editorial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.editorial-row.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.editorial-content {
    max-width: 550px;
}

.editorial-content .num-badge {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.editorial-content h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.editorial-content p {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.editorial-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.editorial-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.editorial-visual:hover img {
    transform: scale(1.04);
}

.editorial-stats-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem 1.75rem;
    color: #ffffff;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.editorial-stats-overlay .stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.editorial-stats-overlay .stat-txt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #cbd5e1;
}

/* Why Swiftec Interactive Chem Section */
.chem-interactive-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}

.chem-diagram-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0b0f1d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 4rem 2rem;
    height: 420px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.chem-diagram-wrapper svg {
    max-width: 100%;
    max-height: 100%;
    z-index: 2;
}

.chem-svg-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(214, 2, 2, 0.08) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}

.chem-list-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chem-hover-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    text-align: left;
}

.chem-hover-card:hover {
    transform: translateY(-4px) translateX(6px);
    border-color: rgba(214, 2, 2, 0.25);
    box-shadow: var(--shadow-lg);
}

.chem-hover-card.active {
    border-color: var(--secondary-color);
    background: var(--light-surface);
    box-shadow: 0 10px 30px rgba(214, 2, 2, 0.06);
}

.chem-hover-card .card-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.chem-hover-card.active .card-icon,
.chem-hover-card:hover .card-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(214, 2, 2, 0.2);
}

.chem-hover-card .card-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.chem-hover-card .card-text p {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Products Console Layout */
.console-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
}

.console-sidebar {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.console-search-box {
    position: relative;
    margin-bottom: 2rem;
}

.console-search-box input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--light-bg);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.console-search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 76, 99, 0.08);
}

.console-search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.console-category-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.console-filter-item {
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.console-filter-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.console-filter-item.active {
    background-color: rgba(37, 76, 99, 0.08);
    color: var(--primary-color);
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    padding-left: 0.75rem;
}

/* Premium Product Console Cards */
.console-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.console-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.console-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 76, 99, 0.25);
    box-shadow: var(--shadow-xl);
}

.console-card-img {
    height: 180px;
    background-color: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.console-card-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.console-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.console-card-tag {
    font-size: 0.725rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.console-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.console-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em;
}

/* Quality Rating Index Meters */
.console-card-meters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.meter-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meter-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-medium);
}

.meter-bar-container {
    height: 5px;
    background-color: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background-color: var(--primary-light);
    border-radius: 3px;
}

.meter-row.secondary .meter-fill {
    background-color: var(--secondary-color);
}

.console-card-actions {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
}

.console-card-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
}

/* Corporate Timeline */
.timeline-container {
    position: relative;
    padding: 2rem 0;
    margin-top: 3rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 5rem;
    width: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
}

.timeline-badge {
    position: absolute;
    right: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid var(--light-surface);
    box-shadow: var(--shadow-sm);
    z-index: 5;
}

.timeline-item.right .timeline-badge {
    left: -15px;
    right: auto;
}

.timeline-item.right .timeline-badge {
    background-color: var(--primary-color);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timeline-item.right .timeline-year {
    color: var(--primary-color);
}

.timeline-card {
    background: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    display: inline-block;
    max-width: 450px;
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 1024px) {

    .editorial-row,
    .editorial-row.reverse,
    .chem-interactive-grid,
    .console-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .console-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

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

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 3.5rem;
        padding-right: 0;
        text-align: left;
        margin-bottom: 3.5rem;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-badge,
    .timeline-item.right .timeline-badge {
        left: 5px;
        right: auto;
    }

    .timeline-card {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-right-showcase {
        order: -1;
    }

    .console-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Admin Panel Redesign & Enhancements --- */
.admin-mobile-header {
    display: none;
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 1rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-mobile-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.admin-sidebar.open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    width: 260px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    animation: adminSlideIn 0.3s ease forwards;
}

@keyframes adminSlideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .admin-mobile-header {
        display: flex;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        padding: 1.5rem;
    }
}

/* Stats Cards Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.admin-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(37, 76, 99, 0.08);
    color: var(--primary-color);
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.admin-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Badge System */
.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: capitalize;
}

.admin-badge-read {
    background-color: rgba(148, 163, 184, 0.15);
    color: rgb(100, 116, 139);
}

.admin-badge-unread {
    background-color: rgba(239, 68, 68, 0.12);
    color: rgb(239, 68, 68);
    animation: pulseBadge 2s infinite;
}

.admin-badge-contacted {
    background-color: rgba(34, 197, 94, 0.12);
    color: rgb(34, 197, 94);
}

.admin-badge-new {
    background-color: rgba(59, 130, 246, 0.12);
    color: rgb(59, 130, 246);
}

@keyframes pulseBadge {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.8;
    }
}

/* Search and Filters */
.admin-search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
    background-color: var(--light-surface);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.admin-search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.admin-filter-select {
    border: 1px solid var(--border-color);
    background-color: var(--light-surface);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
}

/* Banner management specific styling */
.banner-preview-box {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    background-color: rgba(37, 76, 99, 0.02);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.banner-preview-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
}

.banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Form Styles for Admin */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.admin-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: var(--light-surface);
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.admin-form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 76, 99, 0.1);
}

.admin-form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Detail Modal or Expandable Card */
.admin-detail-card {
    background-color: var(--light-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
    animation: adminFadeIn 0.3s ease;
}

.admin-detail-card.active {
    display: block;
}

@keyframes adminFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Order Input */
.menu-order-input {
    width: 60px;
    padding: 0.25rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* --- Stats 3D Carousel Section --- */
.stats-3d-grid {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 4rem;
    align-items: center;
}

.stats-left-col .tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.stats-left-col h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.stats-left-col p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.stats-carousel-nav {
    display: flex;
    gap: 1rem;
}

.stats-prev-btn,
.stats-next-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.stats-prev-btn:hover,
.stats-next-btn:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(214, 2, 2, 0.2);
}

.stats-right-col {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.stats-3d-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: visible;
}

/* Individual Stat Cards styled like Mockup */
.stat-3d-card {
    position: absolute;
    width: 280px;
    height: 350px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, z-index 0.5s ease;
    user-select: none;
}

.stat-3d-card.active {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    border-color: rgba(214, 2, 2, 0.1);
}

.stat-3d-card .stat-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.stat-3d-card:hover .stat-icon-wrapper,
.stat-3d-card.active .stat-icon-wrapper {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(214, 2, 2, 0.15);
}

.stat-3d-card .stat-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}

.stat-3d-card .stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    background: #254c63;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.stat-3d-card .stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-medium);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* responsive grid */
@media (max-width: 1024px) {
    .stats-3d-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .stats-carousel-nav {
        justify-content: center;
    }

    .stats-right-col {
        height: 400px;
    }
}

/* --- Premium About Cards Section --- */
.premium-about-card {
    position: relative;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4.5rem 2.25rem 3rem 2.25rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-top: 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.premium-about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

.premium-card-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    z-index: 10;
}

.premium-card-icon .icon-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transform: rotate(45deg);
}

.premium-card-icon .icon-inner svg {
    transform: rotate(-45deg);
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.premium-card-icon .icon-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.75;
    z-index: 1;
    pointer-events: none;
    transition: all 0.25s ease;
}

.premium-about-card:hover .premium-card-icon .icon-glow {
    opacity: 1;
    transform: scale(1.1);
}

.premium-card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    border-radius: 0 0 24px 24px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.premium-about-card:hover .premium-card-glow {
    opacity: 0.25;
}

.premium-about-card .card-status {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.premium-about-card h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 1.25rem !important;
    font-family: var(--font-heading);
}

.premium-about-card p {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.card-orange .premium-card-icon .icon-inner {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.card-orange .premium-card-icon .icon-glow {
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
}

.card-orange .premium-card-glow {
    background: linear-gradient(to top, rgba(251, 191, 36, 0.4) 0%, transparent 100%);
}

.card-orange .card-status {
    color: #fbbf24;
}

.card-blue .premium-card-icon .icon-inner {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.card-blue .premium-card-icon .icon-glow {
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
}

.card-blue .premium-card-glow {
    background: linear-gradient(to top, rgba(56, 189, 248, 0.4) 0%, transparent 100%);
}

.card-blue .card-status {
    color: #38bdf8;
}

.card-red .premium-card-icon .icon-inner {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.card-red .premium-card-icon .icon-glow {
    background: radial-gradient(circle, #f87171 0%, transparent 70%);
}

.card-red .premium-card-glow {
    background: linear-gradient(to top, rgba(248, 113, 113, 0.4) 0%, transparent 100%);
}

.card-red .card-status {
    color: #f87171;
}

/* --- Pagination Styles --- */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 76, 99, 0.15);
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff4b4b 100%);
    color: #ffffff;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(214, 2, 2, 0.25);
    cursor: default;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--border-color);
    color: var(--text-muted);
    border-color: transparent;
}

.d-none-mobile {
    display: block;
}

@media (min-width: 320px) and (max-width: 991px) {
    .d-none-mobile {
        display: none !important;
    }

    .blog-detail-actions {
        display: block !important;
    }

    .blog-detail-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

}

/* Offcanva corrections  */

/* Mobile navigation overrides */
@media (max-width: 768px) {

    /* Reset mega-menu positioning for mobile */
    .mega-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin-top: 0.5rem;
        display: block !important;
        /* Override display:none */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 0;
        /* fade effect */
        grid-template-columns: 1fr !important;
        /* stack columns */
        gap: 0 !important;
        pointer-events: none;
        /* prevent interaction when collapsed */
    }

    /* When submenu is open (class added by JS) */
    .mega-menu.open {
        max-height: 2000px;
        /* enough to show all content */
        opacity: 1;
        pointer-events: auto;
        padding: 1rem 0 !important;
    }

    /* Style each mega column as a block */
    .mega-col {
        margin-bottom: 1rem;
    }

    .mega-col h3 {
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .mega-col ul li {
        margin-bottom: 0.25rem;
    }

    /* Adjust nav-item so that clicking the parent toggles the submenu */
    .nav-item {
        position: relative;
    }

    /* Make the arrow clickable */
    .nav-link svg {
        transition: transform 0.3s ease;
    }

    /* Rotate arrow when submenu is open */
    .nav-link.active-arrow svg {
        transform: rotate(180deg);
    }

    /* Ensure the nav-link for dropdowns shows pointer */
    .nav-link[data-toggle="dropdown"] {
        cursor: pointer;
    }

    /* Hide the mega-menu on mobile initially */
    .mega-menu {
        display: block !important;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

    .mega-menu.open {
        max-height: 2000px;
        opacity: 1;
        pointer-events: auto;
    }
}


/* ========================================
   EXTRA MOBILE RESPONSIVENESS
   (Add this to the end of your style.css)
   ======================================== */

/* --- Small devices (phones, 480px and down) --- */
@media (max-width: 480px) {

    /* General */
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Page Hero */
    .page-hero {
        padding: 3rem 0;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .breadcrumbs {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    /* Buttons */
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .btn+.btn {
        margin-top: 0.75rem;
    }

    /* Grids – force single column */
    .about-grid,
    .why-grid,
    .contact-grid,
    .fleet-detail-grid,
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .category-grid,
    .products-grid,
    .blog-grid,
    .downloads-grid,
    .fleet-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .category-card {
        height: auto;
        min-height: 350px;
    }

    .cat-content {
        border-radius: 20px 0 0 0;
        padding: 1rem;
    }

    .cat-content h3 {
        font-size: 1.1rem;
    }

    .cat-links {
        grid-template-columns: 1fr;
    }

    /* Product cards */
    .product-card {
        padding: 1rem;
    }

    .product-card h3 {
        font-size: 1rem;
        min-height: auto;
    }

    .product-card p {
        font-size: 0.8rem;
        min-height: auto;
    }

    .prod-img {
        /* height: 120px; */
    }

    /* About image card */
    .about-image-card {
        padding: 6px;
    }

    .about-image-card img {
        border-radius: 12px;
    }

    /* Why items */
    .why-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .why-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
        width: 44px;
        height: 44px;
    }

    .why-showcase-card {
        padding: 2rem 1.5rem;
    }

    /* Distributor CTA */
    .dist-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .dist-cta-text h2 {
        font-size: 1.5rem;
    }

    .dist-cta-text p {
        font-size: 1rem;
    }

    /* Stats 3D Carousel – simplify */
    .stats-3d-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-left-col h2 {
        font-size: 2rem;
    }

    .stats-right-col {
        height: 300px;
    }

    .stat-3d-card {
        width: 200px;
        height: 260px;
        padding: 1.5rem 1rem;
    }

    .stat-3d-card .stat-number {
        font-size: 2.5rem;
    }

    .stat-3d-card .stat-icon-wrapper {
        width: 54px;
        height: 54px;
        margin-bottom: 1rem;
    }

    .stat-3d-card .stat-icon-wrapper svg {
        width: 24px;
        height: 24px;
    }

    /* Blog cards */
    .blog-img {
        height: 160px;
    }

    .blog-body {
        padding: 1.25rem;
    }

    .blog-body h3 {
        font-size: 1.1rem;
    }

    /* Contact form */
    .contact-info-panel {
        padding: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .form-full {
        grid-column: span 1;
    }

    .form-control {
        padding: 0.7rem 1rem;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-links a {
        margin: 0 0.5rem;
    }

    /* FAQ */
    .faq-header {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-content {
        padding: 1rem;
    }

    /* Fleet pages */
    .challenges-panel {
        padding: 2rem 1.5rem;
    }

    .challenges-panel h3 {
        font-size: 1.25rem;
    }

    /* Product detail tabs */
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .product-gallery {
        height: 220px;
        padding: 1.5rem;
    }

    .product-info-header h1 {
        font-size: 1.75rem;
    }

    /* Guide finder */
    .guide-form {
        grid-template-columns: 1fr;
    }

    /* Admin panels (if visible on frontend) */
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-stat-card {
        padding: 1rem;
    }
}

.hero-image {
    display: block;
}

.hero-image-mobile {
    display: none;
}

/* --- Extra tweaks for tablets (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Already have some, but add these: */

    /* Fix hero carousel image height */
    .hero-carousel .hero-image {
        display: none;
    }

    .hero-carousel .hero-image-mobile {
        display: block;
    }


    /* Make mega-menu columns stack properly (already done in your "Offcanva corrections") */
    /* Additional spacing for nav items */
    .nav-menu {
        padding-top: 5rem;
    }

    .nav-item {
        padding: 0.25rem 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    /* Mobile CTA button */
    .mobile-cta-item .btn {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* About features grid */
    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .feat-item {
        padding: 1rem;
    }

    /* Certifications logos */
    .cert-logo-item img {
        height: 50px;
    }

    .cert-divider {
        display: none;
    }

    /* Stats marquee – slower for mobile */
    .marquee-content {
        animation-duration: 50s;
    }

    /* Fleet cards */
    .fleet-card {
        height: 220px;
    }

    /* Admin tables – horizontal scroll */
    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        min-width: 600px;
    }

    /* Console layout (products) */
    .console-layout {
        grid-template-columns: 1fr;
    }

    .console-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .console-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Very small screens (360px) --- */
@media (max-width: 360px) {
    .stat-3d-card {
        width: 160px;
        height: 210px;
        padding: 1rem;
    }

    .stat-3d-card .stat-number {
        font-size: 2rem;
    }

    .stat-3d-card .stat-label {
        font-size: 0.7rem;
    }

    .hero-left-content h1 {
        font-size: 2rem;
    }

    .hero-showcase-card {
        padding: 1.5rem;
    }

    .hero-product-image-container {
        height: 160px;
    }
}


/* ========================================
   TARGETED MOBILE FIXES (Footer & Grids)
   ======================================== */

/* ---------- FOOTER ON MOBILE ---------- */
@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 1rem 1.5rem;
        /* add horizontal padding */
        gap: 2.5rem;
        /* more breathing between columns */
    }

    .footer-col {
        padding: 0;
        /* remove any inner padding from columns */
        text-align: center;
        /* center everything for better readability */
    }

    .footer-col h3::after {
        left: 50%;
        /* center the red underline */
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        padding: 0;
        /* remove any left padding on links */
    }

    .footer-contact p {
        justify-content: center;
        /* center icon + text */
        text-align: left;
        /* but keep text left-aligned inside flex */
        max-width: 280px;
        /* prevent too long lines */
        margin: 0 auto 1rem;
        /* center each row */
    }

    .footer-contact svg {
        margin-right: 0.75rem;
        /* keep space between icon and text */
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
        /* add padding around bottom bar */
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-links a {
        margin: 0 0.5rem;
        /* space out links */
    }
}

/* ---------- GRID SECTIONS THAT STILL BREAK ---------- */
@media (max-width: 480px) {

    /* Category cards – prevent overflow and fix height */
    .category-card {
        height: auto;
        /* let height be content-driven */
        min-height: 380px;
        /* keep a minimum height */
        border-radius: 16px;
        /* smaller radius on mobile */
    }

    .cat-content {
        position: relative;
        /* remove absolute positioning on small screens */
        border-radius: 0 0 16px 16px;
        padding: 1.25rem 1rem;
        max-height: none;
    }

    .cat-content::before {
        display: none;
        /* hide the fancy S‑curve, it breaks */
    }

    .cat-img {
        position: relative;
        /* make image part of the flow */
        height: 200px;
        /* fixed height for image */
    }

    .cat-img img {
        object-fit: cover;
    }

    .cat-hover-content {
        max-height: none;
        /* always visible on mobile (no hover) */
        opacity: 1;
        margin-top: 0.75rem;
    }

    .cat-links {
        grid-template-columns: 1fr;
        /* already does, but ensure */
    }

    /* About features – always one column */
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Console grid – one column */
    .console-grid {
        grid-template-columns: 1fr !important;
    }

    /* Fleet cards – reduce height and adjust */
    .fleet-card {
        height: 220px;
    }

    .fleet-card-content h3 {
        font-size: 1.1rem;
    }

    .fleet-card-content p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        max-height: 2.6em;
    }

    /* Mission & Vision cards – stack */
    .why-grid .mission-vision-card {
        padding: 2rem 1.5rem;
    }

    /* Blog detail actions – already have fix, but ensure */
    .blog-detail-actions .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    /* Stats 3D carousel – show only one card at a time */
    .stats-right-col {
        height: 300px;
    }

    .stat-3d-card {
        width: 200px;
        height: 250px;
        padding: 1.5rem 1rem;
    }

    .stat-3d-card .stat-number {
        font-size: 2.2rem;
    }
}

/* ---------- EXTRA: Some grids on tablet ---------- */
@media (max-width: 768px) and (min-width: 481px) {

    /* keep 2 columns for some, but with better spacing */
    .console-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .category-card {
        height: 400px;
        /* adjust for tablet */
    }
}

.app-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .app-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}