:root {
    /* Apollo Equipments Exact Brand Colors */
    --brand-blue-dark: #0B3D70;
    --brand-red: #E51921;
    --brand-red-hover: #C4141A;

    /* UI Colors */
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;

    /* Fonts */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Removed zoom: 0.9 as it breaks mobile viewport scaling */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-blue-dark);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-3 {
    gap: 12px;
}

.gap-4 {
    gap: 16px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--brand-red);
    color: white;
    border: 1px solid var(--brand-red);
    box-shadow: 0 4px 6px rgba(0, 130, 202, 0.2);
}

.btn-primary:hover {
    background-color: var(--brand-red-hover);
    border-color: var(--brand-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 130, 202, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--brand-blue-dark);
    border: 2px solid var(--brand-blue-dark);
}

.btn-outline:hover {
    background-color: var(--brand-blue-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 27, 42, 0.2);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* Page Headers */
.page-header {
    background-color: var(--brand-blue-dark);
    padding: 35px 0;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.1;
    pointer-events: none;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--brand-red);
}

/* Janshakti Style Header */
.main-header {
    width: 100%;
    z-index: 1000;
}

.top-header {
    background-color: var(--brand-blue-dark);
    color: #fff;
    padding: 10px 0;
    font-size: 0.85rem;
}

.top-header-inner {
    flex-wrap: wrap;
    gap: 10px;
}

.top-contact-details a {
    color: #fff;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.top-contact-details a:hover {
    color: var(--brand-red);
}

.social-footer {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.social-footer a {
    color: #fff;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-footer a:hover {
    color: var(--brand-red);
}

.header-nav {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.logo a {
    font-size: 24px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--brand-blue-dark);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--brand-red);
    margin-left: 5px;
}

.custom-hori-menu .menu-primary {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.custom-hori-menu .menu-primary a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    position: relative;
}

.custom-hori-menu .menu-primary a:hover,
.custom-hori-menu .menu-primary a.active {
    color: var(--brand-red);
}

.custom-hori-menu .menu-primary a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-red);
    transition: width 0.3s ease;
}

.custom-hori-menu .menu-primary a:hover::after,
.custom-hori-menu .menu-primary a.active::after {
    width: 100%;
}

.mobile-show a {
    font-size: 1.5rem;
    color: var(--brand-blue-dark);
}

/* Mega Menus (Apollo Exact Style) */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-radius: 0 0 12px 12px;
    padding: 24px;
    pointer-events: none;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item:hover>a i {
    transform: rotate(180deg);
}

.mega-content {
    max-width: 1280px;
    margin: 0 auto;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mega-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    display: block;
    background: var(--brand-blue-dark);
    transition: var(--transition);
}

.mega-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.mega-card .img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.mega-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.95), rgba(13, 27, 42, 0.2));
    transition: var(--transition);
}

.mega-card:hover::after {
    background: linear-gradient(to top, rgba(0, 130, 202, 0.9), rgba(0, 130, 202, 0.3));
}

.mega-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    z-index: 2;
}

.mega-card-content h4 {
    font-size: 1rem;
    margin: 0;
    color: white;
}

.mega-card-content p {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: 4px;
}

.mega-card:hover .mega-card-content p {
    color: #E5E7EB;
}

.mega-products .mega-content {
    display: flex;
    gap: 32px;
}

.mega-categories {
    flex: 0 0 320px;
    background: var(--brand-blue-dark);
    padding: 24px;
    border-radius: 8px;
    color: white;
}

.mega-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-red);
    margin-bottom: 16px;
    font-weight: 800;
}

.mega-categories ul {
    list-style: none;
}

.mega-categories ul li a {
    color: #D1D5DB;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    gap: 10px;
}

.mega-categories ul li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 130, 202, 0.5);
    transition: var(--transition);
}

.mega-categories ul li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.mega-categories ul li a:hover::before {
    background: var(--brand-red);
}

.mega-categories .view-all {
    color: var(--brand-red);
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    border-radius: 0;
}

