﻿/* PRUTHASHAKTI FPC - CUSTOM STYLES v5.0 */

:root {
    --header-offset: 110px;
    --font-family-base: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-med: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glow-green: rgba(25, 135, 84, 0.35);
}

body {
    padding-top: var(--header-offset);
    font-family: var(--font-family-base);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Mobile app-like smooth scroll */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}

/* ============================================
   PAGE LOAD & TRANSITION ANIMATIONS
   ============================================ */
body.page-loaded main {
    animation: contentReveal 0.4s var(--ease-out-expo) forwards;
}
@keyframes contentReveal {
    from { opacity: 0.92; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
body.page-leaving {
    opacity: 0;
    transition: opacity 0.18s ease-out;
}

/* ============================================
   SCROLL-TRIGGERED ANIMATIONS (Enhanced)
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}
.animate-on-scroll.slide-left.animated {
    transform: translateX(0);
}
.animate-on-scroll.slide-right {
    transform: translateX(50px);
}
.animate-on-scroll.slide-right.animated {
    transform: translateX(0);
}
.animate-on-scroll.scale-up {
    transform: scale(0.9);
}
.animate-on-scroll.scale-up.animated {
    transform: scale(1);
}
.animate-on-scroll.blur-in {
    filter: blur(8px);
    transform: translateY(20px);
}
.animate-on-scroll.blur-in.animated {
    filter: blur(0);
    transform: translateY(0);
}

/* Stagger children */
.stagger-children > * { transition-delay: calc(var(--stagger-index, 0) * 0.08s); }

/* ============================================
   RIPPLE TOUCH FEEDBACK
   ============================================ */
.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect .ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.18);
    transform: scale(0);
    animation: rippleExpand 0.55s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleExpand {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================
   FLOATING / PULSING ELEMENTS
   ============================================ */
.float-gentle {
    animation: floatGentle 4s ease-in-out infinite;
}
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-green); }
    50%      { box-shadow: 0 0 20px 6px var(--glow-green); }
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.lead,
.btn,
.badge,
.nav-link,
.dropdown-item,
.form-label,
.form-control,
textarea,
select,
input {
    font-family: var(--font-family-base);
}

