:root {
    --primary-color: #1693CD;
    --secondary-color: #ffffff;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll from AOS or full-width elements */
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.text-justify {
    text-align: justify;
}

/* Global Button Styles */
.btn {
    border-radius: 8px !important;
}

/* Navbar Styles */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.4s ease;
    z-index: 1050;
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Modern Toggler Styles */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

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

.navbar-toggler:hover {
    transform: scale(1.1);
}

/* Toggler Icon - White by default */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 30px;
    height: 30px;
}

/* Toggler Icon - Dark when scrolled */
.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Logo handling */
.navbar-brand img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
    /* Default: White logo on transparent background */
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-brand img {
    /* Scrolled: Original colored logo on white background */
    filter: none;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #fff;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #6ec5f0;
}

/* Scrolled State Links */
.navbar.scrolled .navbar-nav .nav-link {
    color: var(--dark-color);
}

.navbar.scrolled .navbar-nav .nav-link:hover,
.navbar.scrolled .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
}

/* Mobile Dropdown Expansion Animation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        margin-top: 10px;
    }

    .navbar.scrolled .navbar-collapse {
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse .dropdown-menu {
        display: block;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        border: none;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: top;
        background: transparent;
    }

    .navbar-collapse .dropdown-menu.show {
        max-height: 500px;
        opacity: 1;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .navbar.scrolled .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* -------------------------------------------
   Rich Hero Carousel Styles
------------------------------------------- */
/* Ensure the chain of height:100% works from the root */
.hero-section,
#heroCarousel {
    height: 100vh;
    min-height: 600px;
    position: relative;
    padding: 0;
}

.hero-section #heroCarousel .carousel-item {
    height: 100vh;
    min-height: 600px;
    padding-top: 80px;
    /* Offset for fixed navbar to ensure visual centering is correct */
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease-out;
    /* Slight zoom on default state to allow potential JS manipulation */
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease-out;
}

/* Zoom Effect for Active Slide */
.carousel-item.active .carousel-bg,
.carousel-item.active .carousel-video {
    animation: kenBurns 6s ease-out forwards;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Vertical centering fix for carousel content */
#heroCarousel .container {
    position: relative;
    z-index: 2;
}

/* Custom Progressive Indicators */
.custom-indicators {
    bottom: 40px;
    justify-content: flex-start;
    margin-left: 12%;
}

.custom-indicators button {
    width: 60px !important;
    height: 4px !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    margin-right: 15px !important;
    position: relative;
    overflow: hidden;
}

.custom-indicators button.active {
    background-color: rgba(255, 255, 255, 0.3) !important;
    /* Keep base low opacity */
}

.progress-bar-fill {
    display: block;
    height: 100%;
    background-color: var(--primary-color);
    width: 0;
}

/* Animate the fill only when the button has .active class */
.custom-indicators button.active .progress-bar-fill {
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Text Entrance Animations & Readability */
.carousel-item h1,
.carousel-item p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.carousel-item.active h1 {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.carousel-item.active p {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.carousel-item.active .btn {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure controls (if we added them, but indicators are primary) don't overlap messy */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
}

@media (max-width: 768px) {
    .custom-indicators {
        bottom: 30px;
        justify-content: center;
        margin-left: 0;
    }

    .custom-indicators button {
        width: 40px !important;
        margin-right: 10px !important;
    }

    .hero-section #heroCarousel .carousel-item {
        height: 80vh;
        /* Shorter on mobile */
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }
}

/* Old static hero styles removed - handled by carousel block above */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 147, 205, 0.2);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    opacity: 0.3;
}

.content-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.content-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Premium Accordion Styles */
.custom-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.custom-accordion .accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.custom-accordion .accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--dark-color);
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(22, 147, 205, 0.05);
    color: var(--primary-color);
}

.custom-accordion .accordion-button::after {
    background-size: 1.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3e%3cpath d='M8 1v14M1 8h14'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231693CD' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3e%3cpath d='M1 8h14'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

.custom-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-agri .accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.accordion-biotech .accordion-button:not(.collapsed) {
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0d7ab0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(22, 147, 205, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

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

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.bg-success {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d6a9a 100%) !important;
}

footer {
    background: linear-gradient(rgba(26, 26, 26, 0.5), rgba(26, 26, 26, 0.5)), url('../images/stock/farmer.JPG') 50% -200px/cover no-repeat;
    background-attachment: local;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #6ec5f0 !important;
}

.social-links a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #6ec5f0 !important;
}

.inner-banner {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.inner-banner .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

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

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.8);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 147, 205, 0.25);
}

