/*
 * FABRIBBON - Premium Custom CSS Stylesheet
 * Integrates with Bootstrap 5
 */

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

:root {
    --primary-blue: #072C78;
    --primary-green: #0B8F43;
    --dark-navy: #0D2342;
    --white: #FFFFFF;
    --light-gray: #F7F8FA;
    --bg-color: #F4F6F9;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --gradient-blue-green: linear-gradient(135deg, #072C78 0%, #0B8F43 100%);
    --gradient-navy-blue: linear-gradient(135deg, #0D2342 0%, #072C78 100%);
    --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --box-shadow-md: 0 10px 30px rgba(7, 44, 120, 0.06);
    --box-shadow-lg: 0 20px 40px rgba(7, 44, 120, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-inter);
    color: var(--text-dark);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-outfit);
    font-weight: 700;
    color: var(--dark-navy);
}

/* Text and Badge Colors */
.text-primary-blue { color: var(--primary-blue); }
.text-primary-green { color: var(--primary-green); }
.bg-primary-blue { background-color: var(--primary-blue); }
.bg-primary-green { background-color: var(--primary-green); }
.bg-dark-navy { background-color: var(--dark-navy); }

/* Premium Buttons */
.btn-premium {
    font-family: var(--font-outfit);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue-green);
    z-index: -1;
    transition: opacity 0.5s;
}

.btn-premium-blue {
    color: var(--white) !important;
}

.btn-premium-blue::before {
    background: var(--gradient-navy-blue);
}

.btn-premium-green {
    color: var(--white) !important;
}

.btn-premium-green::before {
    background: var(--gradient-blue-green);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 44, 120, 0.2);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
}

.btn-premium-outline::before {
    display: none;
}

.btn-premium-outline:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
}

/* Header & Sticky Menu */
.navbar-custom {
    padding: 18px 0;
    transition: var(--transition);
    z-index: 1030;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-sm);
}

.navbar-custom.navbar-transparent {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 25px 0;
}

.navbar-custom.navbar-transparent .navbar-brand {
    background-color: var(--white) !important;
    padding: 6px 14px !important;
    border-radius: 8px;
    box-shadow: var(--box-shadow-sm);
    display: inline-flex;
    align-items: center;
}

@media (min-width: 992px) {
    .navbar-custom.navbar-transparent .nav-link {
        color: var(--white) !important;
    }
    .navbar-custom.navbar-transparent .navbar-brand {
        color: var(--white) !important;
    }
}

.navbar-brand {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue) !important;
}

.navbar-logo-img {
    height: 60px;
    max-height: 100%;
    width: auto;
    transition: var(--transition);
}

.navbar-brand span {
    color: var(--primary-green);
}

.nav-link {
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 15px;
    color: var(--dark-navy) !important;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green) !important;
}

/* Sticky Class */
.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: var(--box-shadow-md) !important;
    padding: 12px 0 !important;
    animation: slideDown 0.4s ease-out;
}

.navbar-sticky .nav-link {
    color: var(--dark-navy) !important;
}

.navbar-sticky .navbar-brand {
    color: var(--primary-blue) !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Mega Dropdown menu */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: var(--box-shadow-lg);
    padding: 15px;
    animation: fadeInDropdown 0.3s ease-out;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-navy);
    overflow: hidden;
    padding: 120px 0 80px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Hero Slideshow Background */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.8s ease-in-out, transform 6s ease-in-out;
    transform: scale(1.08);
}

.hero-slide.active {
    opacity: 0.95;
    transform: scale(1);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-tagline {
    font-family: var(--font-outfit);
    font-size: 14px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: var(--primary-green);
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--white);
    margin-top: 15px;
}

.hero-hindi-tagline {
    font-family: var(--font-outfit);
    font-size: 28px;
    color: var(--light-gray);
    font-weight: 500;
    margin: 20px 0 35px 0;
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
}

/* Trust Strip */
.trust-strip {
    background: var(--white);
    box-shadow: var(--box-shadow-sm);
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(11, 143, 67, 0.1);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    transition: var(--transition);
}

.trust-item:hover .trust-icon-box {
    background: var(--primary-green);
    color: var(--white);
    transform: rotateY(180deg);
}

.trust-text h5 {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 700;
}

