/* ==========================================
   Brahma Refractories Pvt. Ltd. - Premium Industrial CSS Styles
   Dark Blue + Orange + White Theme
   ========================================== */

/* Root Variables */
:root {
    --dark-blue: #0A192F;
    --dark-blue-light: #112240;
    --dark-blue-lighter: #233554;
    --orange: #FF6B35;
    --orange-light: #FF8C61;
    --orange-dark: #E55A2B;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --charcoal-black: #1F2933;
    --dark-gray: #343A40;
    --gradient-blue: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue-light) 100%);
    --gradient-orange: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, #050A15 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-dark: rgba(10, 25, 47, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
    --shadow-orange: 0 8px 32px rgba(255, 107, 53, 0.3);
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--charcoal-black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.brick-loader {
    width: 80px;
    height: 40px;
    background: var(--orange);
    margin: 0 auto 20px;
    animation: brickPulse 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes brickPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px 10px rgba(255, 107, 53, 0);
    }
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background: var(--orange);
    animation: loadingBar 2s ease-in-out infinite;
}

@keyframes loadingBar {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}
.team-card {
    width: 100%;
    max-width: 350px; /* width increase */
    padding: 35px 25px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 0 auto;
}

.team-card img {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
}

.team-position {
    color: #666;
    margin-bottom: 15px;
}

.team-social a {
    color: #222;
    margin: 0 8px;
    font-size: 18px;
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    box-shadow: var(--shadow-orange);
}

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

.back-to-top:hover {
    background: var(--orange-dark);
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Navbar */
.navbar {
    background: var(--dark-blue);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--orange);
}

.navbar-brand .navbar-logo {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
}

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

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.05rem;
    }

    .navbar-brand .navbar-logo {
        height: 36px;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 0.95rem;
    }

    .navbar-brand .navbar-logo {
        height: 32px;
    }
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 10px 15px !important;
    position: relative;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.25s ease, opacity 0.25s ease;
    transform: translateX(-50%);
    pointer-events: none;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

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

