/* Shuttering page hero: improve text contrast with a subtle overlay */
.shuttering-page .hero-content {
	position: relative;
	padding: 16px;
	border-radius: 12px;
	color: #fff;
}

.shuttering-page .hero-content .badge,
.shuttering-page .hero-content .btn,
.shuttering-page .hero-content small {
	position: relative;
	z-index: 1;
}

.shuttering-page .hero-content::before { display: none; }

@media (max-width: 767.98px) {
	.shuttering-page .hero-content { padding: 12px; border-radius: 10px; }
}

/* Shuttering hero text enhancements */

.product-hero-light {
	/* mimic shuttering page hero text colors */
	background: transparent !important;
	color: #333333;
}

.product-hero-light h1 { color: #333333; text-shadow: 0 3px 10px rgba(0,0,0,0.2); }
.product-hero-light .lead { color: #333333; }
.product-hero-light .list-unstyled li,
.product-hero-light small { color: #333333; }
.product-hero-light .btn-outline-success,
.product-hero-light .btn-outline-primary { color: #333333; }
.product-hero-light .btn-outline-success:hover,
.product-hero-light .btn-outline-primary:hover { border-color: #ffffff; }
.shuttering-page .hero-content h1 {
	color: #333333; /* warm golden with slight red hue */
	text-shadow: 0 3px 10px rgba(0,0,0,0.6), 0 1px 0 rgba(0,0,0,0.4);
	letter-spacing: 0.2px;
}

.shuttering-page .hero-content .lead {
	color: #333333;
	
}
.shuttering-page .hero-content .list-unstyled li,
.shuttering-page .hero-content small {
	color: #333333;
}

.shuttering-page .hero-content .btn-warning {
	box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.shuttering-page .hero-content .badge.bg-success {
	background-color: rgba(25, 135, 84, 0.95) !important;
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.shuttering-page .hero-content .btn-outline-success {
	color: #333333;
	
	
}
.shuttering-page .hero-content .btn-outline-success:hover {
	color: #0f5132;
	
	border-color: #ffffff;
}
/* Sheets page card fixes: prevent button wrapping and align badges/buttons */
@media (min-width: 768px) and (max-width: 991.98px) {
	.sheets-page .card .card-body .d-flex.justify-content-between {
		gap: 12px;
		flex-wrap: wrap; /* allow wrap instead of overflow */
	}
	.sheets-page .card .card-body .d-flex.justify-content-between span.badge {
		white-space: nowrap;
	}
	.sheets-page .card .card-body .d-flex.justify-content-between a.btn {
		white-space: nowrap;
		max-width: 100%;
		flex: 1 1 auto;
	}
	.sheets-page .card .btn.btn-success.btn-sm {
		min-width: 140px;
	}
}

/* Lacquer Polishes hero caption - always visible and readable on small screens */
.lacquer-hero-caption {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 92%;
	max-width: 720px;
	padding: 12px 14px;
	background: rgba(0,0,0,0.45);
	border-radius: 10px;
	color: #fff;
}

.lacquer-hero-caption h1,
.lacquer-hero-caption h2 { color: #fff; font-weight: 800; text-shadow: 0 3px 12px rgba(0,0,0,0.6); }
.lacquer-hero-caption p.lead { color: rgba(255,255,255,0.95); text-shadow: 0 2px 8px rgba(0,0,0,0.6); }

@media (max-width: 767.98px) {
	.lacquer-hero-caption { padding: 10px 12px; width: 96%; max-width: none; }
	.lacquer-hero-caption h1 { font-size: 1.5rem; }
	.lacquer-hero-caption h2 { font-size: 1.25rem; }
	.lacquer-hero-caption p.lead { font-size: 0.95rem; margin-bottom: 0.6rem; }
}

/* Ensure lacquer hero images aren't cropped; maintain full image visibility */
.lacquer-hero .carousel,
.lacquer-hero .carousel-inner,
.lacquer-hero .carousel-item { height: 520px; }

.lacquer-hero .carousel-item img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important; /* show full image */
	object-position: center center !important;
	background-color: #000; /* pad with black where needed */
}

@media (max-width: 767.98px) {
	.lacquer-hero .carousel,
	.lacquer-hero .carousel-inner,
	.lacquer-hero .carousel-item { height: 360px; }
}

/* Center carousel controls vertically and correct arrow direction on Lacquer page and product gallery */
.lacquer-hero .carousel-control-prev,
.lacquer-hero .carousel-control-next,
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	width: 8%;
}

/* Ensure the next control points right if any overrides flipped it */
.lacquer-hero .carousel-control-next-icon,
#productCarousel .carousel-control-next-icon { transform: rotate(180deg); filter: drop-shadow(0 0 2px rgba(0,0,0,0.5)); }
.lacquer-hero .carousel-control-prev-icon,
#productCarousel .carousel-control-prev-icon { transform: none; filter: drop-shadow(0 0 2px rgba(0,0,0,0.5)); }

@media (min-width: 992px) {
	.sheets-page .card .card-body { padding: 18px; }
	.sheets-page .card .card-title { margin-bottom: 10px; }
	.sheets-page .card .card-text { margin-bottom: 14px; }
}

/* Sheets page: enforce consistent card heights and image areas */
@media (min-width: 768px) and (max-width: 991.98px) {
	.sheets-page .card {
		display: flex;
		flex-direction: column;
		height: 560px; /* fixed height on medium screens */
	}
	.sheets-page .card .carousel,
	.sheets-page .card .carousel-inner,
	.sheets-page .card .carousel-item { height: 260px; }
	.sheets-page .card .carousel-item img {
		width: 100%; height: 100%; object-fit: cover; object-position: center;
	}
	.sheets-page .card .card-body { flex: 1 1 auto; overflow: hidden; }
}

@media (min-width: 992px) {
	.sheets-page .card {
		display: flex;
		flex-direction: column;
		height: 600px; /* fixed height on large screens */
	}
	.sheets-page .card .carousel,
	.sheets-page .card .carousel-inner,
	.sheets-page .card .carousel-item { height: 300px; }
	.sheets-page .card .carousel-item img {
		width: 100%; height: 100%; object-fit: cover; object-position: center;
	}
	.sheets-page .card .card-body { flex: 1 1 auto; overflow: hidden; }
}

/* Sheets page: stabilize heights on small/mobile screens */
@media (max-width: 767.98px) {
	.sheets-page .card {
		display: flex;
		flex-direction: column;
		height: 540px; /* fixed overall height on mobile */
	}
	.sheets-page .card .carousel,
	.sheets-page .card .carousel-inner,
	.sheets-page .card .carousel-item { height: 240px; }
	.sheets-page .card .carousel-item img {
		width: 100%; height: 100%; object-fit: cover; object-position: center;
	}
	.sheets-page .card .card-body { flex: 1 1 auto; overflow: hidden; }
}
/* Ensure topbar action button icons stay white (prevent accent flash) */
.enhanced-top-bar .top-bar-actions .action-btn i {
	color: #fff !important;
}

.enhanced-top-bar .top-bar-actions .action-btn:hover i,
.enhanced-top-bar .top-bar-actions .action-btn:focus i,
.enhanced-top-bar .top-bar-actions .action-btn:active i {
	color: #fff !important;
}
/* ============================================= */
/* MISHIKA PAVER SOLUTIONS - ROBUST CSS SYSTEM */
/* ============================================= */

/* CSS Variables for consistent theming */
:root {
    /* Colors */
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #ffd700;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --muted-color: #6c757d;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --accent-gradient: linear-gradient(45deg, #ffd700, #ffed4e);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    
    /* Z-Index System */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Top Bar Heights */
    --top-bar-height: 90px;
    --top-bar-height-mobile: 100px;
    --top-bar-height-small: 100px;
    --top-bar-height-xs: 120px;
    
    /* Card Dimensions */
    --card-image-height: 300px;
    --card-image-height-mobile: 250px;
    --card-image-height-small: 220px;
    --card-min-height: 650px;
    --card-min-height-mobile: 500px;
}

/* ============================================= */
/* GLOBAL RESET & BASE STYLES */
/* ============================================= */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    margin-top: var(--top-bar-height);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ============================================= */
/* TOP BAR SYSTEM */
/* ============================================= */

.enhanced-top-bar {
    background: var(--primary-gradient);
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    width: 100%;
    min-height: var(--top-bar-height);
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow: visible;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: calc(var(--z-fixed) + 1);
    height: 100%;
    background: inherit;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: calc(var(--z-fixed) + 1);
    height: 100%;
    min-height: var(--top-bar-height);
    background: inherit;
}

/* Logo and Company Info */
.top-bar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
    position: relative;
    z-index: calc(var(--z-fixed) + 1);
    overflow: visible;
}

.top-bar-logo {
    height: 80px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.top-bar-logo:hover {
    transform: scale(1.05);
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: white;
}

.company-tagline {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: var(--accent-color);
}

.gst-number {
    font-size: 0.85rem;
    margin: 0;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--accent-color);
    font-weight: 600;
    width: 100%;
    text-align: center;
}

/* Contact Information */
.top-bar-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-item i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

.contact-text {
    color: white;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Action Buttons */
.top-bar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn i {
    font-size: 1.1rem;
    color: var(--accent-color);
}

.btn-text {
    display: inline;
}

/* ============================================= */
/* NAVIGATION SYSTEM */
/* ============================================= */

.main-navigation {
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: var(--z-sticky);
    margin-top: 0;
}

.main-navigation .navbar-nav {
    gap: 0;
}

.main-navigation .nav-link {
    padding: 15px 20px;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin: 2px 0;
    border-radius: 0;
}

.main-navigation .nav-link:hover {
    color: var(--primary-color);
    background: var(--light-color);
    border-bottom-color: var(--primary-color);
    transform: translateY(-2px);
}

.main-navigation .nav-link i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* Dropdown Styles */
.main-navigation .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    padding: 0;
    margin-top: 0;
    min-width: 200px;
}

.main-navigation .dropdown-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--light-color);
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.main-navigation .dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.main-navigation .dropdown-item i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 16px;
}

/* ============================================= */
/* HERO SECTION SYSTEM */
/* ============================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    height: 600px;
}

.hero-section .carousel {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
    position: relative;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.hero-section .caption-content {
    display: inline-block;
    padding: 30px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(8px);
    color: white;
}

/* ============================================= */
/* RESPONSIVE DESIGN FOR TOP BAR */
/* ============================================= */
@media (max-width: 768px) {
    /* Ensure the container uses full width and is a flexbox */
    .top-bar-actions {
        display: flex;
        width: 100%; /* Make sure the container spans the full width */
        gap: 10px; /* Space between the buttons */
        margin-top: 5px;
    }

    /* Make each button grow to fill the available space */
    .action-btn {
        flex-grow: 1; /* This is the key change */
        padding: 8px 10px;
        font-size: 0.9rem;
        /* Keep existing circular styles */
        width: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
        color: white;
    }
}

/* Hero carousel controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}

.hero-section .carousel-control-prev {
    left: 20px;
}

.hero-section .carousel-control-next {
    right: 20px;
}

/* Hero indicators */
.hero-section .carousel-indicators {
    bottom: 30px;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.hero-section .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

.hero-section .carousel {
    height: 600px;
}

.hero-section .carousel-item {
    height: 100%;
    position: relative;
}

.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Duplicate removed - unified caption styles defined above */

.hero-section .caption-content {
    display: inline-block;
    padding: 30px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(8px);
    color: white;
}

/* Custom Hero Text */
.custom-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.custom-hero-text .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.custom-hero-text .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

/* Hover Effects for custom hero text */
.custom-hero-text:hover .hero-title {
    color: var(--accent-color);
    transform: scale(1.05);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.custom-hero-text:hover .hero-subtitle {
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

/* ============================================= */
/* RESPONSIVE DESIGN FOR MOBILE */
/* ============================================= */

/* Adjust hero section height for mobile devices */
@media (max-width: 768px) {
    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-item {
        height: 550px; /* Adjust height for mobile devices */
    }

    .hero-section .caption-content {
        padding: 20px;
    }

    .custom-hero-text .hero-title {
        font-size: 2rem; /* Make the title smaller on mobile */
    }

    .custom-hero-text .hero-subtitle {
        font-size: 1rem; /* Make the subtitle smaller on mobile */
    }
}

/* ============================================= */
/* ENHANCED PAVER HERO SECTION */
/* ============================================= */

.paver-hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #667eea 100%);
    overflow: hidden;
    margin-top: 0;
    z-index: 100;
    padding: 80px 0;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/PaverBlockMould/block-c.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
    filter: blur(1px);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.badge-container .badge {
        font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle-hindi {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    opacity: 0.9;
    font-family: 'Arial Unicode MS', 'Arial', sans-serif;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.highlight-text {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-features {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.feature-item i {
    font-size: 1.2rem;
    margin-right: 12px;
    color: var(--success-color);
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
        width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.floating-product {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    animation: floatProduct 8s ease-in-out infinite;
}

.floating-product img {
    width: 200px;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@keyframes floatProduct {
    0%, 100% { transform: translateY(-50%) translateX(0px); }
    50% { transform: translateY(-50%) translateX(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: white;
    font-size: 2rem;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* ============================================= */
/* UNIFIED CARD SYSTEM */
/* ============================================= */

/* Card Grid Container */
.card-grid {
    display: grid;
    /* Mobile first: single column by default */
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
    padding: 0 15px;
    max-width: 100%;
    width: 100%;
}

/* Medium screens (tablets) - 2 columns */
@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 30px 0;
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }

    /* Center the mould categories grid on medium screens */
    .centered-grid {
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Large screens (desktop) - 3 columns with centered container */
@media (min-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin: 40px 0;
        padding: 0;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        width: auto;
    }

    /* Centered grid variant for specific pages (e.g., paver moulds) */
    .centered-grid {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        grid-template-columns: repeat(2, 1fr) !important; /* only two cards, center them */
        justify-content: center;
    }
}

/* Extra large screens - maintain 3 columns with larger gaps */
@media (min-width: 1200px) {
    .card-grid {
        gap: 40px;
    }

    .centered-grid {
        max-width: 1320px;
        grid-template-columns: repeat(2, 1fr) !important;
        justify-content: center;
    }
}

@media (min-width: 1400px) {
    .card-grid {
        gap: 50px;
    }

    .centered-grid {
        max-width: 1440px;
        grid-template-columns: repeat(2, 1fr) !important;
        justify-content: center;
    }
}

/* Specific card styling to match previous appearance */
.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Button styling to match previous appearance */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    text-decoration: none;
}

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

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

.btn-warning {
    color: #212529;
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-success {
    color: #fff;
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

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

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

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

.btn-outline-warning:hover {
    color: #212529;
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

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

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

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

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

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

.btn-outline-secondary:hover {
    color: #fff;
    background-color: var(--muted-color);
    border-color: var(--muted-color);
}

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

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

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
    background-color: transparent;
}

.btn-outline-light:hover {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

/* Specific card styling to match previous appearance */
.card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    background: white;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.375rem 0.375rem 0 0;
}

.card-body {
    padding: 1.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Button styling to match previous appearance */
.btn {
        display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    text-decoration: none;
}

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

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

.btn-warning {
    color: #212529;
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-success {
    color: #fff;
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

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

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

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

.btn-outline-warning:hover {
    color: #212529;
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

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

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

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

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

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

.btn-outline-secondary:hover {
    color: #fff;
    background-color: var(--muted-color);
    border-color: var(--muted-color);
}

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

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

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
    background-color: transparent;
}

.btn-outline-light:hover {
    color: #212529;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

/* Card Base Styles */
.category-card,
.product-card {
    height: auto;
    min-height: var(--card-min-height);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: visible;
    background: white;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ensure cards work properly in grid */
.card-grid .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-grid .category-card,
.card-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Specific styling for category cards to match previous appearance */
.category-card .carousel,
.product-card .carousel {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    overflow: hidden;
    background-color: var(--light-color);
    position: relative;
    height: var(--card-image-height);
}

.category-card .carousel-inner,
.product-card .carousel-inner {
    height: 100%;
}

.category-card .carousel-item,
.product-card .carousel-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
}

/* Category card images */
.category-card img,
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.category-card:hover img,
.product-card:hover img {
    transform: scale(1.05);
}

/* Category card body */
.category-card .card-body,
.product-card .card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
        flex: 1;
    min-height: 400px;
}

.category-card .card-title,
.product-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    line-height: 1.3;
}

.category-card .card-text,
.product-card .card-text {
    color: var(--muted-color);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    min-height: 100px;
}

/* Category card buttons */
.category-card .card-buttons-container,
.product-card .card-buttons-container {
    margin-top: auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.category-card .card-primary-button,
.category-card .card-secondary-button,
.product-card .card-primary-button,
.product-card .card-secondary-button {
    padding: 14px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    min-width: 140px;
}

.category-card .card-primary-button,
.product-card .card-primary-button {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.category-card .card-primary-button:hover,
.product-card .card-primary-button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-card .card-secondary-button,
.product-card .card-secondary-button {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.category-card .card-secondary-button:hover,
.product-card .card-secondary-button:hover {
    background: #218838;
    border-color: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Card Image Container */
    .category-card .carousel,
.product-card .carousel {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    overflow: hidden;
    background-color: var(--light-color);
    position: relative;
}

    .category-card .carousel-inner,
.product-card .carousel-inner {
    height: auto;
    min-height: var(--card-image-height);
}

.category-card .carousel-item,
.product-card .carousel-item {
    height: auto;
    min-height: var(--card-image-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
}

/* Card Images */
.category-card img,
.product-card img {
    width: 100%;
    height: auto;
    max-height: var(--card-image-height);
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: var(--light-color);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.category-card:hover img,
.product-card:hover img {
    transform: scale(1.05);
}

/* Card Body */
.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 400px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    line-height: 1.3;
}

.card-text {
    color: var(--muted-color);
        line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
    min-height: 100px;
}

/* Override any conflicting Bootstrap styles */
.category-card .card-body {
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 400px !important;
}

.category-card .card-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 18px !important;
    line-height: 1.3 !important;
}

.category-card .card-text {
    color: var(--muted-color) !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
    flex-grow: 1 !important;
    min-height: 100px !important;
}

/* Card Buttons */
    .card-buttons-container {
    margin-top: auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    }
    
    .card-primary-button,
    .card-secondary-button {
    padding: 14px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
    min-width: 140px;
}

.card-primary-button {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    text-decoration: none !important;
}

.card-primary-button:hover {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

.card-secondary-button {
    background: var(--success-color) !important;
    color: white !important;
    border-color: var(--success-color) !important;
    text-decoration: none !important;
}

.card-secondary-button:hover {
    background: #218838 !important;
    border-color: #218838 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

/* Carousel Controls */
.category-card .carousel-control-prev,
.category-card .carousel-control-next,
.product-card .carousel-control-prev,
.product-card .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.category-card .carousel-control-prev:hover,
.category-card .carousel-control-next:hover,
.product-card .carousel-control-prev:hover,
.product-card .carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.category-card .carousel-control-prev,
.product-card .carousel-control-prev {
    left: 10px;
}

.category-card .carousel-control-next,
.product-card .carousel-control-next {
    right: 10px;
}

/* Carousel indicators for category cards */
.category-card .carousel-indicators,
.product-card .carousel-indicators {
    bottom: 10px;
}

.category-card .carousel-indicators button,
.product-card .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.category-card .carousel-indicators button.active,
.product-card .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

/* ============================================= */
/* RESPONSIVE DESIGN SYSTEM */
/* ============================================= */

/* Medium screens (tablets) */
@media (max-width: 991.98px) {
    .enhanced-top-bar {
        min-height: auto;
    }
    
    .top-bar-content {
        min-height: auto;
        padding: 6px 0;
        gap: 8px;
    }
    
    .top-bar-brand {
        flex-direction: row;
        gap: 12px;
        min-width: auto;
        flex: 1;
        align-items: center;
    }
    
    .company-name {
        font-size: 1.2rem;
        text-align: left;
    }
    
    .company-tagline {
        font-size: 0.8rem;
        text-align: left;
        margin-bottom: 2px;
    }
    
    .gst-number {
        text-align: left;
        width: auto;
        display: inline-block;
    }
    
    .top-bar-contact {
        flex-direction: row;
        gap: 12px;
        margin: 0;
    }
    
    .top-bar-actions {
        justify-content: center;
        gap: 10px;
    }
    
    .top-bar-logo {
        height: 95px;
        max-width: 190px;
    }

    .main-navigation .navbar-nav {
        gap: 0;
    }

    .main-navigation .nav-link {
        padding: 15px 20px;
        margin: 2px 0;
        border-radius: 0;
        border-bottom: 1px solid var(--light-color);
    }

    .main-navigation .nav-link:hover {
        transform: none;
        background: var(--light-color);
    }
    
    /* Hero adjustments */
    .hero-section .carousel {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    /* Card adjustments - removed conflicting grid rules */
    
    .category-card,
    .product-card {
        min-height: var(--card-min-height-mobile);
    }
    
    .category-card img,
    .product-card img {
        max-height: var(--card-image-height-mobile);
    }
    
    .card-body {
        padding: 20px;
        min-height: 350px;
    }
}

/* Medium screens (>=768px) improve card spacing and buttons */
@media (min-width: 768px) and (max-width: 991.98px) {
	.category-card .card-body,
	.product-card .card-body {
		padding: 18px;
	}
	.category-card .card-title,
	.product-card .card-title {
		font-size: 1.25rem;
		margin-bottom: 8px;
	}
	.category-card .card-text,
	.product-card .card-text {
		margin-bottom: 12px;
	}
	.category-card .card-buttons-container,
	.product-card .card-buttons-container {
		gap: 10px;
		flex-wrap: nowrap;
		justify-content: space-between;
		width: 100%;
	}
	.category-card .card-primary-button,
	.category-card .card-secondary-button,
	.product-card .card-primary-button,
	.product-card .card-secondary-button {
		padding: 10px 16px;
		white-space: nowrap;
		font-size: 0.95rem;
	}
}

/* Large screens (>=992px) tighten spacing slightly to avoid excessive whitespace */
@media (min-width: 992px) {
	.category-card .card-body,
	.product-card .card-body {
		padding: 20px;
	}
	.category-card .card-title,
	.product-card .card-title {
		font-size: 1.3rem;
	}
	.category-card .card-text,
	.product-card .card-text {
		margin-bottom: 14px;
	}
	.category-card .card-buttons-container,
	.product-card .card-buttons-container {
		gap: 12px;
		flex-wrap: nowrap;
	}
	.category-card .card-primary-button,
	.category-card .card-secondary-button,
	.product-card .card-primary-button,
	.product-card .card-secondary-button {
		padding: 12px 18px;
		white-space: nowrap;
	}
}

/* Small screens (mobile) */
@media (max-width: 767.98px) {
    .enhanced-top-bar {
        min-height: auto;
    }
    
    .top-bar-container {
        padding: 0 15px;
    }
    
    .top-bar-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        min-height: auto;
        padding: 8px 0;
        gap: 10px;
    }
    
    .top-bar-brand {
        order: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .top-bar-actions {
        order: 2;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 5px;
    }
    
    .top-bar-actions .action-btn {
        padding: 6px 20px;
        font-size: 0.9rem;
        min-width: 90px;
        height: 36px;
    }
    
    .top-bar-actions .btn-text {
        display: none;
    }
    
    .top-bar-actions .action-btn i {
        font-size: 1.1rem;
    }
    
    /* Force full width for cards on mobile */
    .card-grid {
        padding: 0 10px !important;
        margin: 15px 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    /* Force full width for hero section on mobile */
.hero-section {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        width: 100% !important;
    }
    
    /* Override container-fluid padding on mobile */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .company-tagline {
        font-size: 0.8rem;
    }
    
    .top-bar-contact {
        display: none;
    }
    
    .top-bar-actions {
        flex-wrap: wrap;
    justify-content: center;
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .btn-text {
        display: none;
    }
    
    .action-btn i {
        font-size: 1.2rem;
        color: var(--accent-color);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    }
    
    .top-bar-logo {
        height: 110px;
        max-width: 180px;
    }
    
    /* Hero adjustments */
    .hero-section .carousel {
        height: 400px;
    }
    
    .hero-section .carousel-caption {
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Card adjustments - removed conflicting grid rules */
    
    .category-card,
    .product-card {
        min-height: var(--card-min-height-mobile);
    }
    
    .category-card img,
    .product-card img {
        max-height: var(--card-image-height-small);
    }
    
    .card-body {
        padding: 20px;
        min-height: 300px;
    }
    
    .card-buttons-container {
        flex-direction: column;
    }
    
    .card-primary-button,
    .card-secondary-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Paver hero adjustments */
    .paver-hero-section {
        min-height: 60vh;
        padding: 40px 0;
    }
    
    .floating-product {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .badge-container .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 8px;
    }
    
    .hero-features {
        margin-bottom: 1rem;
    }
    
    .feature-item {
    font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Medium screens (tablets) ensure consistent hero height and image fit */
@media (min-width: 768px) and (max-width: 991.98px) {
	.hero-section,
	.hero-section .carousel,
	.hero-section .carousel-inner,
	.hero-section .carousel-item {
		height: 550px !important;
		min-height: 550px !important;
	}

	.hero-section .carousel-item img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		object-position: center center !important;
		display: block !important;
	}
}

/* Extra small screens */
@media (max-width: 575.98px) {
    .enhanced-top-bar {
        min-height: auto;
    }
    
    .top-bar-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 6px 0;
        min-height: auto;
        gap: 8px;
    }
    
    .top-bar-brand {
        order: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    .top-bar-actions {
        order: 2;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 5px;
    }
    
    .top-bar-actions .action-btn {
        padding: 5px 18px;
        font-size: 0.85rem;
        min-width: 55px;
        height: 32px;
    }
    
    .top-bar-actions .btn-text {
        display: none;
    }
    
    .top-bar-actions .action-btn i {
        font-size: 1rem;
    }
    
    /* Force full width for cards on extra small screens */
    .card-grid {
        padding: 0 8px !important;
        margin: 10px 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    /* Force full width for hero section on extra small screens */
    .hero-section {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
    }
    
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        width: 100% !important;
    }
    
    /* Override container-fluid padding on extra small screens */
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .top-bar-brand {
        flex-direction: row;
        gap: 12px;
        margin: 0;
        align-items: center;
    }
    
    .company-name {
        font-size: 1rem;
        text-align: left;
        line-height: 1.2;
    }
    
    .company-tagline {
        font-size: 0.75rem;
        text-align: left;
        margin-bottom: 2px;
    }
    
    .gst-number {
        font-size: 0.8rem;
        text-align: left;
        padding: 3px 6px;
    }
    
    .top-bar-logo {
        height: 100px;
        max-width: 160px;
    }
    
    /* Hero adjustments */
    .hero-section .carousel {
        height: 350px;
        padding: 20px 0;
    }
    
    .hero-section .container {
        padding: 0 15px;
    }
    
    .hero-section .row {
        min-height: 300px;
    }
    
    .hero-section .col-lg-6 {
        margin-bottom: 20px;
    }
    
    /* Card adjustments - removed conflicting grid rules */
    
    .category-card,
    .product-card {
        min-height: 450px;
    }
    
    .category-card img,
    .product-card img {
        max-height: 200px;
    }
    
    .card-body {
        padding: 15px;
        min-height: 250px;
    }
    
    /* Paver hero adjustments */
    .paver-hero-section {
        min-height: 50vh;
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-subtitle-hindi {
        font-size: 1.2rem;
    }
}

/* ============================================= */
/* MOBILE NAVIGATION FIXES */
/* ============================================= */

@media (max-width: 991.98px) {
    .main-navigation .navbar-collapse {
        background: white;
        border-top: 1px solid var(--light-color);
        box-shadow: var(--shadow-md);
        margin-top: 10px;
        border-radius: var(--border-radius-md);
        padding: 10px 0;
    }

    .main-navigation .navbar-nav {
        gap: 0;
    }

    .main-navigation .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-color);
        margin: 0;
        border-radius: 0;
        background: white;
        min-height: 45px;
        display: flex;
        align-items: center;
        opacity: 1;
        visibility: visible;
    }

    .main-navigation .nav-link:hover {
        background: var(--light-color);
        color: var(--primary-color);
        transform: none;
        margin: 0;
        text-decoration: none;
    }
    
        .main-navigation .dropdown-toggle[aria-expanded="true"] {
        background-color: rgba(30, 60, 114, 0.1);
        color: var(--primary-color);
        font-weight: 600;
    }
    
        .main-navigation .dropdown-item {
        transition: all 0.2s ease-in-out;
        }
        
        .main-navigation .dropdown-divider {
        display: block;
        opacity: 1;
        visibility: visible;
        margin: 8px 0;
        border-top: 1px solid #dee2e6;
    }
    
    .main-navigation .navbar-toggler {
        display: block;
        border: 2px solid var(--primary-color);
        border-radius: 8px;
        padding: 8px 12px;
        background: white;
        z-index: calc(var(--z-sticky) + 3);
        position: relative;
        margin: 10px 0;
        min-height: 45px;
    }

    .main-navigation .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.25);
        outline: none;
    }

    .main-navigation .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
  }

  /* ============================================= */
/* UTILITY CLASSES */
/* ============================================= */

/* Remove extra gap below fixed top bar */
main {
    margin-top: 0;
    z-index: 100;
}

/* Fix for any potential z-index conflicts */
.enhanced-top-bar {
    z-index: var(--z-fixed);
}

/* Ensure navigation is properly positioned below fixed top bar */
.main-navigation {
    margin-top: 0;
    position: relative;
    z-index: var(--z-sticky);
}

/* Fix for hero section positioning */
.hero-section {
    margin-top: 0;
}

/* Ensure proper scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: white;
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Mobile responsive adjustments for back-to-top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

.hero-section .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 650px;
    text-align: center;
    z-index: calc(var(--z-fixed) - 1);
    padding: 0;
    background: none;
    bottom: auto;
    right: auto;
}

/* Ensure slide container allows caption overlay */
.hero-section .carousel-item {
    position: relative;
    overflow: visible;
}

/* Desktop enforcement: keep captions visible above images */
@media (min-width: 992px) {
    .hero-section .carousel-item .carousel-caption {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: calc(var(--z-fixed) - 1) !important;
    }
    /* Standardize hero slide heights on desktop */
    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item {
        height: 600px !important;
        min-height: 600px !important;
    }
    .hero-section .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }
}