.trust-text p {
    font-size: 13px;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(7, 44, 120, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(11, 143, 67, 0.2);
}

.product-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-body {
    padding: 30px;
}

.product-specs {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.product-specs-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.product-specs-item:last-child {
    border-bottom: none;
}

/* Why Choose Us Cards */
.why-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-bottom: 3px solid transparent;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    border-bottom-color: var(--primary-green);
}

.why-icon {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Interactive Timeline */
.timeline-wrapper {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(7, 44, 120, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    width: 45%;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--box-shadow-sm);
    border-left: 5px solid var(--primary-blue);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 5px solid var(--primary-green);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.timeline-step {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 36px;
    font-weight: 800;
    color: rgba(7, 44, 120, 0.08);
}

/* Comparison Section */
.comparison-table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
}

.comparison-header {
    background: var(--dark-navy);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.comparison-header.puf {
    background: var(--gradient-blue-green);
}

.comparison-row {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    align-items: center;
}

.comparison-cell {
    flex: 1;
    padding: 18px 25px;
    font-size: 15px;
}

.comparison-cell.feature-name {
    font-weight: 700;
    color: var(--dark-navy);
    background: var(--light-gray);
    max-width: 250px;
}

/* Applications Gallery Grid */
.app-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

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

.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 26, 60, 0.97) 0%, rgba(7, 26, 60, 0.55) 50%, rgba(7, 26, 60, 0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transition: var(--transition);
}

.app-overlay h5,
.app-overlay p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.app-card:hover img {
    transform: scale(1.1);
}

.app-card:hover .app-overlay {
    background: linear-gradient(to top, rgba(11, 143, 67, 0.95) 0%, rgba(7, 44, 120, 0.5) 100%);
}

/* Gallery Section & Popup */
.gallery-filter-btn {
    border-radius: 50px;
    padding: 8px 20px;
    margin: 5px;
    font-weight: 600;
    font-family: var(--font-outfit);
    background: var(--white);
    border: 1px solid rgba(7, 44, 120, 0.1);
    color: var(--dark-navy);
    transition: var(--transition);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: var(--box-shadow-sm);
}

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

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 44, 120, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--white);
    font-size: 24px;
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Testimonials Slider */
.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--box-shadow-md);
    margin: 15px;
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 60px;
    color: rgba(7, 44, 120, 0.05);
}

/* Stat Counter */
.counter-section {
    background: var(--gradient-blue-green);
    color: var(--white);
    padding: 80px 0;
}

.counter-number {
    font-size: 48px;
    font-weight: 800;
    font-family: var(--font-outfit);
}

/* Contact Area Form */
.contact-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
    height: 100%;
}

.contact-form-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--box-shadow-md);
}

.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--bg-color);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 10px rgba(11, 143, 67, 0.15);
    border-color: var(--primary-green);
    background-color: var(--white);
}

/* Admin Dashboard layout */
.admin-sidebar {
    background-color: var(--dark-navy);
    min-height: 100vh;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 20px;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px;
    margin: 4px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
}

.admin-content-wrapper {
    background-color: var(--bg-color);
    min-height: 100vh;
    padding: 40px;
}

.admin-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--box-shadow-sm);
    border: none;
}

/* General Layout helpers */
.section-padding {
    padding: 100px 0;
}

.section-title-sub {
    color: var(--primary-green);
    font-family: var(--font-outfit);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 25px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Quick popup modal for details */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.custom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.custom-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--box-shadow-lg);
}

.custom-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

/* Tab contents styling for product info */
.product-tab-btn {
    font-family: var(--font-outfit);
    font-weight: 600;
    border: none;
    background: transparent;
    padding: 12px 25px;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    transition: var(--transition);
}

.product-tab-btn.active, .product-tab-btn:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

/* Media Gallery in Admin Panel */
.media-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    height: 150px;
}

.media-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    display: flex;
    justify-content: space-around;
    transform: translateY(100%);
    transition: var(--transition);
}

.media-grid-item:hover .media-actions {
    transform: translateY(0);
}

/* Small adjustments for mobile responsiveness */
@media (max-width: 767.98px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }
    .timeline-item:nth-child(even) .timeline-content {
        border-right: none;
        border-left: 5px solid var(--primary-green);
    }
    .timeline-dot {
        left: 20px;
    }
    .comparison-row {
        flex-direction: column;
    }
    .comparison-cell.feature-name {
        max-width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 38px;
    }
    .section-title {
        font-size: 28px;
    }
    .admin-content-wrapper {
        padding: 15px;
    }
}

/* ==========================================
   Admin Panel Styles & Responsiveness
   ========================================== */

/* Desktop Fixed Sidebar Layout */
@media (min-width: 768px) {
    .admin-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 100;
        padding: 24px 0 0;
        box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
        overflow-y: auto;
    }
}

.admin-sidebar {
    background-color: #0d2342;
    min-height: 100vh;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 12px 20px !important;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    margin: 4px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link i {
    font-size: 16px;
    width: 20px;
    color: var(--primary-green);
}

.admin-sidebar .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08);
}