.navbar-toggler {
    border: none;
    color: var(--white);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive Enhancements */
@media (max-width: 991px) {
    body {
        padding-top: 72px;
    }

    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.15rem;
    }

    .navbar-collapse {
        background: var(--dark-blue);
        border-radius: 0 0 12px 12px;
        margin-top: 10px;
        padding: 10px 15px;
    }

    .navbar-nav .nav-link {
        padding: 8px 0 !important;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .hero-content {
        padding-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-gold,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .sticky-enquiry {
        right: 15px;
        bottom: 20px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .whatsapp-float {
        left: 15px;
        bottom: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 68px;
    }

    section {
        padding: 60px 0;
    }

    .hero-section {
        min-height: auto;
        padding: 90px 0 70px;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    

    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .about-image img {
        max-height: 320px;
        object-fit: cover;
    }
}

@media (max-width: 575px) {
    body {
        padding-top: 64px;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .hero-section {
        padding: 90px 0 60px;
    }


    .hero-buttons {
        gap: 10px;
    }

    .btn-gold,
    .btn-outline-light {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

    .back-to-top {
        width: 46px;
        height: 46px;
        right: 12px;
        bottom: 12px;
    }

    .whatsapp-float {
        width: 46px;
        height: 46px;
        left: 12px;
        bottom: 12px;
    }

    .sticky-enquiry {
        right: 12px;
        bottom: 75px;
        width: calc(100% - 24px);
        justify-content: center;
    }
}

/* Hero Section */
.hero-section{
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content{
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-gold {
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--charcoal-black);
    transform: translateY(-3px);
}



.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-down {
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* Glass Card Effect */
.history-section{
    padding:80px 20px;
    background:#f5f5f5;
}

.history-container{
    max-width:1200px;
    margin:auto;
    background:#ffffff;
    padding:50px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    border-top:5px solid #2db55d;
}

.history-heading{
    margin-bottom:30px;
}

.history-heading span{
    display:block;
    color:#2db55d;
    font-size:18px;
    font-style:italic;
}

.history-heading h2{
    margin:0;
    font-size:42px;
    color:#2db55d;
    font-weight:700;
}

.history-content p{
    color:#555;
    line-height:1.9;
    margin-bottom:20px;
    text-align:justify;
}

.history-highlight{
    margin-top:35px;
    background:#3f342d;
    color:#fff;
    padding:25px 30px;
    border-radius:10px;
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.highlight-icon{
    font-size:45px;
    color:#2db55d;
    line-height:1;
}

.history-highlight p{
    margin:0;
    line-height:1.8;
}

@media(max-width:768px){

    .history-container{
        padding:30px 20px;
    }

    .history-heading h2{
        font-size:30px;
    }

    .history-highlight{
        flex-direction:column;
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-subtitle {
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.section-description {
    color: var(--medium-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background:rgb(227 227 227 / 95%);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
}

/* company details */
.company-details{
   
    padding:80px 0;
    color:#000000;
      padding:80px 20px;
    

}

.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}
.company-details .container{
    max-width:1200px;
    margin:auto;
    background:rgb(227 227 227 / 95%);
    padding:50px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    color:#2db55d;
}

.section-heading{
    margin-bottom:25px;
}

.section-heading span{
    display:block;
    color:#2db55d;
    font-size:18px;
    font-style:italic;
}

.section-heading h2{
    font-size:42px;
    margin:0;
    font-weight:700;
}

.company-content{
    max-width:950px;
    line-height:1.8;
    margin-bottom:50px;
    color:#000000;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.feature-box{
    border-left:1px solid rgba(255,255,255,.3);
    padding-left:25px;
}

.quote-icon{
    font-size:50px;
    color:#f4c15c;
    line-height:1;
    margin-bottom:10px;
}

.feature-box p{
    line-height:1.8;
    color:#000000;
}

@media(max-width:768px){

    .section-heading h2{
        font-size:30px;
    }

    .features-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:768px){

    .company-details{
        padding:40px 15px;
    }

    .company-details .container{
        padding:30px 20px;
    }

    .features-grid{
        grid-template-columns:1fr;
        gap:25px;
    }

    .section-heading h2{
        font-size:28px;
    }
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--dark-blue);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-badge i {
    font-size: 1.5rem;
    color: var(--orange);
}

.about-content {
    padding-left: 30px;
}

.about-text {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.feature-item i {
    color: var(--orange);
}

.btn-brick-red {
    background: var(--gradient-orange);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-brick-red:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
    color: var(--white);
}

.text-gold {
    color: var(--orange) !important;
}

/* Products Section */
.products-section {
    background: var(--white);
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--charcoal-black);
    margin-bottom: 15px;
}

.product-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.product-specs {
    list-style: none;
    padding: 0;
}

.product-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.product-specs li i {
    color: var(--orange);
}

/* Laboratory Section */
.laboratory-section {
    background: var(--off-white);
}

.laboratory-content {
    padding-right: 30px;
}

.laboratory-text {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.laboratory-tests {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.test-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.test-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.test-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--charcoal-black);
}

.test-info p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.lab-image-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.lab-image-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.3s;
    text-align:center;
}

.lab-image-card:hover{
    transform:translateY(-8px);
}

.lab-image-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    cursor:pointer;
    transition:transform 0.3s ease;
}

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

@media(max-width:768px){
    .lab-image-grid{
        grid-template-columns:1fr;
    }
}
.lab-certifications {
    background: var(--dark-blue);
    color: var(--white);
    padding: 25px;
    border-radius: 10px;
    max-width: 100%;
}

.lab-certifications h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--orange);
}

.cert-list {
    list-style: none;
    padding: 0;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* Process Section */
.process-section {
    background: var(--dark-blue);
    color: var(--white);
}

.process-section .section-subtitle {
    color: var(--orange);
}

.process-section .section-title {
    color: var(--white);
}

.process-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-item {
    position: relative;
}

.process-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.process-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.process-content:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.process-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.process-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.process-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-us-section {
    background: var(--white);
}

.why-card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--charcoal-black);
}

.why-card p {
    color: rgb(230, 111, 0);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Projects Section */
.projects-section {
    background: var(--off-white);
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(10, 25, 47, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: var(--white);
    margin-bottom: 5px;
}

.project-overlay p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.project-overlay .btn {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.project-info {
    padding: 20px;
}

.project-info h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--charcoal-black);
}

.project-info p {
    color: var(--medium-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.project-info i {
    color: var(--orange);
    margin-right: 5px;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 53, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Certifications Section */
.certifications-section {
    background: var(--off-white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-item {
    text-align: center;
    padding: 40px 30px;
    transition: var(--transition-smooth);
}

.cert-item:hover {
    transform: translateY(-10px);
}

.cert-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 20px;
}

.cert-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--charcoal-black);
}

.cert-item p {
    color: rgb(231, 107, 6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-blue);
    color: var(--white);
}

.testimonials-section .section-subtitle {
    color: var(--orange);
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: #2db55d;
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--orange);
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--white);
}

.author-info p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--orange);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--dark-blue);
    background-size: 50%;
    border-radius: 50%;
}

/* Contact Section */
.contact-section {
    background: var(--off-white);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--charcoal-black);
}

.contact-details p {
    color: rgb(8, 8, 8);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--charcoal-black);
}

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
    color: var(--medium-gray);
}

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

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
}

.footer-top {
    padding: 60px 0;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--orange);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--orange);
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: var(--orange);
    margin-top: 5px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-legal {
    text-align: right;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
    color: var(--orange);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .laboratory-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .lab-certifications {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 30px;
        max-width: 100%;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .lab-image-grid {
        grid-template-columns: 1fr;
    }

    .lab-image img {
        height: 240px;
    }
    
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-legal {
        text-align: center;
        margin-top: 10px;
    }
    
    .carousel-control-prev {
        left: 0;
    }
    
    .carousel-control-next {
        right: 0;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Lightbox Customization */
.lb-dataContainer {
    margin-bottom: 30px;
}

.lb-details {
    font-family: 'Poppins', sans-serif;
}

.lb-caption {
    font-size: 1rem;
    font-weight: 500;
}

.lb-number {
    font-size: 0.9rem;
}

/* Product Image Lightbox */
.product-lightbox[hidden] {
    display: none;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(5, 15, 30, 0.82);
}

.product-lightbox-panel {
    position: relative;
    width: min(50vw, 960px);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 3rem);
    padding: 1rem;
    border-radius: 0.75rem;
    background: #FFFFFF;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.product-lightbox-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 7rem);
    object-fit: contain;
    border-radius: 0.35rem;
}

.product-lightbox-title {
    margin: 0.75rem 0 0;
    color: #0A192F;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.product-lightbox-close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    z-index: 1;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 50%;
    color: #FFFFFF;
    background: #0A192F;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus-visible {
    background: #FF6B35;
}

@media (max-width: 767.98px) {
    .product-lightbox-panel {
        width: 90vw;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-dark);
}

/* Selection Color */
::selection {
    background: var(--orange);
    color: var(--white);
}

::-moz-selection {
    background: var(--orange);
    color: var(--white);
}

/* Mega Menu Styles */
.mega-menu {
    position: static;
}

.mega-menu .dropdown-menu {
    width: 100%;
    border: none;
    border-radius: 0;
    background: var(--dark-blue-light);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    margin-top: 0;
}

.mega-menu .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.mega-menu .dropdown-item {
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition-smooth);
}

.mega-menu .dropdown-item:hover {
    background: var(--orange);
    color: var(--white);
}

.mega-menu .dropdown-item i {
    margin-right: 10px;
    color: var(--orange);
}

/*=============================
    Premium Hero Section
=============================*/

.breadcrumb-section{
    background:linear-gradient(135deg,#061B3D,#0B2D63);
    color:#fff;
    padding:110px 0 90px;
    position:relative;
    overflow:hidden;
}

.breadcrumb-section::before{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,107,53,.08);
    border-radius:50%;
    top:-120px;
    right:-120px;
}

.breadcrumb-section::after{
    content:"";
    position:absolute;
    width:250px;
    height:250px;
    background:rgba(255,255,255,.04);
    border-radius:50%;
    left:-100px;
    bottom:-100px;
}

.breadcrumb-section .container{
    position:relative;
    z-index:2;
}

/* Breadcrumb */

.breadcrumb{
    background:none;
    margin-bottom:20px;
}

.breadcrumb-item a{
    color:#FF6B35;
    text-decoration:none;
    font-weight:600;
}

.breadcrumb-item.active{
    color:#fff;
}

.breadcrumb-item+.breadcrumb-item::before{
    color:#FF6B35;
}

/* Heading */

.breadcrumb-section h1{
    color:#fff;
    font-size:60px;
    font-weight:700;
    margin-bottom:25px;
}

.breadcrumb-section p{
    color:rgba(255,255,255,.80);
    font-size:18px;
    line-height:1.9;
}

/* Buttons */

.hero-buttons{
    margin-top:35px;
}

.btn-primary-custom{
    display:inline-block;
    background:#FF6B35;
    color:#fff;
    padding:14px 35px;
    border-radius:40px;
    text-decoration:none;
    margin-right:15px;
    transition:.35s;
}

.btn-primary-custom:hover{
    background:#ff5722;
    color:#fff;
    transform:translateY(-5px);
}

.btn-outline-custom{
    display:inline-block;
    border:2px solid #fff;
    color:#fff;
    padding:14px 35px;
    border-radius:40px;
    text-decoration:none;
    transition:.35s;
}

.btn-outline-custom:hover{
    background:#fff;
    color:#061B3D;
}

/*=====================
    Stats Cards
======================*/

.stats-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;

}

