/* =========================================
   Theme Variables
   ========================================= */
:root {
    --brand-primary: #01498d; /* Deep muted purple/grey from logo */
    --brand-dark: #022751;
    --brand-accent: #0269ca; /* Sharp blue accent for hover states */
    --text-dark: #022751;
    --bg-light: #f8f9fa;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

.transition-all {
    transition: all var(--transition-speed) ease-in-out;
}

/* =========================================
   Top Contact Bar
   ========================================= */
.top-bar {
    background-color: var(--brand-dark);
    font-size: 1.1rem;
    font-weight: 500;
    transition: margin-top var(--transition-speed) ease;
}

.top-bar-text a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.top-icon {
    color: inherit; /* This will make it the same color as the text */
}

.top-bar-text a:hover {
    color: #ffffff;
}

/* Social Icons Hover Effect */
.social-link {
    color: #e0e0e0;
    font-size: 1.2rem;
    display: inline-block;
    margin-left: 15px;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
}

/* WhatsApp specific brand color on hover */
.social-link .fa-whatsapp:hover { color: #25D366; }
/* LinkedIn specific brand color on hover */
.social-link .fa-linkedin-in:hover { color: #0077b5; }
/* Instagram specific brand color on hover */
.social-link .fa-instagram:hover { color: #E1306C; }

/* =========================================
   Main Navbar & Hover Animations
   ========================================= */
.custom-navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}

.custom-nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    position: relative;
    padding: 8px 0 !important;
    margin: 0 10px;
    transition: color var(--transition-speed) ease;
}

/* Animated Underline Effect */
.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-primary);
    transition: width var(--transition-speed) ease;
}

.custom-nav-link:hover, 
.custom-nav-link.active {
    color: var(--brand-primary) !important;
}

.custom-nav-link:hover::after, 
.custom-nav-link.active::after {
    width: 100%;
}

/* =========================================
   Dropdown Customizations & Hover Behavior
   ========================================= */

/* Remove the animated underline specifically for the dropdown toggle */
.custom-nav-link.no-underline::before {
    display: none !important;
}

/* Base style and transition for the custom dropdown arrow */
.dropdown-icon {
    font-size: 0.75rem;
    transition: transform var(--transition-speed) ease;
    vertical-align: middle;
}

/* Desktop Dropdown Hover behavior & Arrow Rotation */
@media (min-width: 992px) {
    /* Show menu on hover */
    .custom-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Keeps the gap tight so the menu doesn't close while moving mouse */
        animation: fadeUp 0.3s ease forwards;
    }
    
    /* Rotate the arrow 180 degrees on hover */
    .custom-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}

.rotate-arrow {
    transform: rotate(180deg);
}

/* =========================================
   Button Styles
   ========================================= */
.btn-brand {
    background-color: var(--brand-primary);
    color: #fff;
    border: 2px solid var(--brand-primary);
    transition: all var(--transition-speed) ease;
}

.btn-brand:hover {
    background-color: transparent;
    color: var(--brand-primary);
}

/* Move arrow slightly to right on hover */
.btn-brand:hover .btn-icon {
    transform: translateX(4px);
}

/* =========================================
   Scrolled State (Handled via JS)
   ========================================= */
.header-scrolled .top-bar {
    margin-top: -45px; /* Hides the top bar smoothly */
}

.header-scrolled .custom-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.header-scrolled .logo-img {
    height: 65px; /* Shrinks logo slightly */
}

/* =========================================
   Mobile Sidebar Corrections
   ========================================= */
@media (max-width: 991.98px) {
    .custom-nav-link {
        margin: 5px 0;
        padding: 10px 0 !important;
    }
    
    .custom-nav-link::after {
        display: none; /* Remove underline on mobile for cleaner look */
    }
    
    .custom-dropdown-menu {
        background-color: transparent;
        box-shadow: none !important;
        padding-left: 15px;
    }
}

/* Keyframes for Dropdown */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}




















