:root {
    --primary-green: #002d1a;
    --dark-bg: #001f12;
    --accent-yellow: #CAA554;
    --text-light: #F7F5F0;
    --text-muted: #FFFFFFBF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1600px;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

#preloader.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.preloader-logo-container {
    position: relative;
    width: 280px;
    height: 140px;
}

.preloader-logo-base {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    mask-image: url('../assets/navbar/logo.png');
    -webkit-mask-image: url('../assets/navbar/logo.png');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: #ffffff;
}

.preloader-logo-fill {
    position: absolute;
    inset: 0;
    background-color: var(--accent-yellow);
    clip-path: inset(100% 0% 0% 0%);
    mask-image: url('../assets/navbar/logo.png');
    -webkit-mask-image: url('../assets/navbar/logo.png');
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    transition: clip-path 0.1s ease-out;
}

.preloader-text {
    margin-top: 2rem;
    overflow: hidden;
    height: 1.25rem;
}

.preloader-percentage {
    display: block;
    font-family: 'Outfit', monospace;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

#preloader.loaded .preloader-percentage {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    margin: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.btn,
.nav-link {
    font-family: 'Outfit', sans-serif;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-toggler {
    border: none !important;
    padding: 0;
}

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

.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='%23002d1a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #002d1a !important;
    /* Dark green text */
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s;
    position: relative;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: var(--accent-yellow) !important;
}

.navbar-expand-lg .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--accent-yellow);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover::after,
.navbar-expand-lg .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Remove default Bootstrap caret while keeping the custom underline ::after */
.dropdown-toggle::after {
    display: inline-block !important;
    /* Restore display */
}

/* Ensure underline shows for dropdown toggle when active/hovered */
.navbar-expand-lg .navbar-nav .nav-link.dropdown-toggle:hover::after,
.navbar-expand-lg .navbar-nav .nav-link.dropdown-toggle.active::after {
    transform: scaleX(1);
}

/* Show dropdown on hover */
@media (min-width: 992px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Subtle shadow like image */
    border-radius: 12px;
    padding: 15px 0;
    min-width: 320px;
    /* Wider for full product names */
    background-color: #ffffff;
}

.dropdown-item {
    color: var(--primary-green) !important;
    font-weight: 500;
    padding: 12px 25px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background-color: #fdf7e8;
    /* Light cream hover */
    color: var(--primary-green) !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 5px 25px;
    /* Inset divider */
}

.phone-link {
    color: #333 !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.phone-link img {
    background-color: var(--accent-yellow);
    padding: 6px;
    border-radius: 6px;

}

.btn-warning {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: #01321E !important;
}

.btn-warning:hover {
    background-color: #01321E;
    border-color: #c0a15d;
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../assets/hero section/hero-section-bg.png') no-repeat center center;
    background-size: cover;
    min-height: 88vh;
    padding: 70px 0px 0px 0px;
    overflow: hidden;
}

.hero-section::before {
    display: none;
    /* Background image already provided */
}

.badge-custom {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid #CAA554;
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
}

.badge-inner {
    background-color: var(--accent-yellow);
    padding: 4px 12px;
    border-radius: 50px;
    color: #000;
}

.badge-text {
    color: #fff;
}

.hero-text-col h1 {
    line-height: 0.85;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-section .display-1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
}

.hero-section .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    opacity: 0.9;
}

.text-warning {
    color: var(--accent-yellow) !important;
}

.floating-card h5 {
    font-size: 1.8rem;
    font-weight: 600;
}

.floating-card h6 {
    font-size: 1.4rem;
    font-weight: 600;
}