/* 1. HEADER & NAVIGATION */
.header-section {
    background: rgba(255, 255, 255, 0.9);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 28px rgba(13, 37, 25, 0.08);
    border-bottom: 1px solid rgba(25, 135, 84, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1045;
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 34px rgba(13, 37, 25, 0.12);
}

.header-scrolled .navbar-brand img {
    height: 50px;
    transition: height 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    color: #1f2d24;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 0.95rem !important;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
    box-shadow: inset 0 0 0 1px rgba(25, 135, 84, 0.12);
}

.dropdown-menu {
    border: 1px solid #e2ece4;
    border-radius: 0.9rem;
    padding: 0.55rem;
    box-shadow: 0 14px 34px rgba(13, 37, 25, 0.12);
}

.dropdown-item {
    border-radius: 0.65rem;
    font-weight: 500;
    color: #1f2d24;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: #eef8f2;
    color: #198754;
}

.dropdown-item.active,
.dropdown-item.active:hover,
.dropdown-item.active:focus {
    background: linear-gradient(180deg, #eef8f2 0%, #e6f4ec 100%);
    color: #167246;
    font-weight: 600;
}

.top-bar {
    font-size: 0.875rem;
    background: linear-gradient(90deg, #122f22 0%, #1a4b35 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
}

.btn-login {
    position: relative;
    border: none;
    border-radius: 999px;
    padding: 0.62rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(120deg, #167246 0%, #198754 55%, #2abf82 100%);
    box-shadow: 0 10px 20px rgba(22, 114, 70, 0.28);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

.btn-login:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(22, 114, 70, 0.34);
}

.btn-login:hover::before {
    left: 145%;
}

.btn-login:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.24), 0 12px 24px rgba(22, 114, 70, 0.3);
}

main .btn {
    font-weight: 600;
    letter-spacing: 0.01em;
    border-width: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

main .btn:hover {
    transform: translateY(-1px);
}

main .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.18);
}

main .btn.rounded-pill {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
}

.skip-link {
    position: absolute;
    left: 0.75rem;
    top: -44px;
    z-index: 1100;
    background: #198754;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0.75rem;
    color: #fff;
}

/* 2. HERO SECTIONS */
.hero-section {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(120deg, rgba(7, 22, 15, 0.78) 0%, rgba(11, 35, 24, 0.58) 45%, rgba(22, 49, 35, 0.46) 100%);
    z-index: 1;
}

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

.home-hero {
    background-image: url("../images/hero/slide-1.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 540px;
}

.hero-title {
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-hero .lead {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92);
}

.hero-primary-btn,
.hero-secondary-btn {
    min-width: 180px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.page-hero {
    min-height: 500px;
}

.page-hero .container {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

.inner-page .page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.inner-page.route-vision-mission .page-hero,
.inner-page.route-careers .page-hero,
.inner-page.route-fpc-services .page-hero,
.inner-page.route-certifications .page-hero,
.inner-page.route-testimonials .page-hero,
.inner-page.route-contact .page-hero {
    min-height: 680px;
    background-position: center center;
}

.hero-context-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.hero-context-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    padding: 0.42rem 0.82rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #eafff3;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(6px);
}

.hero-context-chip i {
    font-size: 0.8rem;
    color: #b8f0d3;
}

.page-hero .lead {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-actions .btn {
    min-width: 180px;
    padding: 0.65rem 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    line-height: 1.35;
    font-size: 1rem;
}

.page-hero-actions {
    align-items: center;
}

.page-hero-actions .btn {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
}

.inner-page .page-hero .hero-actions {
    align-items: stretch;
    max-width: 100%;
    margin-top: 1rem;
}

.inner-page .page-hero .hero-actions .btn {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
}

.inner-page main > section:not(.hero-section) {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.inner-page section .text-center.mb-5 > .badge {
    margin-bottom: 0.9rem !important;
}

.inner-page section .text-center.mb-5 > h2,
.inner-page section .text-center.mb-5 > h3 {
    margin-bottom: 0.85rem !important;
    line-height: 1.25;
}

.inner-page section .text-center.mb-5 > p,
.inner-page section .text-center.mb-5 > .lead {
    margin-bottom: 0 !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-primary-btn:hover,
.hero-secondary-btn:hover {
    transform: translateY(-2px);
}

.hero-primary-btn:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28) !important;
}

.hero-secondary-btn {
    border-width: 2px;
}

.custom-shape-divider-bottom-1 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    direction: ltr;
    z-index: 10;
    pointer-events: none;
}

.custom-shape-divider-bottom-1 svg {
    display: block;
    width: calc(100% + 1px);
    height: 92px;
    transform: translateZ(0);
    vertical-align: bottom;
}

.custom-shape-divider-bottom-1 svg path {
    fill: #ffffff;
}

.shape-divider-top {
    transform: rotate(0deg);
    top: 0;
    bottom: auto;
}

.fill-white {
    fill: #ffffff;
}

/* 3. ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* 4. CARDS & HOVER EFFECTS */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

.inner-page main .card {
    border-radius: 1rem !important;
    border: 1px solid #e8efea;
    box-shadow: 0 10px 24px rgba(18, 40, 28, 0.08) !important;
}

.inner-page main .card.parallax-card {
    transform: translate3d(0, var(--card-parallax-y, 0px), 0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.inner-page main .card.parallax-card:hover {
    transform: translate3d(0, calc(var(--card-parallax-y, 0px) - 8px), 0) !important;
    border-color: rgba(25, 135, 84, 0.26) !important;
    box-shadow: 0 20px 36px rgba(16, 38, 27, 0.14) !important;
}

.inner-page main .hover-block {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.inner-page main .hover-block:hover {
    transform: translateY(-6px);
    border-color: rgba(25, 135, 84, 0.24) !important;
    box-shadow: 0 16px 30px rgba(16, 38, 27, 0.14) !important;
}

.inner-page main .card.shadow-sm,
.inner-page main .card.shadow,
.inner-page main .card.shadow-lg {
    box-shadow: 0 12px 26px rgba(18, 40, 28, 0.1) !important;
}

.inner-page main .card.hover-card:hover,
.inner-page main .news-card:hover,
.inner-page main .product-card:hover,
.inner-page main .gallery-card:hover,
.inner-page main .cert-card:hover,
.inner-page main .service-card:hover {
    box-shadow: 0 16px 32px rgba(16, 38, 27, 0.14) !important;
}

.hover-text-success:hover {
    color: #198754 !important;
}

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.glass-card {
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-card {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(25, 135, 84, 0.09);
}

/* 5. VALUE CARDS & ICONS */
.value-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    border: 1px solid rgba(25, 135, 84, 0.09);
    box-shadow: 0 10px 24px rgba(20, 44, 32, 0.08);
}

.value-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(20, 44, 32, 0.14);
}

.value-icon {
    font-size: 3rem;
    color: #198754;
}

.value-icon i {
    display: block;
}

.icon-60 {
    width: 60px;
    height: 60px;
}

.icon-70 {
    width: 70px;
    height: 70px;
}

.icon-80 {
    width: 80px;
    height: 80px;
}

.icon-quote {
    right: 20% !important;
}

/* 6. IMAGES */
.image-offset-shadow {
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px;
    z-index: 0;
    opacity: 0.1;
}

.img-150 {
    width: 150px;
    height: 150px;
}

.img-300 {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.avatar-60 {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
}

/* 7. BACKGROUNDS & PATTERNS */
.bg-pattern-dots-white {
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 20px 20px;
}

.bg-pattern-dots-success {
    background-image: radial-gradient(#198754 0.5px, transparent 0.5px);
    background-size: 20px 20px;
    opacity: 0.05;
}

/* 8. TEXT & GRADIENTS */
.text-gradient {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 9. UTILITY CLASSES */
.opacity-05 { opacity: 0.05; }
.opacity-10-force { opacity: 0.1; }
.opacity-95 { opacity: 0.95; }
.blend-multiply-50 { mix-blend-mode: multiply; opacity: 0.5; }
.z-1 { z-index: 1; }
.mw-600 { max-width: 600px; }
.mw-700 { max-width: 700px; }
.responsive-stat { font-size: clamp(2rem, 5vw, 3rem); }
.small-on-mobile { font-size: clamp(0.875rem, 2vw, 1.25rem); }
.btn-subscribe { height: calc(3.5rem + 2px); }

/* 10. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    :root {
        --header-offset: 84px;
    }

    .hero-title { font-size: 1.75rem; }
    .home-hero { min-height: 460px; }
    .hero-section { min-height: 350px; }
    .page-hero { min-height: 430px; }
    .page-hero .container {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .page-hero h1 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .hero-actions .btn {
        width: 100%;
        min-width: 0 !important;
        padding: 0.7rem 1.2rem !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
    }
    .hero-actions .btn.btn-lg {
        font-size: 0.95rem !important;
        padding: 0.7rem 1.2rem !important;
    }
    .hero-actions .btn.px-4,
    .hero-actions .btn.px-5 {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
    .inner-page .page-hero .hero-actions .btn {
        flex: 1 1 100%;
    }
    .inner-page main > section:not(.hero-section) {
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }
    .inner-page section .text-center.mb-5 {
        margin-bottom: 2rem !important;
    }
    .inner-page section .text-center.mb-5 > h2,
    .inner-page section .text-center.mb-5 > h3 {
        margin-bottom: 0.65rem !important;
    }
    .value-icon { font-size: 2rem; }
    .navbar-brand img { height: 50px; }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid #e4ede6;
        border-radius: 0.9rem;
        margin-top: 0.7rem;
        padding: 0.85rem;
        box-shadow: 0 12px 28px rgba(13, 37, 25, 0.08);
    }
    .btn-login {
        width: 100%;
        text-align: center;
    }
    .custom-shape-divider-bottom-1 svg { height: 74px; }

    .home-page .home-hero {
        min-height: 620px;
    }

    .home-page .home-hero-carousel,
    .home-page .home-hero-carousel .carousel-inner,
    .home-page .home-hero-carousel .carousel-item {
        min-height: 620px;
        width: 100%;
    }

    .home-page .home-hero-control {
        width: 12%;
        opacity: 0.9;
    }

    .home-page .home-hero-control .carousel-control-prev-icon,
    .home-page .home-hero-control .carousel-control-next-icon {
        width: 38px;
        height: 38px;
    }

    .home-page .home-engagement-strip {
        margin-top: 0;
    }

    .inner-page.route-vision-mission .page-hero,
    .inner-page.route-careers .page-hero,
    .inner-page.route-fpc-services .page-hero,
    .inner-page.route-certifications .page-hero,
    .inner-page.route-testimonials .page-hero,
    .inner-page.route-contact .page-hero {
        min-height: 560px;
    }
}

@media (max-width: 1199.98px) {
    .inner-page .page-hero .hero-actions .btn {
        flex: 0 1 auto;
        min-width: 0;
    }
    .hero-actions .btn.btn-lg {
        font-size: 0.95rem;
        padding: 0.6rem 1.3rem;
    }
    .hero-actions .btn.px-5 {
        padding-left: 1.4rem !important;
        padding-right: 1.4rem !important;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.5rem; }
    .home-hero { min-height: 420px; }
    .custom-shape-divider-bottom-1 svg { height: 62px; }

    .home-page .hero-tag-pill {
        width: 100%;
        justify-content: center;
    }

    .home-page .home-hero-carousel,
    .home-page .home-hero-carousel .carousel-inner,
    .home-page .home-hero-carousel .carousel-item {
        min-height: 560px;
        width: 100%;
    }

    .inner-page.route-vision-mission .page-hero,
    .inner-page.route-careers .page-hero,
    .inner-page.route-fpc-services .page-hero,
    .inner-page.route-certifications .page-hero,
    .inner-page.route-testimonials .page-hero,
    .inner-page.route-contact .page-hero {
        min-height: 500px;
    }
}

/* 11. ADDITIONAL STYLES */
html { scroll-behavior: smooth; }
* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

/* 12. SERVICE CARDS */
.service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 26px rgba(21, 39, 31, 0.06);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(13, 38, 26, 0.15);
    border-color: #198754;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(25, 135, 84, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: #198754;
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: #fff !important;
}

/* 13. TESTIMONIAL SECTION */
.testimonial-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: 8%;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

/* 14. CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    position: relative;
    overflow: hidden;
}

/* 15. PARTNER LOGOS */
.grayscale-hover img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.grayscale-hover img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.grayscale-hover > div {
    background: #fff;
    border: 1px solid #eef1ee;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.home-page .table-responsive {
    border: 1px solid #edf2ed;
    box-shadow: 0 14px 30px rgba(26, 49, 37, 0.08) !important;
    background: #ffffff;
}

.home-page .achievement-graph-card {
    border-color: #e4efe6 !important;
    box-shadow: 0 14px 30px rgba(26, 49, 37, 0.08) !important;
}

.home-page .achievement-graph-filter .form-select {
    border-color: #d7e5da;
    border-radius: 0.7rem;
    font-weight: 600;
    color: #1f2d24;
    background-color: #f8fcf9;
}

.home-page .achievement-graph-filter .form-select:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}

.home-page .achievement-bars {
    display: grid;
    gap: 0.9rem;
}

.home-page .achievement-bar-item {
    display: grid;
    gap: 0.35rem;
}

.home-page .achievement-bar-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-page .achievement-bar-label {
    color: #1f2d24;
    font-weight: 600;
    font-size: 0.92rem;
}

.home-page .achievement-bar-value {
    color: #198754;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
}

.home-page .achievement-bar-track {
    height: 9px;
    border-radius: 999px;
    background: #edf4ef;
    overflow: hidden;
}

.home-page .achievement-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #198754 0%, #2fb97f 100%);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.home-page .dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d7e5da;
    border-radius: 999px;
    padding: 0.42rem 0.95rem 0.42rem 2.3rem;
    min-width: 220px;
    background-color: #f8fcf9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='7' cy='7' r='4.5' stroke='%2384b99b' stroke-width='1.5'/%3E%3Cpath d='M10.5 10.5L14 14' stroke='%2384b99b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.8rem center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-page .dataTables_wrapper .dataTables_filter input:focus {
    border-color: #88c8a4;
    background-color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.12);
}

.home-page .dataTables_wrapper .dataTables_filter {
    margin-bottom: 0.55rem;
}

.home-page .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.home-page .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #198754 !important;
    color: #fff !important;
    border-color: #198754 !important;
}

.home-page #achievementsTable thead th {
    border-bottom: 1px solid #dce9dd;
    background: linear-gradient(180deg, #f6fcf8 0%, #eef8f1 100%);
    letter-spacing: 0.01em;
}

.home-page #achievementsTable tbody td {
    border-color: #e8f0ea;
}

.home-page #achievementsTable tbody tr:nth-child(odd) {
    background-color: #fbfefc;
}

.home-page #achievementsTable tbody tr:nth-child(even) {
    background-color: #f4fbf7;
}