/* =========================================
   Hero Section & Video Background
   ========================================= */

.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    min-height: 600px; /* Prevents the section from getting too squished on very short screens */
    width: 100%;
    overflow: hidden;
}

/* Forces the video to cover the entire container without distorting the aspect ratio */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; 
}

/* Dark overlay using the brand's dark tone for cohesion */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 40, 57, 0.515); /* --brand-dark with 75% opacity */
    z-index: 1;
}

.hero-content {
    z-index: 2; /* Ensures text sits above the video and overlay */
}

/* Custom text utility classes */
.letter-spacing-wide {
    letter-spacing: 2px;
}

.text-accent-metallic {
    color: #ffffff; /* The metallic grey from the logo */
}

/* Outline Button Specifics */
.btn-outline-light:hover {
    background-color: #fff;
    color: var(--brand-dark);
}

/* =========================================
   Entrance Animations
   ========================================= */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpReveal 0.8s ease forwards;
}

/* Staggered delays so the content builds visually */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUpReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tweaks for the hero typography */
@media (max-width: 767.98px) {
    .hero-section h1.display-3 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
}






















/* =========================================
   About Us Section Utilities
   ========================================= */

.about-section {
    background-color: #ffffff;
}

/* Background color variant for light brand assets */
.bg-brand-light {
    background-color: rgba(92, 85, 119, 0.1); /* 10% opacity of brand-primary */
    color: #024b8f;
}

/* Text color for dark brand headings */
.text-dark-brand {
    color: var(--brand-dark);
}

.title-line {
    height: 2px;
    width: 60px;
    background-color: var(--brand-primary);
}

.icon-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Outline Button for internal sections */
.btn-outline-brand {
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    background: transparent;
}

.btn-outline-brand:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* =========================================
   Image Layout & Floating Badge
   ========================================= */

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-main-img {
    object-fit: cover;
    min-height: 450px;
    width: 100%;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    z-index: 2;
    min-width: 180px;
    border-left: 5px solid var(--brand-primary); /* Nice accent border */
}

/* CSS Animation for the floating badge */
.animate-float {
    animation: floaty 4s ease-in-out infinite;
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Fix mobile overlap for the badge */
@media (max-width: 991.98px) {
    .experience-badge {
        right: 10px;
        bottom: -20px;
        padding: 1rem !important; /* Slightly smaller on mobile */
    }
}

/* =========================================
   Advantage Cards
   ========================================= */

.advantage-card {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

/* The faint background icon for aesthetic depth */
.card-icon-bg {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 8rem;
    opacity: 0.03;
    color: var(--brand-dark);
    transform: rotate(-15deg);
    transition: transform var(--transition-speed) ease;
}

/* Card Hover Effects */
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--brand-primary) !important;
}

.advantage-card:hover .card-icon-bg {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.06;
    color: var(--brand-primary);
}

.advantage-card:hover .icon-circle {
    background-color: var(--brand-primary);
    color: #fff !important;
    transition: all var(--transition-speed) ease;
}


















/* =========================================
   Products Section & Grid
   ========================================= */

.products-section {
    background-color: var(--bg-light);
}

/* Filter Buttons Styling */
.filter-btn {
    color: var(--text-muted);
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    border: none;
}

.filter-btn:hover {
    color: var(--brand-primary);
    background-color: rgba(92, 85, 119, 0.05);
}

.filter-btn.active {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(92, 85, 119, 0.2);
}

/* =========================================
   Compact Products Grid
   ========================================= */

.compact-product-card {
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.03) !important;
}

.compact-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(92, 85, 119, 0.2) !important;
}

.product-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
}

.compact-product-card:hover .product-icon-box {
    background-color: var(--brand-primary);
    color: #ffffff !important;
    transition: all var(--transition-speed) ease;
}

/* Ensure JS animations still look smooth on these smaller cards */
.product-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
/* =========================================
   Brand Background Utilities
   ========================================= */