.stats-row {
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.stat-item h4 {
    font-size: 2.2rem;
    margin-bottom: 2px;
}

.stat-divider {
    width: 1px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
}

.btn-request {
    box-shadow: 0 10px 30px rgba(209, 176, 107, 0.3);
}

.btn-outline-light {
    border-width: 2px;
}

/* Image Column */
.hero-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-backdrop {
    position: absolute;
    width: 100%;
    top: -35%;
    max-width: none;
    z-index: -1;
    animation: rotate 20s linear infinite;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 130%;
    max-width: none;
    transform: rotate(-5deg) translateX(-10%);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-card {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 15px 25px;
    border-radius: 15px;
    z-index: 3;
    animation: floating 3s ease-in-out infinite;
}

.floating-card h5 {
    font-size: 1.8rem;
    font-weight: 600;
}

.floating-card h6 {
    font-size: 1.4rem;
    font-weight: 600;
}

.floating-card.top-right {
    top: -15%;
    right: 15%;
}

.floating-card.middle-bottom {
    bottom: -15%;
    left: 0%;
    animation-delay: 0.5s;
}

.floating-card.bottom-right {
    bottom: -20%;
    right: 10%;
    animation-delay: 1s;
}

.tiny {
    font-size: 0.7rem;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Features Bar */
.features-bar {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    margin-top: 7em;
}

.feature-tag {
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.feature-tag img {
    height: 18px;
    width: auto;
    /* Removed filter to maintain original icon colors */
}

.iso-text {
    color: #fff !important;
}

/* Logo Placeholder */
.logo-placeholder {
    display: flex;
    flex-direction: column;
}

.rosun-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: 2px;
}

.sub-text {
    font-size: 0.6rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Image Placeholder */
.hero-image-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

.hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 10px;
}

/* Footer */
.footer-section {
    background-color: var(--primary-green);
    color: var(--text-light);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-yellow);
    color: black;
}

.footer-contact li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Section 2: Stats Counter Section */
.stats-counter-section {
    background: linear-gradient(to right, #CAA554, #b89445);
    color: white;
}

.stat-box {
    padding: 20px;
}

.stat-number-wrapper {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 15px;
}

.stat-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stat-desc {
    font-size: 0.85rem;
    margin: 0 auto;
    color: #002d1a !important;
    font-weight: 500;
}

.stat-v-divider {
    width: 1px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.4);
    padding: 0;
    margin: 0 -0.5px;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .stats-counter-section .row {
        justify-content: center;
    }

    .stat-box {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stat-box:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .stat-item h4 {
        font-size: 1.5rem;
        margin-bottom: 0px;
    }
}

.text-primary-green {
    color: #002d1a !important;
}

.text-accent-yellow {
    color: #CAA554 !important;
}

.section-subtitle-lined {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #CAA554 !important;
    font-weight: 600;
}

.section-subtitle-lined::before,
.section-subtitle-lined::after {
    content: "";
    height: 1px;
    width: 60px;
    background-color: #CAA554 !important;

}

/* Section 3: Dual Fiber Architecture */
.fiber-architecture-section {
    background-color: #F9F8F3;
    /* Very light cream from design */
}

/* Interactivity Styles for Split Pane */
.split-indicator {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    width: 60px;
    height: 90%;
    z-index: 100 !important;
    /* Ensure it's above everything */
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.split-badge {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
}

.split-badge:hover,
.split-badge.active-badge {
    opacity: 1;
    /* width: 25px !important; */
}

.idf-pane,
.sdf-pane {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pane-inactive {
    opacity: 1 !important;
    filter: none;
    cursor: default;
    transform: none;
}

/* Default Colors (IDF Active) */
.active-idf #pane-idf {
    background-color: #002d1a !important;
    color: #ffffff !important;
}

.active-idf #pane-idf h3 {
    color: #ffffff !important;
}

.active-idf #pane-idf .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.active-idf #pane-sdf {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.active-idf #pane-sdf h3 {
    color: #333333 !important;
}

.active-idf #pane-sdf .text-muted {
    color: #666666 !important;
}

.active-idf #pane-sdf .benefit-list li {
    color: #666666 !important;
}

/* Swapped Colors (SDF Active) */
.active-sdf #pane-idf {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.active-sdf #pane-idf h3 {
    color: #333333 !important;
}

.active-sdf #pane-idf .text-white-50 {
    color: #777777 !important;
}

.active-sdf #pane-idf .fiber-badge-outline {
    border-color: rgba(0, 0, 0, 0.1);
}

.active-sdf #pane-idf .fiber-badge-outline span {
    color: #555555 !important;
}

.active-sdf #pane-idf .benefit-list li {
    color: #333333 !important;
}

.active-sdf #pane-sdf {
    background-color: #002d1a !important;
    color: #ffffff !important;
}

.active-sdf #pane-sdf h3 {
    color: #ffffff !important;
}

.active-sdf #pane-sdf .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.active-sdf #pane-sdf .benefit-list li {
    color: #ffffff !important;
}

.active-sdf #pane-sdf .fiber-badge-outline-dark {
    border-color: rgba(255, 255, 255, 0.2);
}

.active-sdf #pane-sdf .fiber-badge-outline-dark span {
    color: #ffffff !important;
}