.home-page #achievementsTable tbody tr:hover {
    background-color: #eaf7ef;
    box-shadow: inset 3px 0 0 #58b888;
}

.home-page #achievementsTable tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-page .dataTables_wrapper .dataTables_info,
.home-page .dataTables_wrapper .dataTables_length label,
.home-page .dataTables_wrapper .dataTables_filter label {
    color: #335845;
    font-weight: 500;
}

.home-page .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.45rem !important;
    border: 1px solid #dceadf !important;
    background: #f7fcf9 !important;
    color: #2f5a45 !important;
}

.home-page .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #ecf8f0 !important;
    border-color: #bfe0ca !important;
    color: #1d6a42 !important;
}

.home-page .cta-section .blend-multiply-50 {
    display: none;
}

.home-page .cta-section {
    background: linear-gradient(130deg, #167246 0%, #1f9f6a 50%, #2abf82 100%);
}

.home-page .home-hero {
    min-height: 680px;
}

.home-page .home-hero-carousel,
.home-page .home-hero-carousel .carousel-inner,
.home-page .home-hero-carousel .carousel-item {
    min-height: 680px;
    width: 100%;
}

.home-page .home-hero-carousel .carousel-item {
    position: relative;
    width: 100%;
}

.home-page .hero-slide-bg,
.home-page .hero-slide-overlay {
    position: absolute;
    inset: 0;
}

.home-page .hero-slide-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.home-page .home-hero-carousel .carousel-item.active .hero-slide-bg {
    transform: scale(1.1);
}

.home-page .hero-slide-overlay {
    background: linear-gradient(115deg, rgba(8, 24, 17, 0.78) 0%, rgba(10, 32, 22, 0.52) 52%, rgba(20, 54, 39, 0.4) 100%);
}

.home-page .hero-copy {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.home-page .home-hero-carousel .carousel-item.active .hero-copy {
    opacity: 1;
    transform: translateY(0);
}

.home-page .home-hero-indicators {
    bottom: 1rem;
    z-index: 9;
}

.home-page .home-hero-indicators [data-bs-target] {
    width: 26px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.9);
}

.home-page .home-hero-indicators .active {
    width: 36px;
    opacity: 1;
}

.home-page .home-hero-control {
    width: 8%;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 9;
}

.home-page .home-hero:hover .home-hero-control {
    opacity: 0.95;
}

.home-page .home-hero-control .carousel-control-prev-icon,
.home-page .home-hero-control .carousel-control-next-icon {
    background-size: 60% 60%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}

.home-page .home-hero-copy {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.92);
}

.home-page .home-hero-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: 2;
    filter: blur(2px);
}

.home-page .shape-left {
    width: 260px;
    height: 260px;
    left: -70px;
    top: 16%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.02) 70%);
}

.home-page .shape-right {
    width: 300px;
    height: 300px;
    right: -100px;
    bottom: 8%;
    background: radial-gradient(circle, rgba(70, 209, 150, 0.42) 0%, rgba(70, 209, 150, 0.04) 70%);
}

.home-page .hero-glass-panel {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 36px rgba(8, 24, 17, 0.3);
}