.stat-card{

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:18px;
    padding:35px 20px;
    text-align:center;
    transition:.4s;

}

.stat-card:hover{

    transform:translateY(-8px);
    border-color:#FF6B35;
    box-shadow:0 20px 40px rgba(255,107,53,.25);

}

.stat-card h2{

    color:#FF6B35;
    font-size:42px;
    margin-bottom:12px;
    font-weight:700;

}

.stat-card p{

    color:#fff;
    margin:0;
    font-size:16px;

}

/* Industry Tags */

.industry-tags{

    margin-top:60px;
    display:flex;
    gap:15px;
    flex-wrap:wrap;

}

.industry-tags span{

    padding:10px 20px;
    border-radius:30px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.15);
    transition:.3s;
}

.industry-tags span:hover{

    background:#FF6B35;

}

/* Responsive */

@media(max-width:991px){

    .breadcrumb-section{

        padding:80px 0;
        text-align:center;

    }

    .breadcrumb-section h1{

        font-size:42px;

    }

    .stats-grid{

        margin-top:40px;

    }

    .industry-tags{

        justify-content:center;

    }

}

@media(max-width:576px){

    .stats-grid{

        grid-template-columns:1fr;

    }

}
/* Sticky Enquiry Button */
.sticky-enquiry {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--gradient-orange);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 999;
    box-shadow: var(--shadow-orange);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.sticky-enquiry:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

/* Industries Section */
.industries-section {
    background: var(--off-white);
}

.industry-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 2rem;
}

.industry-card h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.industry-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Infrastructure Section */
.infrastructure-section {
    background: var(--white);
}

.infrastructure-card {
    background: var(--off-white);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.infrastructure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.infrastructure-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
}

.infrastructure-card h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.infrastructure-card p {
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* R&D Section */
.rd-section {
    background: var(--dark-blue);
    color: var(--white);
}

.rd-section .section-subtitle {
    color: var(--orange);
}

.rd-section .section-title {
    color: var(--white);
}

.rd-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.rd-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.rd-card h4 {
    color: var(--orange);
    margin-bottom: 15px;
}

.rd-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Client Logos */
.clients-section {
    background: var(--white);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.client-logo {
    min-height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--off-white);
    border: 1px solid rgba(10, 25, 47, 0.08);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.04);
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 107, 53, 0.25);
}

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

@media (max-width: 991px) {
    .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-logo {
        min-height: 78px;
    }
}

/* Certificate Gallery */
.certificate-slider-wrapper{
    overflow: hidden;
    width: 100%;
}