.active-sdf #pane-sdf .benefit-list li i {
    color: #CAA554 !important;
}

.dual-pane-container .row {
    position: relative;
    background-color: #ffffff;
    min-height: 450px;
}

.section-subtitle {
    letter-spacing: 3px;
    color: #CAA554;
    font-weight: 600;
}

.display-4 {
    letter-spacing: -1px;
}

.dual-pane-container {
    padding: 0 15px;
    position: relative;
}

.idf-pane {
    background-color: #002d1a !important;
}

.sdf-pane {
    background-color: #ffffff !important;
}

/* Split Indicator Pill */
.split-indicator {
    position: absolute;
    right: -25px;
    top: 50%;
    /* transform: translateY(-50%); */
    background: #ffffff;
    width: 70px;
    height: 100.3%;
    z-index: 10;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #CAA554;
}

.split-text,
.split-text-bottom {
    writing-mode: sideways-lr;
    text-orientation: mixed;
    font-size: 0.55rem;
    font-weight: 700;
    color: #B2B2B2;
    letter-spacing: 2px;
}

.split-badge-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 100%;
    align-items: center;
}

.split-badge {
    padding: 15px 0;
    width: 10px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffffff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split-badge.idf {
    background-color: #002d1a;
    height: 80px;
    width: 30px !important;
    border-radius: 10px 10px 0 0;
    writing-mode: sideways-lr;
}

.split-badge.sdf {
    background-color: #CAA554;
    height: 65px;
    width: 30px;
    border-radius: 0 0 10px 10px;
    writing-mode: sideways-lr;
}

/* Fiber Badges (Pills) */
.fiber-badge-outline {
    border: 1px solid rgba(202, 165, 84, 0.4);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #CAA554;
    padding: 5px 20px;
    font-weight: 500;
}

.fiber-badge-outline span {
    color: #ffffff !important;
}

.fiber-badge-outline-dark {
    border: 1px solid rgba(202, 165, 84, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    color: #CAA554;
    padding: 5px 20px;
    font-weight: 500;
}

.fiber-badge-outline-dark span {
    color: #505050 !important;
}

.badge-custom-gold {
    background-color: rgba(202, 165, 84, 0.15);
    color: #CAA554;
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 700;
}

.badge-custom-gold-light {
    background-color: #FDF7E8;
    color: #CAA554;
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 4px 15px;
    border-radius: 50px;
    font-weight: 700;
}

/* Benefit List Icons */
.benefit-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.benefit-list li i {
    color: rgba(202, 165, 84, 0.8);
    font-size: 1.1rem;
    margin-right: 15px;
}

/* Bottom Feature Cards */
.feature-card-detail {
    background-color: #ffffff;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    transition: all 0.3s;
}

.feature-card-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
    background-color: #fdf7e8 !important;
}

.icon-box-green {
    background-color: #002d1a;
    min-width: 65px;
    height: 65px;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-tiny {
    background-color: #FDF7E8;
    color: #CAA554;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Section 4: Applications & Technical Specifications */
.apps-specs-section {
    background-color: #002d1a;
    position: relative;
    overflow: hidden;
}

.apps-specs-section .section-subtitle-lined {
    color: #ffffff !important;
}

.apps-specs-section .section-subtitle-lined::before,
.apps-specs-section .section-subtitle-lined::after {
    background-color: rgba(255, 255, 255, 0.3);
}

.app-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.app-card-header {
    background: linear-gradient(135deg, #CAA554 0%, #8e7033 100%);
    color: #ffffff;
}

.app-icon-pulp {
    background: rgba(255, 255, 255, 0.9);
    color: #CAA554;
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.app-icon-pulp img {
    max-width: 28px;
    height: auto;
    object-fit: contain;
}

.app-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #444;
}

.app-feature-list li i {
    color: #CAA554;
    font-size: 0.7rem;
}

.spec-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-card-header {
    background-color: #002d1a !important;
    color: #ffffff !important;
    border-bottom: 3px solid #CAA554;
    border-top: 4px solid #CAA554;
}

.spec-card-header h3 {
    color: #ffffff !important;
}

.spec-card-header .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.spec-table tr.bg-light td {
    background-color: #F9F8F3 !important;
}

.spec-table td {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 0.9rem;
    color: #333;
}

/* .spec-table td:last-child {
    color: #198754 !important;
} */

.btn-primary-green {
    background-color: #002d1a;
    border-color: #002d1a;
    color: #ffffff;
    transition: all 0.3s;
}

.btn-primary-green:hover {
    background-color: #004d2c;
    border-color: #004d2c;
    color: #ffffff;
    transform: scale(1.02);
}

.btn-outline-dark:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.02);
}

/* Section 5: Versatile Applications Tabs */
.versatile-apps-section {
    background-color: #ffffff;
}

.app-tab-btn {
    background: #ffffff;
    border: 1px solid #CAA554;
    color: #444;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.app-tab-btn:hover {
    border-color: #002d1a;
    background-color: #fdf7e8;
}

.app-tab-btn.active {
    background-color: #002d1a !important;
    border-color: #002d1a !important;
    color: #ffffff !important;
}

.app-tab-btn img {
    filter: brightness(1);
    transition: all 0.3s ease;
}

.app-tab-btn.active img {
    filter: brightness(0) invert(1);
}

.tab-content-card {
    min-height: 520px;
}

.app-focus-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.app-focus-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.app-focus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 45, 26, 0.9) 0%, rgba(0, 45, 26, 0) 100%);
}