.home-page .hero-mini-metric {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-page .hero-mini-metric h4 {
    font-size: 1.2rem;
}

.home-page .home-hero-tags {
    position: relative;
    z-index: 6;
}

.home-page .hero-tag-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.84rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.home-page .home-engagement-strip {
    margin-top: -20px;
    position: relative;
    z-index: 7;
    padding-top: 0 !important;
}

.home-page .home-premium-engagement .home-engage-card,
.home-page .home-products-section .home-product-card,
.home-page .home-partners-section .grayscale-hover > div,
.home-page .home-testimonial-section .testimonial-card {
    position: relative;
    overflow: hidden;
}

.home-page .home-premium-engagement .home-engage-card::before,
.home-page .home-products-section .home-product-card::before,
.home-page .home-partners-section .grayscale-hover > div::before,
.home-page .home-testimonial-section .testimonial-card::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -35%;
    width: 62%;
    height: 240%;
    background: linear-gradient(118deg, rgba(255, 255, 255, 0.05) 0%, rgba(46, 181, 125, 0.22) 50%, rgba(255, 255, 255, 0.05) 100%);
    transform: rotate(16deg);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.home-page .home-premium-engagement .home-engage-card:hover::before,
.home-page .home-products-section .home-product-card:hover::before,
.home-page .home-partners-section .grayscale-hover > div:hover::before,
.home-page .home-testimonial-section .testimonial-card:hover::before {
    transform: translateX(240%) rotate(16deg);
}

.home-page .home-premium-engagement .home-engage-card {
    border-color: #deede3;
    background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
    box-shadow: 0 14px 30px rgba(16, 38, 27, 0.09);
}

.home-page .home-premium-engagement .home-engage-card:hover {
    transform: translateY(-9px);
    border-color: rgba(25, 135, 84, 0.25);
    box-shadow: 0 22px 38px rgba(16, 38, 27, 0.16);
}

.home-page .home-premium-engagement .home-engage-card:hover .engage-icon {
    transform: translateY(-2px) scale(1.08);
    background: rgba(25, 135, 84, 0.16);
}

.home-page .home-products-section .home-product-card {
    border: 1px solid #e2eee5 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
    box-shadow: 0 14px 30px rgba(16, 38, 27, 0.1) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-page .home-products-section .home-product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(25, 135, 84, 0.28) !important;
    box-shadow: 0 24px 42px rgba(16, 38, 27, 0.16) !important;
}

.home-page .home-products-section .home-product-card:hover .icon-60 {
    background: rgba(25, 135, 84, 0.16) !important;
    transform: scale(1.06);
}

.home-page .home-testimonial-section {
    margin-top: 1.25rem;
    padding-top: 3.6rem !important;
    z-index: 2;
}

.home-page .home-testimonial-section .testimonial-card {
    border: 1px solid #deece2;
    box-shadow: 0 16px 34px rgba(16, 38, 27, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-page .home-testimonial-section .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 42px rgba(16, 38, 27, 0.16);
}

.home-page .home-testimonial-section .testimonial-slide {
    padding: 0.4rem 0.15rem;
}

.home-page .home-testimonial-section .testimonial-card-one {
    background: linear-gradient(145deg, #ffffff 0%, #f5fbf8 100%);
    border-left: 4px solid rgba(25, 135, 84, 0.55);
}

.home-page .home-testimonial-section .testimonial-card-one .avatar-60 {
    background: #eef8f2 !important;
    border-color: rgba(25, 135, 84, 0.18) !important;
}

.home-page .home-testimonial-section .testimonial-card-two {
    background: linear-gradient(160deg, #ffffff 0%, #f3faf6 65%, #eaf7ef 100%);
    border-top: 4px solid rgba(25, 135, 84, 0.5);
}

.home-page .home-testimonial-section .testimonial-card-two .icon-quote {
    background: linear-gradient(135deg, #198754 0%, #2abf82 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.home-page .home-testimonial-section .testimonial-card-three {
    background: linear-gradient(145deg, #ffffff 0%, #f7fcf9 58%, #eef8f3 100%);
    border-right: 4px solid rgba(25, 135, 84, 0.55);
}

.home-page .home-testimonial-section .testimonial-card-three::after {
    content: "Leadership Story";
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #167246;
    background: #eaf7ef;
    border: 1px solid #cfe8d8;
    border-radius: 999px;
    padding: 0.22rem 0.58rem;
}

.home-page .home-testimonial-section .testimonial-card-three .avatar-60 {
    background: linear-gradient(140deg, #eef8f2 0%, #dcf1e5 100%) !important;
    border-color: rgba(25, 135, 84, 0.24) !important;
}

.home-page .home-testimonial-section .testimonial-card-one:hover {
    transform: translateY(-8px) rotate(-0.35deg);
}

.home-page .home-testimonial-section .testimonial-card-two:hover {
    transform: translateY(-8px) scale(1.01);
}

.home-page .home-testimonial-section .testimonial-card-three:hover {
    transform: translateY(-8px) rotate(0.35deg);
}

.home-page .home-products-section .home-product-card-fresh:hover {
    transform: translateY(-10px) rotate(-0.35deg);
}

.home-page .home-products-section .home-product-card-fresh:hover .icon-60 {
    transform: scale(1.09) rotate(-6deg);
}

.home-page .home-products-section .home-product-card-processed:hover {
    transform: translateY(-10px) rotate(0.35deg);
}

.home-page .home-products-section .home-product-card-processed:hover .icon-60 {
    transform: scale(1.09) rotate(6deg);
}

.home-page .home-value-quality:hover {
    transform: translateY(-8px) rotate(-0.35deg);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16), 0 0 0 1px rgba(25, 135, 84, 0.18) inset !important;
}

.home-page .home-value-innovation:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16), 0 0 0 1px rgba(56, 166, 121, 0.18) inset !important;
}

.home-page .home-value-ambition:hover {
    transform: translateY(-8px) rotate(0.35deg);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16), 0 0 0 1px rgba(33, 154, 106, 0.2) inset !important;
}

.home-page .home-value-honesty:hover {
    transform: translateY(-8px) translateX(-2px);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16), 0 0 0 1px rgba(20, 128, 84, 0.18) inset !important;
}

.home-page .home-value-integrity:hover {
    transform: translateY(-8px) translateX(2px);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16), 0 0 0 1px rgba(22, 114, 70, 0.2) inset !important;
}

.home-page .home-value-quality:hover .value-icon {
    color: #176f46;
}

.home-page .home-value-innovation:hover .value-icon {
    color: #1f9d65;
}

.home-page .home-value-ambition:hover .value-icon {
    color: #14894f;
}

.home-page .home-value-honesty:hover .value-icon {
    color: #2a9b67;
}

.home-page .home-value-integrity:hover .value-icon {
    color: #0f6d43;
}

.home-page .home-partners-section .grayscale-hover > div {
    border-color: #dfece4;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
    box-shadow: 0 14px 26px rgba(16, 38, 27, 0.08);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.home-page .home-partners-section .grayscale-hover > div:hover {
    transform: translateY(-7px);
    border-color: rgba(25, 135, 84, 0.24);
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.14);
}

.home-page .home-partners-section .grayscale-hover img {
    transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease;
}

.home-page .home-partners-section .grayscale-hover > div:hover img {
    transform: scale(1.07);
}

.home-page .engage-card {
    background: #fff;
    border: 1px solid #e8efea;
    box-shadow: 0 14px 28px rgba(16, 38, 27, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .engage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(16, 38, 27, 0.14);
}

.home-page .engage-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 1.3rem;
}

.home-page .home-core-card,
.home-page .home-value-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-page .home-core-card::before,
.home-page .home-value-card::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 65%;
    height: 240%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0%, rgba(37, 166, 111, 0.18) 50%, rgba(255, 255, 255, 0.04) 100%);
    transform: rotate(18deg);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.home-page .home-core-card:hover,
.home-page .home-value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(25, 135, 84, 0.35) !important;
    box-shadow: 0 20px 34px rgba(16, 38, 27, 0.16) !important;
}

.home-page .home-core-card:hover::before,
.home-page .home-value-card:hover::before {
    transform: translateX(230%) rotate(18deg);
}

.home-page .home-core-card .icon-box,
.home-page .home-value-card .value-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.home-page .home-core-card:hover .icon-box {
    transform: translateY(-3px) scale(1.06);
}