.bg-brand-primary { background-color: var(--brand-primary) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.bg-brand-accent { background-color: var(--brand-accent) !important; }

/* Fix for Anchor Tag Text Colors */
.compact-product-card {
    color: inherit; /* Stops the browser from applying default link blue */
}

.compact-product-card h6 {
    color: var(--text-dark, #333333); /* Forces the heading to stay dark */
    transition: color var(--transition-speed) ease;
}

/* Optional: Makes the title turn purple when you hover over the card */
.compact-product-card:hover h6 {
    color: var(--brand-primary);
}






















/* =========================================
   Quality & Logistics Section (Light Theme)
   ========================================= */

.quality-section {
    border-top: 1px solid rgba(0,0,0,0.05); /* Soft border instead of a heavy colored line */
}

/* Hover effects for the left column features */
.cursor-pointer {
    cursor: pointer;
}

.feature-icon {
    width: 65px;
    height: 65px;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.quality-feature {
    transition: transform var(--transition-speed) ease;
}

.quality-feature:hover {
    transform: translateX(10px);
}

.quality-feature:hover .feature-icon {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
    border-color: var(--brand-primary) !important;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(92, 85, 119, 0.2) !important;
}

/* Subtle lift effect for the right column card */
.logistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    border-color: rgba(92, 85, 119, 0.2) !important;
}

.logistics-card .text-brand {
    transition: transform var(--transition-speed) ease;
}

.logistics-card:hover .text-brand {
    transform: scale(1.2);
}














/* =========================================
   Enhanced Business Model Cards
   ========================================= */

.ecosystem-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent; /* The "inactive" border */
}

.ecosystem-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--brand-primary); /* The "active" border */
    box-shadow: 0 20px 40px rgba(92, 85, 119, 0.15);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(92, 85, 119, 0.05);
    transition: color 0.4s ease;
}

.ecosystem-card:hover .step-number {
    color: rgba(92, 85, 119, 0.15);
}

/* Icon Glow effect */
.icon-glow {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--brand-primary);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.ecosystem-card:hover .icon-glow {
    background: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(92, 85, 119, 0.3);
}

/* Optional Arrow Connector - Only on Extra Large Screens where all 5 fit in one row */
@media (min-width: 1200px) {
    .ecosystem-card::after {
        content: "\f061";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 40%;
        right: -20px; /* Adjusted slightly for 5-column spacing */
        color: #d1d1d1;
        font-size: 1.2rem;
        z-index: 2;
    }
    
    /* Remove arrow from the last item */
    .col-xl:last-child .ecosystem-card::after {
        display: none;
    }
}
















/* =========================================
   Footer Section
   ========================================= */

footer {
    background-color: var(--brand-dark);
    border-top: 5px solid var(--brand-primary);
}

/* Footer Link Hover Animations */
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-accent);
    padding-left: 6px; /* Shifts link slightly to the right on hover */
}

.social-link-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none; /* This line removes the unwanted underline */
    transition: all var(--transition-speed) ease;
}

.social-link-footer:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-4px); /* Float effect */
}

/* Specific Social Brand Colors on Hover */
.social-link-footer:hover .fa-whatsapp { color: #25D366; }
.social-link-footer:hover .fa-linkedin-in { color: #0077b5; }
.social-link-footer:hover .fa-instagram { color: #E1306C; }
.social-link-footer:hover .fa-facebook { color: #1877F2; }
.social-link-footer:hover .fa-youtube { color: #FF0000; }

/* Contact info text hover */
.hover-white {
    transition: color var(--transition-speed) ease;
}

.hover-white:hover {
    color: #ffffff !important;
}

/* Branch Office Card Styling */
.branch-office {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--brand-accent);
    cursor: default;
}

.branch-office:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-left-color: var(--brand-primary);
}



















/* =========================================
   Interactive Map Section
   ========================================= */

.locations-section {
    background-color: var(--brand-dark);
}

.map-container {
    max-width: 600px;
    padding: 20px;
}

.map-svg {
    opacity: 0.4;
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.1));
}

/* Map Pin Base Styling */
.map-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

/* Corrected Map Coordinates */
.pin-ahmedabad { top: 48%; left: 21%; }
.pin-mumbai { top: 62%; left: 23%; }
.pin-chennai { top: 80%; left: 42%; }

/* The Solid Dot */
.pin-dot {
    width: 12px;
    height: 12px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-speed) ease;
}