.bg-primary-green {
    background-color: #002d1a !important;
}

.badge-form {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-accent-yellow {
    background-color: #CAA554;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent-yellow:hover {
    background-color: #8e7033;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 165, 84, 0.3);
}

@media (max-width: 991px) {
    .app-focus-img-wrapper {
        height: 350px !important;
    }
}

/* Section 6: Competitive Landscape */
.competitive-section {
    background-color: #002d1a;
}

/* .competitive-section .section-subtitle-lined {
    color: #ffffff !important;
} */

.competitive-section h2 {
    color: #ffffff !important;
}

.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 900px;
    background-color: #F9F8F3 !important;
}

@media (max-width: 768px) {
    .table-responsive {
        border-radius: 15px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

.comparison-table thead tr th {
    background-color: #D5B97B;
    color: #002d1a !important;
    border: none;
    padding: 20px 15px;
    font-size: 0.9rem;
    vertical-align: middle;
    white-space: nowrap;
}

.comparison-table thead tr th.highlight-col-header {
    background-color: #CAA554 !important;
    color: #002d1a !important;
}

.comparison-table tbody tr td {
    padding: 15px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    font-size: 0.85rem;
    color: #666;
}

.comparison-table tbody tr td:first-child {
    font-weight: 600;
    color: #333;
}

.comparison-table tbody tr:nth-child(even),
.bg-light-row {
    background-color: #F9F8F3 !important;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: #F9F8F3 !important;
}

.comparison-table tbody tr td.highlight-col {
    background-color: #FDF7E8 !important;
    color: #002d1a !important;
    font-weight: 700;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.icon-box-6 {
    width: 40px;
    height: 40px;
    background-color: #002d1a;
    color: #ffffff;
    border-radius: 50%;
    margin-bottom: 15px;
    padding: 8px;
    /* Standardize icon images inside the circle */
}

.icon-box-6 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card-6 {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border-radius: 20px !important;
    background-color: #ffffff;
}

.feature-card-6:hover {
    background-color: #CAA554 !important;
}

.feature-card-6 .fw-bold.mb-3 {
    color: #01321E !important;
}

.feature-card-6:hover .fw-bold.mb-3 {
    color: #ffffff !important;
}

.cta-card-6 {
    background-color: #CAA554 !important;
    border-radius: 20px !important;
    color: #002d1a !important;
}

.cta-card-6 .text-accent-yellow {
    color: #002d1a !important;
}

.cta-card-6 h5 {
    color: #ffffff !important;
}

.btn-dark-green {
    background-color: #002d1a !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-dark-green:hover {
    background-color: #004026 !important;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

.btn-accent-yellow {
    background-color: #CAA554 !important;
    border-color: #CAA554 !important;
    color: #002d1a !important;
}

.btn-accent-yellow:hover {
    background-color: #b89448 !important;
    border-color: #b89448 !important;
}

.btn-outline-speaktospecialist {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-speaktospecialist:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Animations Helper */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

@media (max-width: 991px) {

    .idf-pane,
    .sdf-pane {
        border-radius: 15px !important;
    }

    .hero-section {
        text-align: center;
    }

    .stats-row {
        justify-content: center;
        margin-bottom: 30px !important;
    }

    .hero-img-col {
        margin-top: 50px;
    }

    .floating-card {
        display: none;
    }

    .hero-image-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .display-1 {
        font-size: 3rem;
    }

    .hero-text-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .badge-custom {
        margin-bottom: 20px !important;
    }

    .features-bar .d-flex {
        justify-content: center !important;
    }
}

/* Section 7: Taste the Difference CTA */
.taste-difference-section {
    position: relative;
    background: url('../assets/ready-to-reformulate/Ready to Reformulate.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    overflow: hidden;
}

.taste-difference-section .section-subtitle-lined {
    color: #CAA554 !important;
}

.taste-difference-section .section-subtitle-lined::before,
.taste-difference-section .section-subtitle-lined::after {
    background-color: #CAA554 !important;
}

.max-w-700 {
    max-width: 700px;
}

@media (max-width: 991px) {
    .taste-difference-section {
        background-attachment: scroll;
        padding: 80px 0;
    }

    .taste-difference-section h2 {
        font-size: 2.5rem;
    }
}

/* Section 8: Sample Request Section */
.sample-request-section {
    background-color: #FBFBFB;
    position: relative;
    z-index: 1;
    background-color: #f7f5f0;
}

.sample-request-section .section-subtitle-lined {
    color: #000000 !important;
}

.sample-request-section .section-subtitle-lined::before,
.sample-request-section .section-subtitle-lined::after {
    color: #CAA554 !important;
}

.sample-request-section .text-dark {
    color: #01321E !important;
}

.contact-card,
.what-u-get-card,
.request-form-card {
    border: none;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    background-color: #FDF7E8 !important;
    /* Light gold background on hover */
}

.content-form-text {
    display: flex !important;
    align-items: center !important;
}


.contact-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-light-soft {
    background-color: #F8F7F3 !important;
    /* Design-consistent input bg */
}

.sample-request-section .form-label {
    color: #01321E !important;
}

.sample-request-section .form-control {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 10px !important;
    /* Subtle border from design */
    transition: all 0.3s ease;
}

.sample-request-section .form-control:focus {
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(202, 165, 84, 0.1);
    border: 1px solid var(--accent-yellow) !important;
}

.sample-request-section .form-control::placeholder {
    opacity: 0.3 !important;
    color: #000000 !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

/* Section 9: Key Health Benefits Section */
.health-benefits-section {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.health-benefits-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 15px;
    align-items: start;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-img-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.benefit-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.benefit-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #01321E;
    line-height: 1.2;
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .health-benefits-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .health-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .benefit-img-wrapper {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .health-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 992px) {
    .sample-request-section .row.g-5 {
        display: flex;
    }

    .sample-request-section .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .what-u-get-card {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 991px) {
    .sample-request-section {
        padding: 60px 0;
    }

    .sample-request-section .row.g-5 {
        --bs-gutter-x: 0;
        /* Removing large horizontal gap on mobile */
    }

    .sample-request-section .col-lg-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .contact-card:hover {
        transform: none;
    }
}

/* Mobile adjustments for contact cards */
@media (max-width: 576px) {
    .contact-card {
        padding: 1rem !important;
        gap: 1rem !important;
    }

    .contact-card .contact-icon {
        padding: 0.8rem !important;
    }

    .contact-card .contact-icon img {
        width: 24px !important;
    }

    .contact-card h6 {
        font-size: 0.7rem !important;
        margin-bottom: 2px !important;
    }

    .contact-card p {
        font-size: 0.8rem !important;
        line-height: 1.3;
        word-break: break-word;
        /* Prevents long emails from overflowing */
    }

    .contact-card p.text-muted {
        font-size: 0.75rem !important;
    }

    .what-u-get-card {
        padding: 1.25rem !important;
    }

    .what-u-get-card h6 {
        font-size: 0.75rem !important;
        margin-bottom: 1.5rem !important;
    }

    .what-u-get-card li span {
        font-size: 0.75rem !important;
    }

    .hero-image {
        width: 100% !important;
        transform: rotate(-5deg) translateX(0) !important;
    }

    .hero-section .lead {
        font-size: 0.95rem !important;
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border: 1px solid #dc3545 !important;
    background-image: none !important;
}

.error-msg {
    font-size: 0.75rem;
    font-weight: 600;
    min-height: 1rem;
    margin-top: 4px;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    color: var(--primary-green);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-green);
    color: var(--accent-yellow);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}