.certificate-slider{
    display: flex;
    gap: 30px;
    width: max-content;
    animation: certificateScroll 25s linear infinite;
}

.certificate-slider:hover{
    animation-play-state: paused;
}

/* A4 Size Card */
/* =========================
   Certificates Section
========================= */
.certificates-section{
    background: #f8f9fa;
    overflow: hidden;
    padding: 80px 0;
}

/* =========================
   Slider Wrapper
========================= */
.certificate-slider-wrapper{
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* =========================
   Slider
========================= */
.certificate-slider{
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: certificateScroll 35s linear infinite;
}

.certificate-slider:hover{
    animation-play-state: paused;
}

/* =========================
   A4 Certificate Card
========================= */
.certificate-card{
    width: 420px;
    height: 594px;   /* A4 Ratio */
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.certificate-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.20);
}

/* =========================
   Certificate Image
========================= */
.certificate-card img{
    width: 100%;
    height: 470px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 10px;
}

/* =========================
   Certificate Title
========================= */
.certificate-card h5{
    margin-top: 18px;
    font-size: 22px;
    font-weight: 700;
    color: #0A192F;
}

/* =========================
   Certificate Description
========================= */
.certificate-card p{
    margin-top: 8px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* =========================
   Auto Infinite Animation
========================= */
@keyframes certificateScroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}

/* =========================
   Tablet
========================= */
@media (max-width: 992px){

    .certificate-card{
        width: 330px;
        height: 467px;
    }

    .certificate-card img{
        height: 350px;
    }

    .certificate-card h5{
        font-size: 20px;
    }
}

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

    .certificate-slider{
        gap: 30px;
    }

    .certificate-card{
        width: 260px;
        height: 368px;
        padding: 15px;
    }

    .certificate-card img{
        height: 260px;
    }

    .certificate-card h5{
        font-size: 18px;
    }

    .certificate-card p{
        font-size: 13px;
    }
}
/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .whatsapp-float,
    .sticky-enquiry,
    .hero-scroll,
    #loading-screen {
        display: none !important;
    }
}

/* ============================================================
   PRODUCTS PAGE — Scoped Styles (.products-page)
   All styles below apply only when <body class="products-page">
   This prevents any conflicts with the main site CSS.
   ============================================================ */

/* Products Page: body font override to Inter */
.products-page {
    font-family: 'Inter', 'Poppins', sans-serif;
}

/* -----------------------------------------------
   Products Page Hero (different from .hero-section)
   ----------------------------------------------- */
.products-page .prod-hero {
    position: relative;
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    color: #FFFFFF;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .products-page .prod-hero {
        padding: 8rem 0;
    }
}

.products-page .prod-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663778027710/Ko7AxXhiKy8YAfJM5dtmuX/hero-furnace-interior-5EJGXrcupgokBZALQuhebp.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.products-page .prod-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0A192F 0%, #0A192F 50%, transparent 100%);
    z-index: 2;
}

.products-page .prod-hero-content {
    position: relative;
    z-index: 3;
}

.products-page .prod-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: #B0B0B0;
}

.products-page .prod-breadcrumb-link {
    color: #B0B0B0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.products-page .prod-breadcrumb-link:hover {
    color: #FFFFFF;
}

.products-page .prod-breadcrumb-sep {
    color: #FF6B35;
}

.products-page .prod-breadcrumb-current {
    color: #FF6B35;
    font-weight: 600;
}

.products-page .prod-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .products-page .prod-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .products-page .prod-hero-title {
        font-size: 2rem;
    }
}

.products-page .prod-hero-subtitle {
    font-size: 1.25rem;
    color: #D0D0D0;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .products-page .prod-hero-subtitle {
        font-size: 1rem;
    }
}

.products-page .btn-prod-primary {
    background-color: #FF6B35;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.products-page .btn-prod-primary:hover {
    background-color: #E55A24;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: #FFFFFF;
}

.products-page .btn-prod-secondary {
    background-color: #FF6B35;
    color: #FFFFFF;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

.products-page .btn-prod-secondary:hover {
    background-color: #E55A24;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    color: #FFFFFF;
}

.products-page .btn-prod-cta {
    background-color: #FFFFFF;
    color: #FF6B35;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.products-page .btn-prod-cta:hover {
    background-color: #F5F5F5;
    transform: translateY(-2px);
    color: #FF6B35;
}

/* -----------------------------------------------
   Products Page Section Base
   ----------------------------------------------- */
.products-page .prod-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .products-page .prod-section {
        padding: 5rem 0;
    }
}

.products-page .prod-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-page .prod-section-header.light {
    color: #FFFFFF;
}

.products-page .prod-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .products-page .prod-section-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .products-page .prod-section-title {
        font-size: 1.75rem;
    }
}

.products-page .prod-section-header.light .prod-section-title {
    color: #FFFFFF;
}