.home-page .home-value-card:hover .value-icon {
    transform: translateY(-4px) scale(1.08);
    color: #167246;
}

.home-page .home-core-card h3,
.home-page .home-value-card h5 {
    transition: letter-spacing 0.25s ease, color 0.25s ease;
}

.home-page .home-core-card:hover h3,
.home-page .home-value-card:hover h5 {
    letter-spacing: 0.015em;
    color: #167246;
}

/* 16. COUNTER ANIMATION */
.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* 17. FOOTER */
.site-footer {
    background: linear-gradient(180deg, #123325 0%, #0d251b 100%);
    color: #d2dfd8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-logo {
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.24));
}

.site-footer .footer-brand-text {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-footer .footer-copy {
    max-width: 420px;
    color: #b8cfc3;
    line-height: 1.7;
}

.site-footer .footer-title {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.site-footer .footer-links li {
    margin-bottom: 0.6rem;
}

.site-footer a {
    color: #d2dfd8;
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.site-footer a:hover {
    color: #ffffff;
    opacity: 1;
}

.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1rem;
}

.site-footer .footer-social a:hover {
    background: rgba(255, 255, 255, 0.22);
}

.site-footer .footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
    color: #d2dfd8;
}

.site-footer .footer-contact i {
    color: #74c69d;
    margin-top: 0.1rem;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.95rem 0;
    font-size: 0.92rem;
    color: #b8cfc3;
    background: rgba(5, 12, 9, 0.28);
}

.site-footer .footer-legal a {
    color: #d2dfd8;
}

.site-footer .footer-legal a:hover {
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .site-footer .footer-bottom {
        text-align: center;
    }
}

body.route-consultation-request input,
body.route-consultation-request textarea,
body.route-consultation-request select {
    color: #111111 !important;
}

/* 18. OPACITY UTILITIES */
.opacity-75 {
    opacity: 0.75;
}

/* 19. STRETCHED LINK */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* 20. TOP BAR LOGIN BUTTON */
.topbar-divider {
    display: inline-block;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    vertical-align: middle;
}

.btn-topbar-login {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3px 14px;
    font-size: 12.5px;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 0.3px;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.25s ease;
}

.btn-topbar-login:hover,
.btn-topbar-login:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.btn-topbar-login:active {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.btn-topbar-login i {
    font-size: 13px;
}

/* 21. MOBILE LOGIN BUTTON (beside hamburger) */
.btn-login-mobile {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(120deg, #167246 0%, #198754 55%, #2abf82 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    min-height: 38px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-login-mobile:hover,
.btn-login-mobile:focus {
    color: #fff;
    background: linear-gradient(120deg, #135e3a 0%, #157347 55%, #22a06e 100%);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(22, 114, 70, 0.3);
}

.btn-login-mobile:active {
    transform: scale(0.97);
}

.btn-login-mobile i {
    font-size: 14px;
}

/* 22. LANGUAGE TOGGLE - TOPBAR (desktop) */
.btn-topbar-lang {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 2px 10px;
    font-size: 11.5px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.5px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.btn-topbar-lang:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-topbar-lang.active {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

/* 23. LANGUAGE TOGGLE - MOBILE */
.btn-lang-mobile {
    background: transparent;
    color: #1f2d24;
    border: 1px solid rgba(25, 135, 84, 0.35);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.btn-lang-mobile:hover {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
    border-color: #198754;
}

.btn-lang-mobile.active {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

/* =====================================================
   Success Popup Overlay
   ===================================================== */
#successPopupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
#successPopup {
    background: #fff;
    width: 420px;
    max-width: 92%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    animation: popupFade 0.25s ease;
}
#successPopup .header {
    background: #198754;
    color: #fff;
    padding: 16px;
    font-weight: 600;
    font-size: 18px;
}
#successPopup .body {
    padding: 22px;
    text-align: center;
    font-size: 16px;
}
#successPopup .footer {
    padding: 15px;
    text-align: center;
}
@keyframes popupFade {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Google Translate branding hide */
.goog-te-banner-frame, .goog-te-gadget, #goog-gt-tt, .goog-te-balloon-frame,
.goog-tooltip, .goog-tooltip > div, .goog-text-highlight { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
[translate="no"] .translate-yes { translate: yes; }

/* =====================================================
   Contact Page
   ===================================================== */
.contact-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
}
.contact-hero-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}
.contact-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}
.contact-channel {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-channel:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 36, 25, 0.12) !important;
}
.channel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
}
.contact-form-card,
.contact-side-card,
.map-wrap {
    box-shadow: 0 14px 28px rgba(15, 36, 25, 0.09);
}
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 0.75rem;
    border-color: #dbe8de;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: rgba(25, 135, 84, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.14);
}
.info-block {
    padding: 0.85rem 1rem;
    border-radius: 0.8rem;
    background: #f7faf8;
    border: 1px solid #e4eee7;
}
.contact-submit-btn {
    min-width: 165px;
    white-space: nowrap;
    font-size: 0.95rem;
}
@media (max-width: 991.98px) {
    .contact-hero { min-height: 480px; }
}
@media (max-width: 767.98px) {
    .contact-hero { min-height: 440px; }
    .map-wrap iframe { height: 320px; }
}

/* =====================================================
   Careers Page
   ===================================================== */
.career-apply-modal .modal-dialog {
    max-width: 980px;
}
.career-apply-modal {
    z-index: 1055;
}
.career-apply-modal .modal-content {
    border: 1px solid #deece2;
}
.career-modal-head {
    background: linear-gradient(135deg, #124a31 0%, #198754 58%, #2abf82 100%);
}
.career-modal-head .modal-title {
    color: #fff;
}
.career-form-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #198754;
    border-bottom: 1px solid #e3eee6;
    padding-bottom: 0.4rem;
    margin-bottom: 0.1rem;
}
.career-form-control {
    border-color: #d9e9dd;
    background-color: #fbfefc;
    border-radius: 0.75rem;
    min-height: 44px;
}
.career-form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.14);
    background-color: #fff;
}
.career-apply-modal .modal-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
}
@media (max-width: 991.98px) {
    .career-apply-modal .modal-dialog { max-width: 94vw; margin: 0.75rem auto; }
    .career-modal-head { padding: 1.1rem 1.1rem 1rem !important; }
    .career-modal-head .modal-title { font-size: 1.35rem; line-height: 1.3; }
    .career-apply-modal .modal-body { padding: 1rem !important; }
}
@media (max-width: 575.98px) {
    .career-apply-modal .modal-dialog { max-width: calc(100vw - 1rem); margin: 0.5rem auto; }
    .career-modal-head .badge { font-size: 0.72rem; padding: 0.34rem 0.7rem !important; }
    .career-modal-head .modal-title { font-size: 1.12rem; }
    .career-modal-head p { font-size: 0.84rem; }
    .career-form-control { min-height: 42px; font-size: 0.95rem; }
    .career-form-actions { flex-direction: column-reverse; }
    .career-form-actions .btn { width: 100%; }
}

/* =====================================================
   Gallery Page
   ===================================================== */