/* The Animated Glowing Pulse */
.pin-pulse {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 40px;
    height: 40px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: pulseGlow 2s infinite;
}

/* Floating City Label */
.pin-label {
    position: absolute;
    left: 25px;
    top: -5px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Keyframes for the radar pulse effect */
@keyframes pulseGlow {
    0% { transform: scale(0.1); opacity: 0.8; }
    70% { transform: scale(1); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Interactive Hover States */
.map-pin:hover .pin-dot, 
.map-pin.active-pin .pin-dot {
    transform: scale(1.5);
    background-color: #ffffff;
}

.map-pin:hover .pin-label,
.map-pin.active-pin .pin-label {
    opacity: 1;
    color: var(--brand-accent);
}

.map-pin:hover .pin-pulse,
.map-pin.active-pin .pin-pulse {
    animation: none; /* Stops pulsing when hovered/active */
    opacity: 0.3;
    transform: scale(1);
}

/* Location Card Styling */
.location-card {
    cursor: pointer;
}

.location-card:hover, .location-card.active-card {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--brand-accent) !important;
    transform: translateX(10px);
}























/* =========================================
   Trusted Brands Infinite Slider
   ========================================= */

.brand-slider-container {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
}

/* Gradients to fade logos in and out on the edges */
.slider-fade {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.slider-fade-left {
    left: -1px; /* -1px prevents a hard edge artifact in some browsers */
    background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%);
}

.slider-fade-right {
    right: -1px;
    background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%);
}

/* The Flex Track that handles the animation */
.brand-slider-track {
    display: inline-flex;
    width: max-content;
    /* 35s controls the speed. Lower = faster, Higher = slower */
    animation: scrollLogos 35s linear infinite;
}

/* Pause the scrolling if the user hovers over the logos */
.brand-slider-track:hover {
    animation-play-state: paused;
}

/* Individual Logo Wrappers */
.brand-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px; /* Adjust this to space out your logos */
    padding: 0 30px;
}


/* Image constraints */
.brand-slide img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

/* Seamless Looping Keyframes */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Pushes the track exactly 50% left, seamlessly revealing the duplicated set */
        transform: translateX(-50%);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .slider-fade {
        width: 50px;
    }
    .brand-slide {
        width: 160px;
        padding: 0 20px;
    }
    .brand-slide img {
        max-height: 55px;
    }
}




@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1365px;
    }
}












/* =========================================
   Inner Page Header / Banner
   ========================================= */

.page-header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 300px; /* Slightly reduced since paragraph is removed */
    padding-top: 80px; 
    padding-bottom: 40px;
}

/* Dark gradient overlay that blends into your brand color */
.header-overlay {
    background: linear-gradient(135deg, rgba(20, 24, 41, 0.95) 0%, rgba(20, 24, 41, 0.7) 100%);
}

/* Customizing the Breadcrumb Divider to use a Font Awesome arrow */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding: 0 12px;
}

/* Hover effect for the breadcrumb links */
.hover-accent {
    transition: color var(--transition-speed) ease;
}

.hover-accent:hover {
    color: var(--brand-accent) !important;
}




















/* =========================================
   About Us - Company Profile & Achievements
   ========================================= */

/* Floating 30 Years Badge */
.experience-badge {
    bottom: -30px;
    left: 20px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 5px solid #ffffff; /* White border to make it pop off the background */
    z-index: 2;
}