.products-page .prod-section-subtitle {
    font-size: 1.125rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.products-page .prod-section-header.light .prod-section-subtitle {
    color: #B0B0B0;
}

/* -----------------------------------------------
   Grid Layouts
   ----------------------------------------------- */
.products-page .cards-grid {
    display: grid;
    gap: 2rem;
}

.products-page .cards-2 {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
}

.products-page .cards-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.products-page .cards-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
    .products-page .cards-2,
    .products-page .cards-3,
    .products-page .cards-4 {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------
   Products Overview Section
   ----------------------------------------------- */
.products-page .prod-overview-section {
    background-color: #FFFFFF;
}

.products-page .overview-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.products-page .overview-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #FF6B35;
}

.products-page .card-icon-box {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #FF6B35 0%, #E55A24 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.products-page .prod-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #0A192F;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.products-page .prod-card-description {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.products-page .prod-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-page .prod-card-list li {
    color: #555555;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.products-page .prod-card-list li::before {
    content: '●';
    color: #FF6B35;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* -----------------------------------------------
   Shaped Products Section
   ----------------------------------------------- */
.products-page .shaped-products-section {
    background-color: #F5F5F5;
}

.products-page .shaped-product-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.products-page .shaped-product-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.products-page .shaped-product-img-wrap {
    position: relative;
    height: 16rem;
    overflow: hidden;
    background-color: #E0E0E0;
}

.products-page .shaped-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.products-page .shaped-product-card:hover .shaped-product-img-wrap img {
    transform: scale(1.05);
}

.products-page .prod-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #FF6B35;
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.products-page .shaped-product-body {
    padding: 2rem;
}

.products-page .prod-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #0A192F;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.products-page .prod-desc {
    color: #666666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.products-page .prod-features {
    margin-bottom: 1.5rem;
}

.products-page .prod-feature {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.products-page .prod-feature-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #FF6B35;
    border-radius: 50%;
    margin-top: 0.375rem;
    flex-shrink: 0;
}

.products-page .prod-feature-title {
    font-weight: 600;
    color: #333333;
    margin: 0;
    font-size: 0.95rem;
}

.products-page .prod-feature-text {
    color: #666666;
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
}

/* -----------------------------------------------
   Unshaped Products Section
   ----------------------------------------------- */
.products-page .unshaped-section {
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    color: #FFFFFF;
}

.products-page .unshaped-category {
    margin-bottom: 3rem;
}

.products-page .unshaped-cat-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #FF6B35;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.products-page .unshaped-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.products-page .unshaped-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FF6B35;
    transform: translateY(-2px);
}

.products-page .unshaped-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.products-page .unshaped-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.products-page .unshaped-desc {
    font-size: 0.85rem;
    color: #B0B0B0;
    margin: 0;
}

/* -----------------------------------------------
   Applications Section
   ----------------------------------------------- */
.products-page .applications-section {
    background-color: #FFFFFF;
}

.products-page .app-card {
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
    border: 1px solid #E5E5E5;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.products-page .app-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #FF6B35;
}

.products-page .app-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.75rem;
}

.products-page .app-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0A192F;
    margin: 0;
}

/* -----------------------------------------------
   Why Choose Us Section
   ----------------------------------------------- */
.products-page .why-us-section {
    background-color: #F5F5F5;
}

.products-page .feat-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    border: 1px solid #E5E5E5;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.products-page .feat-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #FF6B35;
}

.products-page .feat-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.products-page .feat-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: #0A192F;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.products-page .feat-card-text {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* -----------------------------------------------
   CTA Section
   ----------------------------------------------- */
.products-page .prod-cta-section {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A24 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .products-page .prod-cta-section {
        padding: 6rem 0;
    }
}

.products-page .prod-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.products-page .prod-cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

@media (min-width: 768px) {
    .products-page .prod-cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .products-page .prod-cta-title {
        font-size: 1.75rem;
    }
}

.products-page .prod-cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* -----------------------------------------------
   In-view Animations for Product Cards
   ----------------------------------------------- */
.products-page .shaped-product-card,
.products-page .overview-card,
.products-page .feat-card,
.products-page .app-card,
.products-page .unshaped-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.products-page .shaped-product-card.in-view,
.products-page .overview-card.in-view,
.products-page .feat-card.in-view,
.products-page .app-card.in-view,
.products-page .unshaped-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.products-page .shaped-product-card:nth-child(2),
.products-page .overview-card:nth-child(2),
.products-page .feat-card:nth-child(2),
.products-page .app-card:nth-child(2) {
    transition-delay: 0.1s;
}

.products-page .shaped-product-card:nth-child(3),
.products-page .overview-card:nth-child(3),
.products-page .feat-card:nth-child(3),
.products-page .app-card:nth-child(3) {
    transition-delay: 0.2s;
}

.products-page .shaped-product-card:nth-child(4),
.products-page .overview-card:nth-child(4),
.products-page .feat-card:nth-child(4),
.products-page .app-card:nth-child(4) {
    transition-delay: 0.3s;
}

.products-page .unshaped-card:nth-child(2) { transition-delay: 0.1s; }
.products-page .unshaped-card:nth-child(3) { transition-delay: 0.2s; }
.products-page .unshaped-card:nth-child(4) { transition-delay: 0.3s; }

/* -----------------------------------------------
   Responsive Adjustments
   ----------------------------------------------- */
@media (max-width: 991px) {
    .products-page .cards-2 {
        grid-template-columns: 1fr;
    }
}



/*==============================================================
  HOMEPAGE VISUAL REFINEMENT — v2
  Scoped to .home-page so the other pages keep their existing design.
==============================================================*/
.home-page {
    background: #f6f8fa;
}

.home-page section {
    padding: 96px 0;
}

.home-page .container {
    max-width: 1240px;
}