.admin-sidebar .nav-link.active {
    color: #ffffff !important;
    background-color: var(--primary-green) !important;
}

.admin-sidebar .nav-link.active i {
    color: #ffffff;
}

.admin-content-wrapper {
    padding: 30px;
    background-color: #f4f6f9;
    min-height: 100vh;
}

/* Mobile responsive styles for Admin */
@media (max-width: 767.98px) {
    .admin-sidebar {
        min-height: auto;
        padding-top: 15px;
        z-index: 999;
        margin-bottom: 0;
    }
    .admin-sidebar .nav-link {
        margin: 4px 10px;
        padding: 10px 15px !important;
    }
    .admin-content-wrapper {
        padding: 20px 15px;
    }
    /* Fix login page container padding on mobile */
    .style-login-row {
        padding: 20px 10px;
    }
}

/* Mobile Hamburger Menu Dropdown Solid Styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        border-radius: 12px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--box-shadow-lg);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .navbar-custom.navbar-transparent .nav-link {
        color: var(--dark-navy) !important;
    }
    
    .navbar-custom.navbar-transparent .nav-link:hover {
        color: var(--primary-green) !important;
    }
    
    /* Ensure the call button fits mobile sizes */
    .navbar-collapse .btn-premium {
        margin-top: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   Page Preloader Styles
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white); /* Minimalist clean white background */
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    height: 65px;
    width: auto;
    margin-bottom: 20px;
    animation: fadePulse 1.8s infinite ease-in-out;
}

/* Minimalist horizontal progress bar */
.preloader-progress-bar {
    width: 140px;
    height: 3px;
    background-color: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-line {
    position: absolute;
    height: 100%;
    width: 50%;
    background-color: var(--primary-green);
    border-radius: 4px;
    animation: progressSlide 1.2s infinite linear;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes progressSlide {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* ==========================================
   Manufacturing Process Custom styles
   ========================================== */
.custom-process-pills {
    border: 1px solid rgba(7, 44, 120, 0.08);
}
.custom-process-pills .nav-link {
    color: var(--text-muted);
    transition: var(--transition);
    background: transparent;
    border: none;
}
.custom-process-pills .nav-link.active {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(7, 44, 120, 0.15);
}
.custom-process-pills .nav-link:hover:not(.active) {
    color: var(--primary-blue);
    background-color: rgba(7, 44, 120, 0.04);
}

/* Infographic Image Container & Zoom Overlay */
.process-img-container {
    transition: var(--transition);
    cursor: zoom-in;
}
.process-img-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg) !important;
}
.process-infographic-img {
    transition: var(--transition);
    max-width: 100%;
    height: auto;
}
.process-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 35, 66, 0.0);
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
    backdrop-filter: blur(0px);
}
.process-img-container:hover .process-img-overlay {
    background: rgba(13, 35, 66, 0.4);
    opacity: 1;
    backdrop-filter: blur(3px);
}
.process-zoom-btn {
    transform: translateY(20px);
    transition: var(--transition);
}
.process-img-container:hover .process-zoom-btn {
    transform: translateY(0);
}

/* Process Card Layout */
.process-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    background-color: var(--white) !important;
    border-color: rgba(7, 44, 120, 0.15) !important;
}
.process-card-number {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    color: rgba(7, 44, 120, 0.04);
    z-index: -1;
    transition: var(--transition);
}
.process-card:hover .process-card-number {
    color: rgba(11, 143, 67, 0.08);
    transform: scale(1.1);
}
.process-card-icon i {
    transition: var(--transition);
}
.process-card:hover .process-card-icon i {
    transform: scale(1.15) rotate(5deg);
}

/* =============================================
   Review Cards
   ============================================= */
.review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(7, 44, 120, 0.07);
    border: 1px solid rgba(7, 44, 120, 0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(7, 44, 120, 0.13);
}
.review-quote-icon {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    opacity: 0.85;
}
.review-text {
    color: #4a5568;
    font-style: italic;
    line-height: 1.75;
    font-size: 15px;
    flex-grow: 1;
    margin-bottom: 24px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(7, 44, 120, 0.07);
    padding-top: 18px;
    margin-top: auto;
}
.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-outfit);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

/* =============================================
   Manufacturing Process Step Cards (with images)
   ============================================= */
.process-step-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(7, 44, 120, 0.07);
    border: 1px solid rgba(7, 44, 120, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(7, 44, 120, 0.13);
}

/* Image area */
.process-step-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}
.process-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.process-step-card:hover .process-step-img img {
    transform: scale(1.07);
}