.gallery-hero {
    min-height: 540px;
    background-size: cover;
    background-position: center;
}
.gallery-hero-text {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.92);
}
.gallery-snapshot {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}
.media-metric {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.gallery-card {
    border: 1px solid #e8efea;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 36, 25, 0.12) !important;
}
.gallery-thumb {
    min-height: 210px;
    background: #eef4ef;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}
.gallery-video-trigger {
    cursor: pointer;
}
.gallery-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease;
}
.gallery-play-overlay i {
    font-size: 4rem;
    color: #fff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s ease;
}
.gallery-video-trigger:hover .gallery-play-overlay {
    background: rgba(0, 0, 0, 0.45);
}
.gallery-video-trigger:hover .gallery-play-overlay i {
    transform: scale(1.15);
}
.gallery-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
#galleryLightboxModal .modal-content {
    background: transparent;
}
.gallery-lightbox-image {
    max-height: 82vh;
    width: auto;
    object-fit: contain;
}
.gallery-item.is-hidden {
    display: none;
}
.quote-panel {
    background: linear-gradient(135deg, #198754 0%, #20a26d 100%);
    box-shadow: 0 14px 28px rgba(20, 65, 43, 0.22);
}
@media (max-width: 991.98px) {
    .gallery-hero { min-height: 500px; }
}
@media (max-width: 767.98px) {
    .gallery-hero { min-height: 460px; }
    .gallery-thumb { min-height: 180px; }
}

/* =====================================================
   Testimonials Page
   ===================================================== */
.testimonials-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
}
.testimonials-hero-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}
.testimonials-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}
.testimonial-modern-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 36, 25, 0.12) !important;
}
.quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    font-size: 1.2rem;
}
.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #198754 0%, #25a66f 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.impact-strip {
    background: #fff;
    border: 1px solid #e8efea;
    box-shadow: 0 12px 26px rgba(18, 40, 28, 0.08);
}
@media (max-width: 767.98px) {
    .testimonials-hero { min-height: 450px; }
}

/* =====================================================
   News Page
   ===================================================== */
.news-hero {
    min-height: 540px;
    background-size: cover;
    background-position: center;
}
.news-hero-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}
.news-snapshot {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}
.news-featured-card {
    border: 1px solid #e8efea;
}
.news-card {
    border: 1px solid #e8efea;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 36, 25, 0.12) !important;
}
.news-item.is-hidden {
    display: none;
}
@media (max-width: 991.98px) {
    .news-hero { min-height: 500px; }
}
@media (max-width: 767.98px) {
    .news-hero { min-height: 460px; }
}

/* =====================================================
   News Detail Page
   ===================================================== */