.home-page .navbar {
    background: rgba(6, 20, 38, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 13px 0;
    backdrop-filter: blur(14px);
}

.home-page .navbar.scrolled {
    background: #061426;
    padding: 9px 0;
}

.home-page .navbar-brand {
    gap: 0.65rem;
    letter-spacing: -0.02em;
}

.home-page .brand-text {
    font-size: 1.05rem;
}

.home-page .hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 0;
    isolation: isolate;
}

.home-page .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 14, 28, 0.93) 0%, rgba(3, 14, 28, 0.76) 43%, rgba(3, 14, 28, 0.22) 100%);
}

.home-page .hero-content {
    width: 100%;
    padding: 4rem 0 5rem;
}

.home-page .hero-copy {
    max-width: 735px;
    padding: 1.9rem 0 2rem 2.2rem;
    border-left: 3px solid var(--orange);
    position: relative;
}

.home-page .hero-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    width: 3px;
    height: 48px;
    background: #ffd166;
}

.home-page .hero-kicker {
    color: #ffd166;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.5;
    margin: 0 0 1.1rem;
    text-transform: uppercase;
}

.home-page .hero-kicker span {
    display: inline-block;
    width: 28px;
    height: 2px;
    margin: 0 10px 3px 0;
    background: var(--orange);
}

.home-page .hero-title {
    max-width: 720px;
    margin: 0 0 1.25rem;
    color: #ffffff !important;
    font-size: clamp(3rem, 5.4vw, 5.35rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.home-page .hero-subtitle {
    max-width: 650px;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.02rem;
    line-height: 1.8;
}

.home-page .hero-divider {
    padding: 0 0.35rem;
    color: var(--orange);
    font-weight: 700;
}

.home-page .hero-buttons {
    gap: 12px;
}

.home-page .hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 13px 22px;
    font-size: 0.93rem;
    letter-spacing: 0.01em;
}

.home-page .hero-buttons .btn-gold {
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.28);
}

.home-page .hero-buttons .btn-outline-light {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.7);
}

.home-page .hero-scroll {
    bottom: 24px;
}

.home-page .hero-scroll::before {
    content: 'SCROLL';
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    transform: rotate(180deg) translateX(4px);
}

.home-page .section-subtitle {
    margin-bottom: 0.65rem;
    font-size: 0.76rem;
    letter-spacing: 0.2em;
}

.home-page .section-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.home-page .section-description {
    color: #65717d;
    font-size: 1rem;
    line-height: 1.75;
}

.home-page .about-section {
    background: #f6f8fa;
}

.home-page .about-image {
    padding: 0 1.4rem 1.4rem 0;
}

.home-page .about-image::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 76%;
    border-radius: 14px;
    background: #e9edf1;
}

.home-page .about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 14px !important;
    box-shadow: 0 22px 48px rgba(6, 20, 38, 0.15) !important;
}

.home-page .about-badge {
    right: -0.2rem;
    bottom: 0.2rem;
    z-index: 2;
    max-width: 235px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #061426;
    box-shadow: 0 14px 32px rgba(6, 20, 38, 0.24);
    font-size: 0.82rem;
    line-height: 1.4;
}

.home-page .about-content {
    max-width: 600px;
    padding-left: 4rem;
}

.home-page .about-text {
    color: #53606d;
    font-size: 0.96rem;
    line-height: 1.85;
}

.home-page .about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
    margin-top: 1.6rem;
}

.home-page .feature-item {
    align-items: flex-start;
    margin-bottom: 0;
    color: #3f4d5a;
    font-size: 0.88rem;
    line-height: 1.45;
}

.home-page .feature-item i {
    flex-shrink: 0;
    margin-top: 2px;
}

.home-page .about-content .btn,
.home-page .products-section > .container > .text-center .btn,
.home-page .industries-section .text-center .btn,
.home-page .clients-section .text-center .btn {
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 0.9rem;
}

.home-page .products-section {
    background: #ffffff;
}

.home-page .products-section .text-center.mb-5,
.home-page .industries-section .text-center.mb-5,
.home-page .clients-section .text-center.mb-5,
.home-page .certifications-section .text-center.mb-5,
.home-page .testimonials-section .text-center.mb-5 {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.home-page .product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e8ed;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(6, 20, 38, 0.07);
}

.home-page .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(6, 20, 38, 0.13);
}

.home-page .product-image {
    height: 228px;
    background: #f3f5f6;
}

.home-page .product-image img {
    padding: 0.8rem;
}

.home-page .product-overlay {
    background: rgba(6, 20, 38, 0.7);
}

.home-page .product-overlay .btn {
    border-radius: 8px;
}

.home-page .product-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px 24px 25px;
}

.home-page .product-content h3 {
    margin-bottom: 10px;
    color: #14283d;
    font-size: 1.32rem;
    letter-spacing: -0.02em;
}

.home-page .product-content p {
    min-height: 52px;
    color: #65717d;
    font-size: 0.9rem;
    line-height: 1.65;
}

.home-page .product-specs {
    margin-top: auto;
    padding-top: 0.8rem;
}

.home-page .product-specs li {
    color: #586673;
    font-size: 0.82rem;
}

.home-page .industries-section {
    background: #eef2f5;
}

.home-page .industry-card {
    min-height: 210px;
    padding: 25px 24px;
    border: 1px solid #e0e6eb;
    border-radius: 14px;
    text-align: left;
    box-shadow: none;
}

.home-page .industry-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 14px 28px rgba(6, 20, 38, 0.08);
}

.home-page .industry-icon {
    width: 55px;
    height: 55px;
    margin: 0 0 18px;
    border-radius: 12px;
    font-size: 1.35rem;
}