/* Step number badge */
.process-step-num {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    color: #fff;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Hover zoom icon */
.process-step-hover {
    position: absolute;
    inset: 0;
    background: rgba(7, 44, 120, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.process-step-img:hover .process-step-hover { opacity: 1; }

/* Text body */
.process-step-body {
    padding: 20px;
    flex: 1;
}
.process-step-icon {
    font-size: 22px;
    margin-bottom: 10px;
}
.process-step-body h5 { font-size: 15px; line-height: 1.4; }
.process-step-body p  { line-height: 1.6; font-size: 13px; }

/* =============================================
   Mobile Responsiveness & Media Queries
   ============================================= */

/* Tablets & Mobile Landscape (< 992px) */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 10px 0 !important;
    }
    
    .navbar-custom.navbar-transparent {
        padding: 10px 0 !important;
    }
    
    .navbar-custom.navbar-transparent .navbar-brand {
        padding: 4px 10px !important;
        border-radius: 6px;
    }
    
    .navbar-logo-img {
        height: 42px !important;
    }

    .navbar-toggler {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(7, 44, 120, 0.15);
        padding: 6px 10px;
        border-radius: 6px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .hero-section {
        min-height: auto;
        padding: 115px 0 60px 0;
    }
    
    .hero-title {
        font-size: 34px;
        line-height: 1.25;
    }
    
    .hero-hindi-tagline {
        font-size: 20px;
        margin: 15px 0 25px 0;
    }
    
    .navbar-collapse {
        background: #ffffff;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: var(--box-shadow-lg);
        margin-top: 10px;
    }
    
    .navbar-custom.navbar-transparent .nav-link {
        color: var(--dark-navy) !important;
    }
    
    .navbar-custom.navbar-transparent .nav-link:hover,
    .navbar-custom.navbar-transparent .nav-link.active {
        color: var(--primary-green) !important;
    }
    
    .trust-strip {
        padding: 15px 0;
    }
    
    .trust-item {
        margin-bottom: 12px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .comparison-table {
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
}

/* Mobile Portrait (< 768px) */
@media (max-width: 767.98px) {
    .navbar-logo-img {
        height: 38px !important;
    }

    .navbar-custom.navbar-transparent .navbar-brand {
        padding: 3px 8px !important;
    }

    .hero-section {
        padding: 105px 0 45px 0;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .hero-tagline {
        font-size: 11px;
        padding: 5px 12px;
        margin-bottom: 12px;
        letter-spacing: 1px;
        max-width: 100%;
        display: inline-block;
        white-space: normal;
        word-break: break-word;
    }

    .hero-hindi-tagline {
        font-size: 16px;
        padding-left: 10px;
        border-left-width: 3px;
        margin: 10px 0 18px 0;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .section-title {
        font-size: 26px;
    }

    .contact-form-box {
        padding: 24px 18px;
    }

    .app-card {
        height: 220px;
    }

    .review-card {
        padding: 24px 20px;
    }

    .process-step-img {
        height: 180px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}

/* Small Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 98px 0 40px 0;
    }

    .hero-title {
        font-size: 22px;
        line-height: 1.28;
    }

    .hero-tagline {
        font-size: 10.5px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-hindi-tagline {
        font-size: 15px;
        margin: 8px 0 14px 0;
    }

    .btn-premium {
        width: 100%;
        padding: 11px 20px;
    }

    .gallery-filter-btn {
        padding: 6px 14px;
        font-size: 13px;
        margin: 3px;
    }

    .process-step-body {
        padding: 16px;
    }

    .product-img-box {
        height: 200px !important;
    }
}

/* Mobile Responsive Styling for Manufacturing Process Section */
@media (max-width: 767.98px) {
    .custom-process-pills {
        width: 100%;
        max-width: 380px;
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }
    .custom-process-pills .nav-item {
        flex: 1;
    }
    .custom-process-pills .nav-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
        text-align: center;
        width: 100%;
        white-space: nowrap;
    }
    .process-img-container {
        padding: 6px !important;
        border-radius: 16px !important;
    }
    .process-img-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(7, 44, 120, 0.75) 0%, transparent 80%) !important;
        top: auto !important;
        bottom: 0 !important;
        height: 65px !important;
        backdrop-filter: none !important;
        border-bottom-left-radius: inherit;
        border-bottom-right-radius: inherit;
    }
    .process-zoom-btn {
        transform: translateY(0) !important;
        font-size: 12px !important;
        padding: 6px 14px !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        color: var(--primary-blue) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }
    .process-step-img {
        height: 190px !important;
    }
}

@media (max-width: 575.98px) {
    .custom-process-pills .nav-link {
        font-size: 12px !important;
        padding: 7px 6px !important;
    }
    .process-img-container {
        margin-left: 0;
        margin-right: 0;
        padding: 4px !important;
    }
    .process-infographic-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