.news-detail-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
}
.news-detail-lead {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.92);
}
.news-detail-article {
    border: 1px solid #e4efe6;
    box-shadow: 0 16px 34px rgba(14, 38, 26, 0.1) !important;
}
.news-detail-highlight {
    border: 1px solid #dcece1;
    background: linear-gradient(180deg, #f8fcf9 0%, #eef8f2 100%);
}
.news-detail-side .card {
    border: 1px solid #e4efe6;
}
.news-related-item {
    border: 1px solid #dfece4;
    background: #f9fdfb;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.news-related-link:hover .news-related-item {
    transform: translateY(-3px);
    border-color: #b8dcc6;
    box-shadow: 0 10px 24px rgba(14, 38, 26, 0.1);
}
@media (max-width: 991.98px) {
    .news-detail-hero { min-height: 480px; }
}
@media (max-width: 767.98px) {
    .news-detail-hero { min-height: 430px; }
    .news-detail-side { margin-top: 0.5rem; }
}

/* =====================================================
   Certifications Page
   ===================================================== */
.certifications-hero {
    min-height: 540px;
    background-size: cover;
    background-position: center;
}
.cert-hero-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
}
.cert-snapshot {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}
.cert-card {
    border: 1px solid #e8efea;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(15, 36, 25, 0.12) !important;
}
.cert-card-done { border-top: 4px solid #198754; }
.cert-card-progress { border-top: 4px solid #f0ad4e; }
.cert-card-plan { border-top: 4px solid #6c757d; }
.quality-step {
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: #f8fbf9;
    border: 1px solid #e8efea;
}
.step-icon {
    color: #198754;
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
}
.accordion-button:not(.collapsed) {
    color: #198754;
    background-color: rgba(25, 135, 84, 0.08);
    box-shadow: none;
}
.accordion-button:focus {
    border-color: rgba(25, 135, 84, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}
@media (max-width: 991.98px) {
    .certifications-hero { min-height: 500px; }
}
@media (max-width: 767.98px) {
    .certifications-hero { min-height: 460px; }
    .cert-snapshot { margin-top: 0.5rem; }
}

/* =====================================================
   Products Page
   ===================================================== */
.products-hero {
    min-height: 560px;
    background-size: cover;
    background-position: center;
}
.product-hero-text {
    max-width: 740px;
    color: rgba(255, 255, 255, 0.92);
}
.product-highlight-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}
.metric-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.metric-box h4 {
    font-size: 1.2rem;
}
.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid #edf2ed;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(18, 38, 27, 0.12) !important;
}
.product-meta li {
    margin-bottom: 0.5rem;
    color: #4e5b53;
    font-size: 0.95rem;
}
.quality-panel {
    background: #fff;
    border: 1px solid #e8efea;
    box-shadow: 0 12px 28px rgba(15, 36, 25, 0.08);
}
.feature-tile {
    background: #f8fbf9;
    border: 1px solid #e9f1eb;
}
.product-item.is-hidden {
    display: none;
}
@media (max-width: 991.98px) {
    .products-hero { min-height: 500px; }
}
@media (max-width: 767.98px) {
    .products-hero { min-height: 460px; }
    .product-filter { justify-content: flex-start !important; }
    .product-filter .btn { flex: 1 0 auto; }
}

/* =====================================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   ===================================================== */

/* --- Accessibility: Reduce motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .hero-slide-bg { transition: none !important; }
}

/* --- Touch devices: disable hover transforms --- */
@media (hover: none) {
    .hover-card:hover,
    .hover-lift:hover,
    .service-card:hover,
    .value-card:hover,
    .engage-card:hover,
    .gallery-card:hover,
    .news-card:hover,
    .product-card:hover,
    .cert-card:hover,
    .testimonial-modern-card:hover,
    .contact-channel:hover,
    .inner-page main .hover-block:hover,
    .inner-page main .card.parallax-card:hover {
        transform: none !important;
    }
    .home-page .home-premium-engagement .home-engage-card:hover,
    .home-page .home-products-section .home-product-card:hover,
    .home-page .home-testimonial-section .testimonial-card:hover,
    .home-page .home-partners-section .grayscale-hover > div:hover,
    .home-page .home-core-card:hover,
    .home-page .home-value-card:hover,
    .home-page .home-value-quality:hover,
    .home-page .home-value-innovation:hover,
    .home-page .home-value-ambition:hover,
    .home-page .home-value-honesty:hover,
    .home-page .home-value-integrity:hover,
    .home-page .home-products-section .home-product-card-fresh:hover,
    .home-page .home-products-section .home-product-card-processed:hover,
    .home-page .home-testimonial-section .testimonial-card-one:hover,
    .home-page .home-testimonial-section .testimonial-card-two:hover,
    .home-page .home-testimonial-section .testimonial-card-three:hover {
        transform: none !important;
    }
    .page-card-edit { opacity: 1; }
}

/* --- Tablet Landscape (992px-1199px) --- */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .page-hero .container {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    .inner-page main > section:not(.hero-section) {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .service-card {
        padding: 1.5rem 1.15rem;
    }
    .service-icon {
        width: 65px;
        height: 65px;
    }
}

/* --- Tablet (768px-991px) --- */
@media (max-width: 991.98px) and (min-width: 768px) {
    .service-card {
        padding: 1.25rem 1rem;
    }
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .icon-80 { width: 65px; height: 65px; }
    .hero-actions .btn {
        min-width: 0;
        padding: 0.6rem 1.1rem !important;
        font-size: 0.92rem !important;
    }
    .hero-actions .btn.px-5 {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }
    .mw-600, .mw-700 { max-width: 100%; }
    .img-300 { width: 220px; height: 220px; }
    .footer-title { margin-bottom: 0.75rem; }

    /* DataTable search on home */
    .home-page .dataTables_wrapper .dataTables_filter input {
        min-width: 180px;
    }
}

/* --- Mobile (max-width: 767px) primary fixes --- */
@media (max-width: 767.98px) {
    /* Utility max-widths */
    .mw-600, .mw-700 { max-width: 100%; }

    /* Icon sizing */
    .icon-60 { width: 48px; height: 48px; }
    .icon-70 { width: 56px; height: 56px; }
    .icon-80 { width: 60px; height: 60px; }
    .img-300 { width: 180px; height: 180px; }
    .img-150 { width: 110px; height: 110px; }

    /* Avatar sizing */
    .avatar-60 { width: 48px; height: 48px; font-size: 1rem; }

    /* Service cards */
    .service-card {
        padding: 1.25rem 1rem;
    }
    .service-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    /* Card body padding */
    .inner-page main .card .card-body {
        padding: 1rem;
    }
    .inner-page main .card .p-4 {
        padding: 1rem !important;
    }
    .inner-page main .card .p-lg-5 {
        padding: 1rem !important;
    }

    /* Hero glass panels / snapshot cards */
    .hero-glass-panel,
    .gallery-snapshot,
    .news-snapshot,
    .cert-snapshot,
    .product-highlight-card,
    .testimonials-hero-card,
    .contact-hero-card {
        padding: 1rem !important;
    }

    /* Footer */
    .site-footer .footer-copy { max-width: 100%; }
    .site-footer .container .row > [class*="col-lg-2"],
    .site-footer .container .row > [class*="col-lg-4"] {
        margin-bottom: 0.5rem;
    }

    /* Home table */
    .home-page .dataTables_wrapper .dataTables_filter input {
        min-width: 0;
        width: 100%;
    }
    .home-page .dataTables_wrapper .dataTables_filter {
        width: 100%;
        justify-content: stretch;
    }
    .home-page .dataTables_wrapper .dataTables_filter label {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    .home-page .dataTables_wrapper .dataTables_filter input {
        flex: 1;
    }
    .home-page .dataTables_wrapper .dataTables_length,
    .home-page .dataTables_wrapper .dataTables_info {
        font-size: 0.8rem;
    }
    .home-page .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 0.3rem 0.55rem !important;
        font-size: 0.8rem;
    }

    /* Quote / CTA panel */
    .quote-panel {
        padding: 1.5rem !important;
    }

    /* Section heading spacing */
    .display-6 { font-size: 1.45rem; }

    /* Gallery */
    .gallery-thumb { min-height: 170px; }
    .gallery-thumb img { min-height: 170px; }
    .gallery-play-overlay i { font-size: 3rem; }
    .gallery-lightbox-image { max-height: 70vh; }

    /* Channel icons */
    .channel-icon { width: 46px; height: 46px; font-size: 1.15rem; }

    /* Contact submit button */
    .contact-submit-btn { min-width: 0; width: 100%; }

    /* All btn-lg → responsive on mobile */
    main .btn.btn-lg {
        font-size: 0.95rem !important;
        padding: 0.65rem 1.1rem !important;
    }
    main .btn.btn-lg.px-4,
    main .btn.btn-lg.px-5 {
        padding-left: 1.1rem !important;
        padding-right: 1.1rem !important;
    }
    main .btn.btn-lg.rounded-pill {
        min-width: 0;
    }

    /* Filter buttons wrap */
    [data-filter-group] {
        gap: 0.35rem;
    }
    [data-filter-group] .btn {
        padding: 0.35rem 0.75rem;
        font-size: 0.82rem;
    }
}

/* --- Small phones (max-width: 480px) --- */
@media (max-width: 480px) {
    :root {
        --header-offset: 76px;
    }

    body { font-size: 0.94rem; }

    .navbar-brand img { height: 42px; }

    .hero-title { font-size: 1.35rem; }
    .home-hero { min-height: 400px; }
    .hero-section { min-height: 320px; }
    .page-hero { min-height: 380px; }
    .page-hero h1 { font-size: 1.35rem; }
    .page-hero .lead { font-size: 0.88rem; }

    .page-hero .container {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
    }

    .inner-page.route-vision-mission .page-hero,
    .inner-page.route-careers .page-hero,
    .inner-page.route-fpc-services .page-hero,
    .inner-page.route-certifications .page-hero,
    .inner-page.route-testimonials .page-hero,
    .inner-page.route-contact .page-hero {
        min-height: 440px;
    }

    .home-page .home-hero,
    .home-page .home-hero-carousel,
    .home-page .home-hero-carousel .carousel-inner,
    .home-page .home-hero-carousel .carousel-item {
        min-height: 480px;
    }

    .hero-actions .btn {
        font-size: 0.88rem !important;
        padding: 0.55rem 1rem !important;
        min-width: 0 !important;
        width: 100%;
    }
    .hero-actions .btn.px-4,
    .hero-actions .btn.px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .inner-page main > section:not(.hero-section) {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .display-6 { font-size: 1.3rem; }

    /* Cards */
    .service-card { padding: 1rem 0.85rem; }
    .service-icon { width: 48px; height: 48px; }
    .icon-60 { width: 42px; height: 42px; }
    .icon-70 { width: 50px; height: 50px; }
    .icon-80 { width: 54px; height: 54px; }

    .inner-page main .card .card-body,
    .inner-page main .card .p-4 {
        padding: 0.85rem !important;
    }

    /* Engagement strip */
    .home-page .engage-icon { width: 42px; height: 42px; font-size: 1.05rem; }

    /* Hero snapshot cards */
    .hero-glass-panel,
    .gallery-snapshot,
    .news-snapshot,
    .cert-snapshot,
    .product-highlight-card,
    .testimonials-hero-card,
    .contact-hero-card {
        padding: 0.85rem !important;
    }
    .hero-mini-metric h4,
    .media-metric h4,
    .metric-box h4 { font-size: 1rem; }

    /* Shape dividers */
    .custom-shape-divider-bottom-1 svg { height: 50px; }

    /* Footer */
    .site-footer .footer-social a { width: 34px; height: 34px; font-size: 0.9rem; }

    /* Button subscribe */
    .btn-subscribe { height: calc(3rem + 2px); }

    /* Carousel controls */
    .home-page .home-hero-control .carousel-control-prev-icon,
    .home-page .home-hero-control .carousel-control-next-icon {
        width: 32px;
        height: 32px;
    }
    .home-page .home-hero-control { width: 14%; opacity: 0.9; }

    /* Gallery video */
    .gallery-play-overlay i { font-size: 2.5rem; }
    .gallery-thumb { min-height: 150px; }
    .gallery-thumb img { min-height: 150px; }

    /* Certifications quality step */
    .quality-step { padding: 0.6rem; }

    /* Map */
    .map-wrap iframe { height: 260px; }

    /* Modal lightbox */
    .gallery-lightbox-image { max-height: 60vh; }

    /* Accordion */
    .accordion-button { font-size: 0.9rem; padding: 0.85rem 1rem; }

    /* Contact / Info */
    .info-block { padding: 0.65rem 0.8rem; }
}

/* --- Extra small phones (max-width: 360px) --- */
@media (max-width: 360px) {
    .navbar-brand img { height: 38px; }
    .btn-login-mobile { padding: 6px 10px; font-size: 12px; }
    .btn-lang-mobile { padding: 4px 7px; font-size: 11px; }
    .hero-title { font-size: 1.2rem; }
    .page-hero h1 { font-size: 1.2rem; }
    .page-hero .lead { font-size: 0.84rem; }
    .display-6 { font-size: 1.15rem; }
    .hero-actions .btn {
        font-size: 0.82rem !important;
        padding: 0.48rem 0.8rem !important;
        min-width: 0 !important;
        width: 100%;
    }
    .hero-actions .btn.px-4,
    .hero-actions .btn.px-5 {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }
    .hero-context-chip { font-size: 0.72rem; padding: 0.3rem 0.6rem; }

    .inner-page main .card .card-body,
    .inner-page main .card .p-4 {
        padding: 0.75rem !important;
    }

    .career-apply-modal .modal-dialog { margin: 0.25rem; }

    #successPopup { width: 95%; }
}

/* --- Landscape phones --- */
@media (max-height: 500px) and (orientation: landscape) {
    .home-hero,
    .hero-section,
    .page-hero {
        min-height: 340px !important;
    }
    .home-page .home-hero,
    .home-page .home-hero-carousel,
    .home-page .home-hero-carousel .carousel-inner,
    .home-page .home-hero-carousel .carousel-item {
        min-height: 380px !important;
    }
    .inner-page.route-vision-mission .page-hero,
    .inner-page.route-careers .page-hero,
    .inner-page.route-fpc-services .page-hero,
    .inner-page.route-certifications .page-hero,
    .inner-page.route-testimonials .page-hero,
    .inner-page.route-contact .page-hero {
        min-height: 360px !important;
    }
    .page-hero .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* ============================================
   ENHANCED CARD INTERACTIONS
   ============================================ */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}
.tilt-card:hover {
    box-shadow: 0 24px 48px rgba(13, 37, 25, 0.16) !important;
}

/* Gradient border glow on hover */
.glow-border {
    position: relative;
}
.glow-border::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0), rgba(25, 135, 84, 0));
    z-index: -1;
    transition: background 0.4s ease;
    opacity: 0;
}
.glow-border:hover::after {
    opacity: 1;
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.2), rgba(32, 201, 151, 0.15));
}