.home-page .industry-card h4 {
    margin-bottom: 9px;
    font-size: 1.16rem;
}

.home-page .industry-card p {
    color: #65717d;
    font-size: 0.87rem;
    line-height: 1.65;
}

.home-page .clients-section {
    background: #ffffff;
}

.home-page .client-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
}

.home-page .client-logo {
    min-height: 74px;
    padding: 12px 10px;
    border: 1px solid #e7ebef;
    border-radius: 10px;
    background: #f7f9fa;
    box-shadow: none;
    color: #314354;
    font-size: 0.79rem;
    line-height: 1.35;
}

.home-page .client-logo:hover {
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 10px 22px rgba(6, 20, 38, 0.08);
}

.home-page .laboratory-section {
    background: #f6f8fa;
}

.home-page .laboratory-content {
    padding-right: 3rem;
}

.home-page .laboratory-text {
    color: #53606d;
    line-height: 1.8;
}

.home-page .laboratory-tests {
    gap: 15px;
}

.home-page .test-item {
    gap: 15px;
}

.home-page .test-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 1.15rem;
}

.home-page .test-info h4 {
    margin-bottom: 3px;
    font-size: 1rem;
}

.home-page .test-info p {
    font-size: 0.82rem;
}

.home-page .lab-image img {
    width: 100%;
    height: 455px;
    object-fit: cover;
    border-radius: 14px !important;
    box-shadow: 0 22px 48px rgba(6, 20, 38, 0.13) !important;
}

.home-page .lab-certifications {
    position: relative;
    z-index: 2;
    width: calc(100% - 32px);
    margin: -52px 0 0 32px;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(6, 20, 38, 0.2);
}

.home-page .lab-certifications h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.home-page .cert-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 18px;
}

.home-page .cert-list li {
    margin-bottom: 0;
    font-size: 0.79rem;
}

.home-page .process-section {
    background: #071a31;
    background-image: radial-gradient(circle at 15% 15%, rgba(255, 107, 53, 0.14), transparent 30%), radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.05), transparent 30%);
}

.home-page .process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.home-page .process-item {
    padding-top: 18px;
}

.home-page .process-number {
    top: 0;
    left: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    transform: translateX(-50%);
    font-size: 0.9rem;
}

.home-page .process-content {
    min-height: 236px;
    padding: 48px 22px 23px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
}

.home-page .process-icon {
    margin-bottom: 15px;
    font-size: 2.25rem;
}

.home-page .process-content h4 {
    margin-bottom: 10px;
    font-size: 1.14rem;
}

.home-page .process-content p {
    font-size: 0.84rem;
    line-height: 1.65;
}

.home-page .why-us-section {
    background: #ffffff;
}

.home-page .why-card {
    height: 100%;
    padding: 27px 20px 24px;
    border: 1px solid #e5eaee;
    border-radius: 14px;
    box-shadow: none;
}

.home-page .why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 20, 38, 0.08);
}

.home-page .why-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 15px;
    border-radius: 12px;
    font-size: 1.45rem;
}

.home-page .why-card h4 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.home-page .why-card p {
    color: #65717d;
    font-size: 0.82rem;
    line-height: 1.6;
}

.home-page .gallery-section {
    background: #f6f8fa;
}

.home-page .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-page .gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(6, 20, 38, 0.08);
}

.home-page .gallery-item img {
    height: 100%;
}

.home-page .certifications-section {
    background: #eef2f5;
}

.home-page .certifications-grid {
    gap: 16px;
    margin-top: 40px;
}

.home-page .cert-item {
    padding: 28px 18px;
    border: 1px solid #dfe6eb;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: none;
}

.home-page .cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 25px rgba(6, 20, 38, 0.08);
}

.home-page .cert-icon {
    margin-bottom: 14px;
    font-size: 2.25rem;
}

.home-page .cert-item h4 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.home-page .cert-item p {
    color: #65717d;
    font-size: 0.8rem;
}

.home-page .testimonials-section {
    background: #071a31;
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.14), transparent 28%);
}

.home-page .testimonial-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.065);
}

.home-page .testimonial-text {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1rem;
    line-height: 1.85;
}

.home-page .contact-section {
    background: #f6f8fa;
}

.home-page .contact-item,
.home-page .contact-form {
    border: 1px solid #e2e8ed;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(6, 20, 38, 0.05);
}

.home-page .contact-item {
    padding: 20px;
}

.home-page .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    font-size: 1.15rem;
}

.home-page .contact-form {
    padding: 30px;
}

.home-page .form-control {
    border-radius: 8px;
    border-width: 1px;
}