.alert-success {
    background-color: rgba(22, 147, 205, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        /* Increased from 70vh for better spacing */
        padding-top: 100px;
        padding-bottom: 80px;
        /* Ensure content clears the wave */
    }

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

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .timeline::before {
        left: 30px;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(22, 147, 205, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.shadow-custom {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.text-secondary {
    color: var(--primary-color) !important;
}

/* Override Bootstrap's text-success to use blue theme */
.text-success {
    color: var(--primary-color) !important;
}

.border-success {
    border-color: var(--primary-color) !important;
}

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

.rounded {
    border-radius: 12px !important;
}

.leader-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.leader-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(22, 147, 205, 0.1);
}

.contact-info-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #0d7ab0;
    transform: translateY(-5px);
}

.hover-card-dark {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hover-zoom {
    overflow: hidden;
    border-radius: 12px;
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

/* -------------------------------------------
   Wave Divider Styles
------------------------------------------- */
.wave-divider {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.wave-divider.top {
    top: -1px;
}

.wave-divider.bottom {
    bottom: -1px;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
    /* Default height for mobile */
}

@media (min-width: 768px) {
    .wave-divider svg {
        height: 60px;
        /* Taller on tablet */
    }
}

@media (min-width: 1200px) {
    .wave-divider svg {
        height: 80px;
        /* Tallest on desktop for nice curve */
    }
}

.blob-bg {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    width: 100%;
    max-width: 600px;
}

.blob-right {
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.blob-left {
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

.pattern-overlay {
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

/* Layered Full-Bleed Overlap Section */
.overlap-container {
    position: relative;
    padding: 60px 0;
    /* Reduced from 100px */
    background: #fff;
}

.overlap-image-side {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.overlap-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 40px 40px 0;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.05);
}

.overlap-content-side {
    position: relative;
    z-index: 10;
}

/* Ensure title and CTA align with the grid */
.section-header-content,
.section-cta-content {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    /* Reduced from 2.5rem */
}

.section-cta-content {
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Container starts midway across the image (25%) */
.minimal-cards-wrapper {
    position: relative;
    margin-left: 35%;
    width: 65%;
    padding: 10px 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.minimal-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.minimal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 147, 205, 0.2);
}

.minimal-card-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 30px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.minimal-card-content {
    flex: 1;
    width: 100%;
}

.minimal-card-content h6 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.1px;
    color: #2d3748;
    margin-bottom: 0.25rem !important;
}

.minimal-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .section-header-content,
    .section-cta-content {
        padding-left: 1rem;
    }

    .minimal-cards-wrapper {
        margin-left: 15%;
        width: 85%;
    }
}

@media (max-width: 991.98px) {
    .overlap-container {
        padding: 60px 0;
    }

    .overlap-image-side {
        position: relative;
        width: 100%;
        height: 300px;
        margin-bottom: 2rem;
    }

    .overlap-image-side img {
        border-radius: 20px;
        width: 90%;
        margin-left: 5%;
    }

    .section-header-content,
    .section-cta-content {
        padding: 0 1.5rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .minimal-cards-wrapper {
        margin-left: 0;
        width: 90%;
        margin: 1rem auto;
        padding: 1rem 0 3rem;
    }
    
    .minimal-card {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .minimal-card:hover {
        transform: translateY(-5px) translateX(0);
    }
}

/* Line Clamp Utility */
.line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    cursor: pointer;
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto;
}

/* Bento Grid Styles */
.bento-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bento-featured {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    padding: 2rem;
    background-size: cover;
    background-position: center;
}

.bento-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.bento-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 10rem;
    opacity: 0.05;
    transform: rotate(15deg);
    transition: transform 0.5s ease;
}

.bento-card:hover .bento-icon-bg {
    transform: rotate(0deg) scale(1.1);
    opacity: 0.1;
}

/* Background Patterns */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    background-image: radial-gradient(#000 1px, transparent 1px);
    background-size: 20px 20px;
}

.bento-featured .pattern-overlay {
    background-image: radial-gradient(#fff 1px, transparent 1px);
    opacity: 0.1;
}

.bento-value-card {
    position: relative;
    /* Ensure it works with overlay */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    /* Fallback */
    overflow: hidden;
    /* Contains the pattern */
}

/* Specific gradients for values if we want them distinct but subtle */
.bento-value-card.bg-subtle-1 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bento-value-card.bg-subtle-2 {
    background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
}

.value-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(22, 147, 205, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.bento-card:hover .value-icon-wrapper {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.bento-card:hover .value-icon-wrapper i {
    transform: rotateY(-180deg);
    /* Keep icon facing forward */
}

/* Sustainability Image Heights */
@media (min-width: 992px) {
    .sustainability-img-cover {
        height: 100%;
        min-height: 500px;
        object-fit: cover;
    }
    .sustainability-img-contain {
        max-height: 500px;
        object-fit: contain;
    }
}

/* Utilities generated from inline styles */
.bg-radial-pattern-1 { background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 24px 24px; }
.backdrop-blur-10 { backdrop-filter: blur(10px); }
.bg-white-10-border-20 { background-color: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.text-dark-333 { color: #333; }
.overflow-hidden-rounded-12 { overflow: hidden; border-radius: 12px; }
.bg-gradient-primary-rounded-24 { border-radius: 24px; background: linear-gradient(145deg, var(--primary-color) 0%, #0d5c80 100%); }
.bg-technician-spectro { background-image: url('../images/company/technician\ with\ spectro.jpg'); position: relative; }
.bg-keyboard-hands { position: relative; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/stock/keyboard\ and\ hands.jpeg'); background-size: cover; background-position: center; background-attachment: fixed; }
.bg-primary-80 { background: rgba(22, 147, 205, 0.8); }
.obj-pos-65-top { object-position: 65% top; }
.bg-success-80 { background: rgba(40, 167, 69, 0.8); }
.scale-115-center { transform: scale(1.15); transform-origin: center; }
.bg-contact-img { background-image: url('../images/stock/contact.png'); background-position: top;}
.fs-11-primary { font-size: 1.1rem; color: var(--primary-color); }
.bg-keyboard-hands-3 { position: relative; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/stock/keyboard%20and%20hands-3.jpeg'); background-size: cover; background-position: center; background-attachment: fixed; }
.bg-farmer-spraying-1 { background-image: url('../images/stock/agri-products.jpg'); position: relative; }
.scale-140-center { transform: scale(1.4); transform-origin: center; }
.bg-team-farmer-sugarcane { background-image: url('../images/company/team\ +\ farmer\ in\ sugarcane\ field.jpg'); position: relative; }
.bg-radial-pattern-15 { background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px); background-size: 24px 24px; }
.lh-18-important { line-height: 1.8 !important; }
.fs-11-warning { font-size: 1.1rem; color: #ffca2c; }
.cursor-pointer { cursor: pointer; }
.bg-white-20 { background: rgba(255, 255, 255, 0.2); }
.pos-abs-top-minus-80 { position: absolute; top: -80px; }
.ls-1 { letter-spacing: 1px; }
.bg-glass-form { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.fs-11-secondary { font-size: 1.1rem; color: #6c757d; }
.fs-11-danger { font-size: 1.1rem; color: #dc3545; }
.bg-sustainability { background-image: url('../images/stock/sustainibility.jpg'); position: relative; }
.icon-bg-effect { bottom: -20px; right: -20px; font-size: 15rem; opacity: 0.08; transform: rotate(-15deg); }
.bg-fermentor { background-image: url('../images/company/Fermentor%20with%20control%20panel.jpg'); }
.bg-glass-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.15); }
.h-100-min-400 { height: 100%; min-height: 400px; }
.opacity-10-top-minus-50 { opacity: 0.1; top: -50px; }
.opacity-10 { opacity: 0.1; }

/* ── Agri Products Page ── */
/* Product tab label colors */
#azotobacter-tab { color: #1d751e; }
#psb-tab         { color: #a66a0c; }
#kmb-tab         { color: #92093a; }
#npk-tab         { color: #1619d0; }

/* Product image */
.product-img {
    max-height: 360px;
    object-fit: contain;
    display: block;
}

/* Spec table label column */
.spec-label {
    width: 250px;
}

/* ── Agri Products – Scrollable outer tabs ── */
.scrollable-tabs::-webkit-scrollbar { display: none; }
.scrollable-tabs { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Agri Products – Inner tab nav ── */
.product-inner-tabs { border-bottom: 1px solid #dee2e6; gap: 1rem; }
.product-inner-tabs .nav-link {
    color: #555;
    border: none !important;
    background: transparent !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: -1px;
    transition: all 0.3s ease;
}

.azotobacter-inner-tabs .nav-link.active { color: #1d751e !important; border-bottom: 2px solid #1d751e !important; font-weight: 600; }
.azotobacter-inner-tabs .nav-link:hover  { color: #1d751e; }

.psb-inner-tabs .nav-link.active { color: #a66a0c !important; border-bottom: 2px solid #a66a0c !important; font-weight: 600; }
.psb-inner-tabs .nav-link:hover  { color: #a66a0c; }

.kmb-inner-tabs .nav-link.active { color: #92093a !important; border-bottom: 2px solid #92093a !important; font-weight: 600; }
.kmb-inner-tabs .nav-link:hover  { color: #92093a; }

.npk-inner-tabs .nav-link.active { color: #1619d0 !important; border-bottom: 2px solid #1619d0 !important; font-weight: 600; }
.npk-inner-tabs .nav-link:hover  { color: #1619d0; }