.mega-featured {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mega-featured .mega-card {
    height: 100%;
    min-height: 200px;
}

/* Apollo Style Hero Slider */
.hero-slider {
    position: relative;
    height: calc(100vh - 90px);
    /* Fill the remaining display height */
    min-height: 600px;
    background-color: var(--brand-blue-dark);
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-blue-dark);
    opacity: 0.85;
    clip-path: polygon(0 0, 70% 0, 50% 100%, 0% 100%);
    z-index: 1;
}

@media (max-width: 991px) {
    .hero-overlay {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        background: linear-gradient(90deg, rgba(13, 27, 42, 0.95) 0%, rgba(13, 27, 42, 0.85) 100%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 0;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.slide.active .hero-text {
    transform: translateY(0);
    opacity: 1;
}

.badge {
    display: inline-block;
    background-color: transparent;
    color: var(--brand-red);
    padding: 6px 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border-radius: 40px;
    margin-bottom: 15px;
    border: 1px solid var(--brand-red);
}

.slide-subtitle {
    color: #9CA3AF;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-text h2 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
    font-weight: 800;
}

.hero-text h2 span {
    color: var(--brand-red);
}

.hero-text p {
    font-size: 1.125rem;
    color: #D1D5DB;
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 550px;
}

.slider-controls {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.slider-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-feature {
    color: #9CA3AF;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Home About Section */
.home-about {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.home-about-content h4 {
    color: var(--brand-red);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.home-about-content h2 {
    font-size: 2.5rem;
    color: var(--brand-blue-dark);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.home-about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.home-about-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.home-about-content ul li {
    margin-bottom: 12px;
    color: var(--brand-blue-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.home-about-content ul li i {
    color: var(--brand-red);
    font-size: 1.1rem;
    margin-top: 3px;
}

.home-about-img {
    position: relative;
    padding-bottom: 20px;
}

.home-about-img img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: 20px;
    background: var(--brand-red);
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 130, 202, 0.4);
    text-align: center;
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    color: white;
}

.experience-badge p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (min-width: 992px) {
    .home-about .flex {
        align-items: center;
    }

    .home-about-content {
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .experience-badge {
        right: 10px;
        bottom: -10px;
        padding: 15px 25px;
    }

    .experience-badge h3 {
        font-size: 1.8rem;
    }
}

/* Value Cards Section */
.value-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 130, 202, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 130, 202, 0.15);
}

.value-card:hover::before {
    opacity: 1;
}

.value-card.active {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 130, 202, 0.1);
    color: var(--brand-red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
}

.value-card.active .value-icon {
    background: var(--brand-red);
    color: white;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--brand-red);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 130, 202, 0.3);
}

.value-card h3 {
    font-size: 1.4rem;
    color: var(--brand-blue-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .home-values .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-white);
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 10;
    margin-top: 0;
    border-radius: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stats-bar:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.stats-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(0, 130, 202, 0.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--brand-blue-dark);
    display: inline-block;
    transition: color 0.3s ease;
}

.stat-item:hover h3 {
    color: var(--brand-red);
}

.stat-item span {
    font-size: 2rem;
    color: var(--brand-red);
    font-weight: 800;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-item:hover span {
    transform: scale(1.2) rotate(10deg);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    margin: 0;
}

.stat-item:hover p {
    color: var(--brand-blue-dark);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--brand-blue-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* Product Filter */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--brand-red);
    color: var(--brand-blue-dark);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(0, 130, 202, 0.1);
}

.filter-btn.active {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 130, 202, 0.4);
}

.product-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-item.hidden {
    display: none !important;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-red);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.category-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    border-color: rgba(0, 130, 202, 0.3);
}

.cat-image {
    height: 240px;
    background-color: #E5E7EB;
    position: relative;
    overflow: hidden;
}

.img-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    background: #F3F4F6;
    font-weight: 500;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .cat-image img,
.category-card:hover .img-placeholder-small {
    transform: scale(1.1);
}

.cat-content {
    padding: 24px;
}

.cat-content h3 {
    font-size: 1.25rem;
    color: var(--brand-blue-dark);
    margin-bottom: 8px;
}

.cat-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cat-link {
    font-weight: 700;
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.cat-link:hover {
    gap: 12px;
}

/* Icon Product Grid */
.product-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.icon-product-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.icon-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 130, 202, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.icon-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 130, 202, 0.2);
}

.icon-product-card:hover::before {
    opacity: 1;
}

.ipc-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 130, 202, 0.1);
    color: var(--brand-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-product-card:hover .ipc-icon {
    background: var(--brand-red);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(0, 130, 202, 0.3);
}

.icon-product-card h3 {
    font-size: 1.15rem;
    color: var(--brand-blue-dark);
    font-weight: 800;
    margin-bottom: 12px;
}

.icon-product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.ipc-link {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.ipc-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.icon-product-card:hover .ipc-link {
    color: var(--brand-blue-dark);
}

.icon-product-card:hover .ipc-link i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .product-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-icon-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer (Apollo Style) */
.footer {
    background-color: var(--brand-blue-dark);
    color: white;
    position: relative;
    border-top: 4px solid var(--brand-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.8fr 1.5fr;
    gap: 40px;
    padding: 80px 0 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
}

.footer-logo .logo-text span {
    color: var(--brand-red);
}

.brand-col p {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 6px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--brand-red);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
    position: relative;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9CA3AF;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.footer-col ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-red);
    transition: var(--transition);
    margin-top: 8px;
    flex-shrink: 0;
}

.footer-col ul li a:hover {
    color: white;
    transform: translateX(6px);
}

.contact-col p {
    color: #9CA3AF;
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    line-height: 1.5;
    font-weight: 500;
    align-items: flex-start;
}

.contact-col i {
    color: var(--brand-red);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        border-top: none;
        padding-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mega-menu {
        display: none;
    }

    .hero-text h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .stats-bar {
        margin-top: 0;
        border-radius: 0;
    }

    .stats-bar .container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-col {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .top-contact {
        display: none;
    }

    .top-social {
        margin: 0 auto;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.grid-3>div:nth-child(1),
.grid-4>div:nth-child(1) {
    transition-delay: 0.1s;
}

.grid-3>div:nth-child(2),
.grid-4>div:nth-child(2) {
    transition-delay: 0.2s;
}

.grid-3>div:nth-child(3),
.grid-4>div:nth-child(3) {
    transition-delay: 0.3s;
}

.grid-3>div:nth-child(4),
.grid-4>div:nth-child(4) {
    transition-delay: 0.4s;
}

.grid-3>div:nth-child(5) {
    transition-delay: 0.1s;
}

.grid-3>div:nth-child(6) {
    transition-delay: 0.2s;
}

/* Apollo Products Page Redesign */
.products-hero {
    background-color: #0b1121;
    background-image: linear-gradient(to right, #0b1121 40%, rgba(11, 17, 33, 0.3) 100%), url('https://images.unsplash.com/photo-1590846406792-0adc7f938f1d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center right;
    padding: 100px 0 160px;
    color: white;
    text-align: left;
    position: relative;
}

.products-hero-content {
    max-width: 800px;
}

@keyframes productsHeroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: var(--brand-red);
    text-transform: uppercase;
    opacity: 0;
    animation: productsHeroFadeInUp 0.8s ease-out forwards;
}

.products-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    opacity: 0;
    animation: productsHeroFadeInUp 0.8s ease-out 0.2s forwards;
}

.highlight-blue {
    color: var(--brand-red);
}

.products-hero p {
    font-size: 1.15rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
    opacity: 0;
    animation: productsHeroFadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: productsHeroFadeInUp 0.8s ease-out 0.6s forwards;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Products Stats Section */
.products-stats-section {
    background: transparent;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.products-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.p-stat-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.p-stat-card:hover {
    transform: translateY(-8px);
}

.p-stat-card h2 {
    font-size: 2.8rem;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.p-stat-card h4 {
    font-size: 1rem;
    color: var(--brand-blue-dark);
    margin-bottom: 5px;
}

.p-stat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Apollo Categories Section */
.apollo-categories-section {
    padding: 80px 0;
    background: white;
}

.section-header-apollo {
    text-align: center;
    margin-bottom: 60px;
}

.apollo-subtitle {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.section-header-apollo h2 {
    font-size: 2.5rem;
    color: var(--brand-blue-dark);
    margin-bottom: 20px;
}

.section-header-apollo p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.apollo-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (min-width: 992px) {
    .apollo-cat-grid>a:nth-child(1) {
        grid-column: span 1;
        grid-row: span 2;
    }

    .apollo-cat-grid>a:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .apollo-cat-grid>a:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.apollo-cat-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    min-height: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.apollo-cat-grid>a:nth-child(1) {
    min-height: 590px;
}

.apollo-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 130, 202, 0.2);
}

.apollo-cat-card .card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.apollo-cat-card:hover .card-bg {
    transform: scale(1.05);
}

.apollo-cat-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 33, 0.95) 0%, rgba(11, 17, 33, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
}

.apollo-cat-card .card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.apollo-cat-card .card-badge i {
    font-size: 1.1rem;
}

.apollo-cat-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.apollo-cat-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.apollo-cat-card:hover h3 {
    color: var(--brand-red);
}

.apollo-cat-card .explore-link {
    color: #63b3ed;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    transition: opacity 0.3s ease, gap 0.3s ease;
}

.apollo-cat-card:hover .explore-link {
    opacity: 1;
    gap: 12px;
}

/* Kitchen Types Section */
.kitchen-types-section {
    padding: 80px 0;
    background: #f8fafc;
}

.kitchen-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.kitchen-type-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.kitchen-type-card .kt-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.kitchen-type-card:hover .kt-bg {
    transform: scale(1.05);
}

.kitchen-type-card .kt-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 17, 33, 0.95) 0%, rgba(11, 17, 33, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.kitchen-type-card .kt-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
}

.kitchen-type-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.kt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kt-tag {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kt-more {
    color: #63b3ed;
    border-color: rgba(99, 179, 237, 0.3);
}

@media (max-width: 991px) {

    .apollo-cat-grid,
    .products-stats-grid,
    .kitchen-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .apollo-cat-grid,
    .products-stats-grid,
    .kitchen-type-grid {
        grid-template-columns: 1fr;
    }
}


/* Sticky Sidebar (Janshakti Style) */
.sticky-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(0);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: 50px;
    transition: transform 0.3s ease;
}

.sticky-sidebar.collapsed {
    transform: translateY(-50%) translateX(50px);
}

.sidebar-toggle {
    background: #2b3a55;
    /* dark blue */
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px 0 0 0;
    font-size: 1.2rem;
    transition: background 0.3s;
    position: relative;
}

.sticky-sidebar.collapsed .sidebar-toggle {
    transform: translateX(-50px);
    border-radius: 8px 0 0 8px;
    background: #000;
}

.sticky-sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.sidebar-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.sidebar-icon.email {
    background: #000;
}

.sidebar-icon.whatsapp {
    background: #25d366;
    border-radius: 0 0 0 8px;
}

.sidebar-icon:hover {
    opacity: 0.9;
    color: white;
}

/* Contact Form Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.show {
    display: flex;
    opacity: 1;
}

.contact-modal-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-modal.show .contact-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    color: var(--brand-blue-dark);
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.modal-form input:focus,
.modal-form textarea:focus {
    border-color: var(--brand-red);
}

/* Why Mahavir Responsive */
@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr !important;
    }

    .why-grid-item {
        align-items: flex-start;
    }
}

/* Stats Bar Override */
.stats-bar {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 0 60px 0 !important;
    margin-top: 40px !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stats-bar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.stats-bar .stat-item {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
    padding: 30px 20px !important;
    flex: 1;
    min-width: 220px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.3s ease !important;
}

.stats-bar .stat-item:hover {
    transform: translateY(-5px) !important;
}

.stats-bar .counter {
    color: var(--brand-blue-dark) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    display: inline-block;
    margin-bottom: 5px;
}

.stats-bar .stat-item span {
    color: var(--brand-red) !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
}

.stats-bar .stat-item p {
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
}

/* Industries We Serve Section */
.industries-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 350px;
    gap: 15px;
    margin-top: 40px;
}

.industry-card {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    border: 4px solid transparent;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    z-index: 1;
}

.industry-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.industry-content i {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.industry-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: white;
    transition: color 0.4s ease;
}

.industry-card.active,
.industry-card:hover {
    flex: 2.5;
    border: 4px solid transparent;
}

.industry-card.active .industry-overlay,
.industry-card:hover .industry-overlay {
    background: rgba(10, 25, 55, 0.65);
}

.industry-card.active .industry-content,
.industry-card:hover .industry-content {
    transform: scale(1.08);
    filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.8));
}

.industry-card.active .industry-content i,
.industry-card:hover .industry-content i,
.industry-card.active .industry-content h3,
.industry-card:hover .industry-content h3 {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

@media (max-width: 991px) {
    .industries-grid {
        flex-wrap: wrap;
        height: auto;
    }

    .industry-card {
        flex: 1 1 30%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .industry-card {
        flex: 1 1 100%;
        height: 200px;
    }
}

/* About Us Page Styles */
.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-card:hover .team-social {
    bottom: 0 !important;
}

.team-social a:hover {
    color: var(--brand-red) !important;
}

/* Responsive adjustments for Turnkey section */
.turnkey-list-wrapper {
    flex: 1;
    min-width: 300px;
    padding-left: 30px;
    border-left: 2px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .turnkey-list-wrapper {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(0, 0, 0, 0.05);
        padding-top: 20px;
    }

    .turnkey-project h2 {
        font-size: 2rem !important;
    }

    .turnkey-project p {
        font-size: 1.1rem !important;
    }

    .turnkey-project {
        padding: 40px 0 !important;
    }
}

/* Mobile Header Navigation Responsive Styles */
@media (max-width: 991px) {
    .mobile-show {
        display: block !important;
    }

    .custom-hori-menu {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .custom-hori-menu.active {
        display: block;
    }

    .custom-hori-menu .menu-primary {
        flex-direction: column;
        padding: 15px 25px;
        gap: 0;
    }

    .custom-hori-menu .menu-primary li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f1f1f1;
    }

    .custom-hori-menu .menu-primary li:last-child {
        border-bottom: none;
    }

    .custom-hori-menu .menu-primary a {
        display: block;
        padding: 12px 0;
    }

    .header-nav .container {
        flex-wrap: wrap;
        position: relative;
    }
}

/* Trusted By Marquee Styles */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-text {
    font-size: 1.7rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    cursor: default;
}

.client-logo-text:hover {
    color: var(--brand-blue-dark);
    transform: scale(1.05);
}

.client-logo-item {
    margin: 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.client-logo-item img {
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-item img:hover {
    transform: scale(1.05);
}

.client-logo-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}
/* --- Clients Page Redesign --- */

.clients-header {
    text-align: center;
    padding: 80px 20px 40px;
    background: #fff;
    position: relative;
}

.clients-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    z-index: 0;
}

.clients-header-content {
    position: relative;
    z-index: 1;
}

.clients-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.clients-subtitle-wrapper::before,
.clients-subtitle-wrapper::after {
    content: '';
    height: 1px;
    width: 150px;
    background: #d4af37;
    margin: 0 15px;
}

.clients-subtitle {
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.clients-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.clients-desc {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.clients-desc strong {
    color: var(--brand-blue-dark);
    font-weight: 700;
}

/* Stats Row */
.clients-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 40px auto 60px;
    background: transparent;
}

.c-stat-box {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
}
.c-stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: #e0e0e0;
}

.c-stat-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.c-stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.c-stat-text {
    font-size: 0.95rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Clients */
.featured-clients-wrapper {
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.section-divider::before, .section-divider::after {
    content: '';
    height: 1px;
    width: 250px;
    background: #e0e0e0;
    margin: 0 15px;
}
.section-divider span {
    color: #d4af37;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.featured-clients-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.featured-logo {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

/* Categorized Clients */
.client-categories-container {
    background: #fdfbf5;
    padding: 60px 0 0 0;
}

.client-category-row {
    max-width: 1100px;
    margin: 0 auto 30px;
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    min-height: 250px;
}

.cc-sidebar {
    width: 260px;
    background: #fdfbf5;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.cc-icon {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.cc-title {
    color: #a48222;
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.cc-grid {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
}

.cc-logo-item {
    width: calc(16.666% - 17px);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.cc-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.cc-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cc-logo-item .fallback-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #555;
    text-align: center;
}

/* Premium Client Cards */
.premium-card {
    background: white;
    border-radius: 12px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-bottom: 3px solid #072445;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.premium-card img {
    height: 52px;
    width: auto;
    object-fit: contain;
}
.premium-card .fallback-name {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
}
.premium-card .card-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Client Category Headers */
.client-cat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.cat-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1rem;
}
.cat-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cat-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* Client Name Tags */
.client-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ctag {
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
    background: rgba(255,255,255,0.06);
    color: #CBD5E1;
    border: 1px solid rgba(255,255,255,0.1);
}
.ctag-red:hover  { background: rgba(196,20,26,0.2); border-color: #C4141A; color: white; }
.ctag-orange:hover { background: rgba(247,148,29,0.2); border-color: #F7941D; color: white; }
.ctag-blue:hover { background: rgba(7,36,69,0.6); border-color: rgba(255,255,255,0.4); color: white; }

/* Footer Banner */
.clients-footer-banner {
    background: #fdfbf5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}
.cfb-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cfb-left, .cfb-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #555;
}
.cfb-icon {
    color: #d4af37;
    font-size: 1.6rem;
}
.cfb-highlight {
    color: #d4af37;
    font-weight: 700;
}

/* Responsive */
@media(max-width: 1150px) {
    .client-category-row, .cfb-content { margin: 0 20px 30px; }
}

@media(max-width: 900px) {
    .client-category-row {
        flex-direction: column;
    }
    .cc-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 20px;
        flex-direction: row;
        gap: 20px;
    }
    .cc-icon { margin-bottom: 0; font-size: 2.5rem; }
    .cc-grid { padding: 20px; }
    .cc-logo-item { width: calc(25% - 15px); }
    
    .c-stat-box:not(:last-child)::after { display: none; }
    .clients-stats-row { flex-wrap: wrap; gap: 20px; }
    .c-stat-box { flex: 1 1 40%; }
    
    .featured-clients-box { flex-wrap: wrap; gap: 20px; justify-content: center; }
    
    .cfb-content { flex-direction: column; gap: 15px; text-align: center; }
}

/* ============================================================
   INDUSTRIES WE SERVE SECTION (Home Page)
   ============================================================ */
.industries-grid {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    height: 320px;
}

.industry-card {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.5s ease;
}

.industry-card:hover,
.industry-card.active {
    flex: 2.5;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,31,64,0.85) 0%, rgba(13,31,64,0.3) 60%, transparent 100%);
    transition: background 0.4s ease;
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(13,31,64,0.92) 0%, rgba(13,31,64,0.5) 60%, rgba(13,31,64,0.2) 100%);
}

.industry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
    color: #fff;
    text-align: center;
    transform: translateY(8px);
    transition: transform 0.4s ease;
}

.industry-card:hover .industry-content {
    transform: translateY(0);
}

.industry-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.industry-card:hover .industry-content i {
    opacity: 1;
    transform: scale(1.1);
}

.industry-content h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

@media (max-width: 768px) {
    .industries-grid {
        flex-wrap: wrap;
        height: auto;
    }
    .industry-card {
        flex: 1 1 calc(50% - 0px);
        height: 180px;
    }
    .industry-card:hover,
    .industry-card.active {
        flex: 1 1 calc(50% - 0px);
    }
}

@media (max-width: 480px) {
    .industry-card {
        flex: 1 1 100%;
        height: 160px;
    }
}

/* ============================================================
   PRODUCT ICON GRID (Home Page Products Section)
   ============================================================ */
.product-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.icon-product-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.icon-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-blue-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.icon-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(13,31,64,0.12);
    border-color: rgba(13,31,64,0.1);
}

.icon-product-card:hover::before {
    transform: scaleX(1);
}

.ipc-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,31,64,0.07), rgba(13,31,64,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.7rem;
    color: var(--brand-blue-dark);
    transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.icon-product-card:hover .ipc-icon {
    background: linear-gradient(135deg, var(--brand-blue-dark), #1a4a8a);
    color: #fff;
    transform: rotateY(180deg);
}

.icon-product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.icon-product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ipc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-red);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}

.ipc-link:hover {
    gap: 10px;
    color: var(--brand-blue-dark);
}

/* animate-on-scroll for product cards */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated,
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .product-icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .icon-product-card {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .product-icon-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PRODUCT CATEGORY CARDS (Home Page â€” Real Image Grid)
   ============================================================ */
.prod-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.prod-cat-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #e8edf4;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.prod-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(13,31,64,0.13);
}

.pcc-img-wrap {
    width: 100%;
    height: 190px;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.prod-cat-card:hover .pcc-img-wrap {
    background: #eaf0f8;
}

.pcc-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.prod-cat-card:hover .pcc-img-wrap img {
    transform: scale(1.06);
}

.pcc-body {
    padding: 18px 20px 20px;
    border-top: 3px solid transparent;
    transition: border-color 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-cat-card:hover .pcc-body {
    border-top-color: var(--brand-red);
}

.pcc-body h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.pcc-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 14px;
    flex: 1;
}

.pcc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.25s ease;
}

.prod-cat-card:hover .pcc-link {
    gap: 9px;
}

@media (max-width: 1200px) {
    .prod-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .prod-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .pcc-img-wrap {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .prod-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pcc-img-wrap {
        height: 130px;
        padding: 12px;
    }
    .pcc-body {
        padding: 14px;
    }
}



/* ============================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ============================================================ */
@media (max-width: 768px) {
    /* 1. Global Typography & Spacing */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.4rem !important; }
    h4 { font-size: 1.2rem !important; }

    section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .page-header {
        padding: 30px 0 !important;
    }

    .page-header h1 {
        font-size: 1.6rem !important;
        text-align: center;
        width: 100%;
    }

    .breadcrumbs {
        text-align: center;
        width: 100%;
        margin-top: 10px;
    }

    /* 2. Header & Navigation */
    .top-header-inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }
    .top-contact-details, .top-social-details {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .top-contact-details span { 
        display: none; 
    }
    
    .mobile-show {
        display: block !important;
    }
    .menu-primary {
        display: none; /* Hide standard menu on mobile until clicked if JS handles it, otherwise just rely on existing media queries */
    }

    /* 3. Core Grid & Flex Layouts */
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .flex {
        flex-wrap: wrap;
    }
    
    /* 4. Page-Specific Components */
    .hero-slider {
        height: auto;
        min-height: 80vh;
    }
    .hero-text h2 {
        font-size: 2.2rem !important;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .slide-buttons {
        flex-direction: column;
        width: 100%;
    }
    .slide-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 30px;
    }
    .footer-col.brand-col .social-links,
    .footer-col.contact-col p {
        justify-content: center;
    }
    
    input, textarea, select {
        width: 100% !important;
        max-width: 100% !important;
    }
}