/* Icon bounce on card hover */
.card:hover .icon-bounce,
.service-card:hover .icon-bounce {
    animation: iconBounce 0.5s var(--ease-spring);
}
@keyframes iconBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.2); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Text shimmer for headings */
.shimmer-text {
    background: linear-gradient(90deg, #1a4b35 0%, #198754 40%, #20c997 60%, #1a4b35 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
    to { background-position: 200% center; }
}

/* Progress bar fill animation */
.progress-animate .progress-bar {
    width: 0;
    transition: width 1.2s var(--ease-out-expo);
}
.progress-animate.animated .progress-bar {
    width: var(--progress-width, 100%);
}

/* ============================================
   MOBILE-FIRST APP-LIKE EXPERIENCE
   ============================================ */

/* Standalone PWA / mobile styles */
@media (display-mode: standalone) {
    .top-bar { display: none !important; }
    :root { --header-offset: 64px; }
    .header-section { padding-top: env(safe-area-inset-top); }
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* Mobile bottom navigation bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-top: 1px solid rgba(25, 135, 84, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    transition: transform 0.3s var(--ease-out-expo);
}
.mobile-bottom-nav.nav-hidden {
    transform: translateY(100%);
}
.mobile-bottom-nav .bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.mobile-bottom-nav .bottom-nav-item {
    flex: 1;
    text-align: center;
}
.mobile-bottom-nav .bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    color: #5a6b5f;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, transform 0.2s var(--ease-spring);
    -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav .bottom-nav-link i {
    font-size: 1.25rem;
    transition: transform 0.2s var(--ease-spring);
}
.mobile-bottom-nav .bottom-nav-link.active,
.mobile-bottom-nav .bottom-nav-link:active {
    color: #198754;
}
.mobile-bottom-nav .bottom-nav-link.active i {
    transform: scale(1.15);
}
.mobile-bottom-nav .bottom-nav-link:active {
    transform: scale(0.92);
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #198754, #20c997);
    z-index: 1100;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #198754, #20c997);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(25, 135, 84, 0.35);
    z-index: 1040;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(25, 135, 84, 0.4);
}
.back-to-top:active {
    transform: scale(0.95);
}

@media (max-width: 991.98px) {
    .mobile-bottom-nav {
        display: block;
    }
    .back-to-top {
        bottom: calc(70px + env(safe-area-inset-bottom));
        right: 16px;
        width: 40px;
        height: 40px;
    }
    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
    /* Smoother mobile touch targets */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .dropdown-item {
        padding: 0.65rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    /* Mobile card tap states */
    .card, .service-card, .value-card {
        -webkit-tap-highlight-color: transparent;
    }
    .card:active, .service-card:active, .value-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease;
    }
    /* Smooth mobile scrolling sections */
    .row.g-4 {
        scroll-snap-type: x proximity;
    }
}

@media (max-width: 576px) {
    /* Larger touch targets on small screens */
    .btn {
        min-height: 44px;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
    .accordion-button {
        min-height: 48px;
    }
    /* Full-bleed sections on mobile */
    main > section > .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; filter: none; }
    .scroll-progress { display: none; }
    .float-gentle, .pulse-glow { animation: none; }
    .tilt-card { transform: none !important; }
}

/* ============================================
   SMOOTH SECTION DIVIDERS
   ============================================ */
.section-wave {
    position: relative;
    overflow: hidden;
}
.section-wave::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,40 1440,30 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
    z-index: 2;
    pointer-events: none;
}

/* Typewriter cursor blink */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #198754;
    margin-left: 2px;
    animation: cursorBlink 0.8s step-end infinite;
    vertical-align: text-bottom;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* Loading skeleton shimmer */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
    border-radius: 0.5rem;
}
@keyframes skeletonShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