/* =========================================
   Achievements Counter Section (Clean Redesign)
   ========================================= */

.achievements-section {
    background-color: var(--brand-dark, #0d1b2a); /* A deep, rich corporate blue/black */
    overflow: hidden;
}

/* Subtle dot-matrix overlay for an industrial aesthetic */
.industrial-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

/* Typography for the giant numbers */
.stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    transition: transform var(--transition-speed) ease;
}

/* Adds a smooth pop effect when hovering over a stat */
.stat-col:hover .stat-number {
    transform: translateY(-5px);
}

/* Smaller suffix (MT, %, +) perfectly aligned */
.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 4px;
}

/* Spaced out uppercase labels */
.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Vertical Dividers for Desktop */
@media (min-width: 768px) {
    .stat-col {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-col:last-child {
        border-right: none;
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 991px) {
    .stat-number {
        font-size: 3rem;
    }
    .stat-suffix {
        font-size: 1.5rem;
    }
}





/* =========================================
   Health & Safety Protocols
   ========================================= */

.safety-card {
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid rgba(0,0,0,0.04);
}

/* Elevates the card on hover */
.safety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important;
}

/* Subtle icon pop on hover */
.safety-icon {
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.safety-card:hover .safety-icon {
    transform: scale(1.1);
    color: var(--brand-accent) !important;
}

/* Animated bottom accent line on hover */
.safety-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0;
    background-color: var(--brand-accent);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.safety-card:hover .safety-accent-line {
    width: 100%;
}







/* =========================================
   Environmental Impact Page
   ========================================= */

/* Circular Visual Animation */
.circular-economy img {
    transition: transform 8s ease-in-out;
}

.circular-economy:hover img {
    transform: rotate(5deg);
}

/* Eco Metrics Cards */
.eco-card {
    border: 1px solid rgba(0,0,0,0.03);
    border-bottom: 4px solid transparent;
}

.eco-icon-wrapper {
    width: 90px;
    height: 90px;
    transition: all var(--transition-speed) ease;
}

.eco-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #2e7d32; /* Eco green accent on hover */
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
}

.eco-card:hover .eco-icon-wrapper {
    background-color: rgba(46, 125, 50, 0.1) !important;
    transform: scale(1.1);
}















/* =========================================
   Certifications & Awards Gallery
   ========================================= */

/* The outer card container */
.document-card {
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    /* Sets a minimum height so all boxes look uniform even if image sizes differ slightly */
    min-height: 280px; 
}

/* Elevate the entire card on hover */
.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
}

/* The image inside the card */
.document-img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Ensures the image doesn't stretch weirdly */
    object-fit: contain;
    max-height: 100%;
}

/* Smooth zoom effect on the image when hovering over the card */
.document-card:hover .document-img {
    transform: scale(1.08);
}








/* =========================================
   Contact Us Page
   ========================================= */

/* Overrides for text links in the contact section */
.contact-link:hover {
    color: var(--brand-accent, #ffffff) !important;
}

/* Branch Cards styling matching the reference image */
.branch-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Creates the rounded blue accent line on the left side */
    border-left: 4px solid var(--brand-primary, #1877F2); 
}

.branch-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

/* WhatsApp Button Pulsing Hover Effect */
.wp-btn {
    background-color: #25D366;
    border-color: #25D366;
}

.wp-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3) !important;
}

/* Icon column width normalization */
.contact-icon {
    min-width: 30px;
    text-align: center;
}
















/* =========================================
   Product Page & Sticky Sidebar
   ========================================= */