@media (max-width: 1199px) {
    .home-page .client-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-page section {
        padding: 76px 0;
    }

    .home-page .hero-section {
        min-height: calc(100vh - 72px);
    }

    .home-page .hero-content {
        padding: 4rem 0 4.5rem;
    }

    .home-page .hero-copy {
        max-width: 760px;
        margin: 0 auto;
        padding-left: 1.7rem;
        text-align: left;
    }

    .home-page .about-content {
        max-width: none;
        padding: 3rem 0 0;
    }

    .home-page .laboratory-content {
        padding-right: 0;
        padding-bottom: 2.5rem;
    }

    .home-page .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home-page section {
        padding: 64px 0;
    }

    .home-page .hero-section {
        min-height: calc(100vh - 68px);
    }

    .home-page .hero-content {
        padding: 3rem 0 4rem;
    }

    .home-page .hero-copy {
        padding: 1.3rem 0 1.4rem 1.15rem;
    }

    .home-page .hero-kicker {
        font-size: 0.66rem;
        letter-spacing: 0.13em;
    }

    .home-page .hero-title {
        font-size: clamp(2.45rem, 11vw, 3.8rem);
    }

    .home-page .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .home-page .hero-divider {
        padding: 0 0.12rem;
    }

    .home-page .hero-buttons {
        align-items: stretch;
    }

    .home-page .hero-buttons .btn {
        width: auto;
    }

    .home-page .about-image {
        padding-right: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .home-page .about-image img {
        height: 330px;
    }

    .home-page .about-badge {
        right: -0.15rem;
        bottom: -0.05rem;
        padding: 11px 13px;
        font-size: 0.72rem;
    }

    .home-page .about-features {
        grid-template-columns: 1fr;
    }

    .home-page .product-image {
        height: 220px;
    }

    .home-page .client-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .lab-image img {
        height: 320px;
    }

    .home-page .lab-certifications {
        width: calc(100% - 18px);
        margin: -38px 0 0 18px;
        padding: 16px;
    }

    .home-page .process-timeline {
        grid-template-columns: 1fr;
    }

    .home-page .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .certifications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .contact-form {
        padding: 22px 18px;
    }
}

@media (max-width: 575px) {
    .home-page .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .home-page .hero-buttons .btn {
        width: 100%;
    }

    .home-page .hero-scroll {
        display: none;
    }

    .home-page .section-title {
        font-size: 2rem;
    }

    .home-page .gallery-grid,
    .home-page .certifications-grid {
        grid-template-columns: 1fr;
    }
}


/* Factory Gallery Image Lightbox */
.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(3, 14, 28, 0.86);
}

.gallery-lightbox-panel {
    position: relative;
    width: min(50vw, 960px);
    max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 3rem);
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-figure {
    margin: 0;
    text-align: center;
}

.gallery-lightbox-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 7rem);
    object-fit: contain;
    border-radius: 7px;
}

.gallery-lightbox-title {
    margin: 0.65rem 0 0.1rem;
    color: #0a192f;
    font-size: 0.95rem;
    font-weight: 600;
}

.gallery-lightbox-close {
    position: absolute;
    top: -0.8rem;
    right: -0.8rem;
    z-index: 1;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: #ff6b35;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible {
    background: #e55a2b;
    outline: 3px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .gallery-lightbox {
        padding: 1rem;
    }

    .gallery-lightbox-panel {
        width: 90vw;
    }

    .gallery-lightbox-close {
        top: -0.55rem;
        right: -0.55rem;
    }
}

/* Leadership messages */
.leadership-messages {
    background: var(--off-white);
}

.leadership-message-card {
    height: 100%;
    padding: 40px 30px;
    border: 1px solid rgba(10, 25, 47, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(10, 25, 47, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.leadership-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--orange);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.leadership-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.leadership-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.leadership-message-card h3 {
    margin: 0 0 5px;
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.leadership-title {
    margin: 0 0 20px;
    color: var(--orange);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.message-divider {
    width: 60px;
    height: 3px;
    background: var(--orange);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.leadership-message-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.leadership-message-card .message-icon {
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 1.5rem;
}

.leadership-message-card .message-signoff {
    margin-top: auto;
    padding-top: 20px;
    color: var(--dark-blue);
    font-weight: 500;
    border-top: 1px solid rgba(10, 25, 47, 0.1);
    text-align: right;
}



/* Final narrow-mobile navigation and floating CTA safeguards */
@media (max-width: 575px) {
    .navbar > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        min-width: 0;
        max-width: calc(100% - 48px);
        gap: 0.4rem;
        font-size: 0.86rem;
    }

    .navbar-brand .navbar-logo {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }

    .navbar-brand .brand-text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 0.82rem;
    }

    .navbar-toggler {
        flex: 0 0 auto;
        width: 40px;
        margin-left: 8px;
        padding: 5px;
    }

    .sticky-enquiry {
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        bottom: 75px;
        padding: 10px 16px;
        justify-content: center;
    }
}

@media (max-width: 320px) {
    .navbar-brand {
        max-width: calc(100% - 44px);
        gap: 0.35rem;
    }

    .navbar-brand .navbar-logo {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .navbar-brand .brand-text {
        font-size: 0.72rem;
    }

    .navbar-toggler {
        width: 36px;
        margin-left: 4px;
    }

    .sticky-enquiry {
        left: 8px;
        right: 8px;
    }
}


/* Mobile viewport lock and reliable hamburger navigation */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 575px) {
    html,
    body {
        overflow-x: hidden;
        overscroll-behavior-x: none;
    }

    .navbar > .container {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        align-items: center;
    }

    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
        flex-grow: 1;
        margin-top: 10px;
    }

    .navbar-brand {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .navbar-toggler {
        display: block !important;
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        margin-left: auto;
        padding: 5px;
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 6px;
        color: #ffffff;
        opacity: 1;
    }

    .navbar-toggler-icon {
        display: block;
        width: 28px;
        height: 28px;
        background-size: 100% 100%;
    }
}

@media (max-width: 320px) {
    .navbar-toggler {
        width: 36px;
        height: 36px;
        padding: 4px;
    }

    .navbar-toggler-icon {
        width: 26px;
        height: 26px;
    }
}