/* Enables the sticky behavior for the sidebar */
/* .sticky-sidebar {
    position: sticky;
    
    top: 100px; 
    z-index: 10;
}

.custom-accordion .accordion-button {
    color: var(--brand-dark);
    box-shadow: none !important;
    transition: background-color var(--transition-speed) ease;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: var(--brand-light);
    color: var(--brand-primary);
}

.custom-accordion .accordion-button::after {
    filter: grayscale(100%) opacity(50%);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: none;
}

.sidebar-list li {
    margin-bottom: 0.5rem;
}

.sidebar-list li:last-child {
    margin-bottom: 0;
}

.sidebar-list a {
    display: block;
    padding: 8px 12px;
    color: #5c5577;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-list a:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--brand-primary);
    transform: translateX(4px);
}

.sidebar-list a.active {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 991px) {
    .sticky-sidebar {
        position: relative;
        top: 0;
    }
} */























/* =========================================
   Materials 3D Flip Cards
   ========================================= */

/* The outer container establishes the 3D perspective */
.flip-card-container {
    background-color: transparent;
    width: 100%;
    height: 320px; /* Fixed height for uniformity */
    perspective: 1000px; /* Gives the 3D depth effect */
    cursor: pointer;
}

/* The inner container holds the front and back, and handles the rotation */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth, slightly bouncy flip */
    transform-style: preserve-3d;
}

/* Trigger the flip on hover */
.flip-card-container:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Base styles for both front and back */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari support */
    backface-visibility: hidden;
    overflow: hidden;
}

/* Front Card specific styling */
.flip-card-front {
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark gradient overlay on the front so the text is always readable over any image */
.front-overlay {
    background: linear-gradient(to top, rgb(45 45 45 / 58%) 0%, rgba(10, 25, 47, 0) 100%);
    width: 100%;
    height: 100%;
}

/* Back Card specific styling */
.flip-card-back {
    background-color: var(--brand-dark, #0a192f); /* Uses your premium dark blue */
    transform: rotateY(180deg); /* This starts the back face already flipped */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Adjustments for smaller mobile screens */
@media (max-width: 767px) {
    .flip-card-container {
        height: 300px;
    }
}




















/* =========================================
   Careers Page (Structured Redesign)
   ========================================= */

/* Feature Cards Hover Effect */
.career-feature-card {
    border: 1px solid rgba(0,0,0,0.05);
}

.career-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border-color: var(--brand-primary) !important;
}

.career-feature-card .icon-box {
    transition: all var(--transition-speed) ease;
}

.career-feature-card:hover .icon-box {
    background-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

/* CTA Box Border Utilities */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* CTA Button Hover Utilities */
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.hover-bg-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff !important;
}















/* =========================================
   Machineries & Infrastructure
   ========================================= */

.machine-card {
    border: 1px solid rgba(0,0,0,0.05);
}

.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08) !important;
    border-color: rgba(0,0,0,0.1);
}

/* Image wrapper to enforce uniform aspect ratios for all machinery photos */
.machine-img-wrapper {
    width: 100%;
    height: 385px; 
    overflow: hidden;
    background-color: #f8f9fa; /* Fallback color while loading */
}

.machine-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the box perfectly without stretching */
    transition: transform 0.6s ease;
}

.machine-card:hover .machine-img-wrapper img {
    transform: scale(1.05);
}

/* Custom left-border for the Value box */
.border-4 {
    border-width: 4px !important;
}














/* =========================================
   Managing Director Profile Page
   ========================================= */

/* Hero Image Styling */
.md-hero-section img {
    transition: transform 0.5s ease;
}
.md-hero-section:hover img {
    transform: translateY(-5px);
}

/* Quote Box Styling */
.md-quote {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.md-quote:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

/* Journey Cards (Interactive Narrative blocks) */
.journey-card {
    border: 1px solid rgba(0,0,0,0.04);
}
.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    border-color: rgba(24, 119, 242, 0.2); /* Faint brand blue border on hover */
}
.journey-card .icon-circle {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.journey-card:hover .icon-circle {
    transform: scale(1.15) rotate(5deg);
}

/* Award Section Floating Element */
.award-image-wrapper {
    transition: all 0.5s ease;
}
.award-image-wrapper img {
    border: 4px solid #ffffff; /* Adds a clean white border around the dark image */
}