/* ==========================================
   BIO POWER - Animated Biogas Website
   Inspired by zorg-biogas.com
   Brand Colors: Blue (#0066CC) & Red (#E63946)
   ========================================== */

/* CSS Variables */
:root {
    --primary-blue: #0066CC;
    --primary-red: #E63946;
    --dark-blue: #003D7A;
    --light-blue: #E6F2FF;
    --light-red: #FFE6E8;
    --dark-bg: #0a0a0a;

    --darker-bg: #050505;
    --card-bg: #111111;
    --white: #FFFFFF;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow-blue: 0 0 30px rgba(0, 102, 204, 0.3);
    --shadow-glow-red: 0 0 30px rgba(230, 57, 70, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    /* FIX: prevents horizontal scrollbar / moving line */
}

/* FIX: container max-width corrected from 1980px to 1440px */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 102, 204, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

body:hover .cursor {
    opacity: 1;
}

/* Preloader Base */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* Preloader Logo Styling */
/* FIX: Renamed animation from 'pulse' to 'logoPulse' to avoid conflict with map pulse */
.preloader-logo {
    width: 280px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    animation: logoPulse 2s infinite ease-in-out;
}

/* Ensure the hidden class actually removes the preloader */
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
}

/* Loading Bar */
.loading-bar {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #e74c3c);
    width: 0;
    animation: loading 2.5s ease-out forwards;
}

/* FIX: Renamed from 'pulse' to 'logoPulse' to avoid conflict with map point pulse */
@keyframes logoPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Navbar Logo */
.logo-img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .logo-img {
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hamburger active state animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: #d32f3f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-red);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 102, 204, 0.1);
}

.btn-white {
    background: var(--white);
    color: var(--dark-bg);
}

.btn-white:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.btn-text {
    background: transparent;
    color: var(--primary-blue);
    padding: 0;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

.btn .arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.hero-content {
    padding: 120px 0;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--gray-400);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tag-line {
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.hero-title {
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 1000;
    line-height: 1.1;
    margin-bottom: 20px;
    width: 100%;
    max-width: none;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 5200px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-600);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease infinite;
}

/* FIX: Renamed from 'scroll' to 'scrollWheel' to avoid potential conflicts */
@keyframes scrollWheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* FAQ Section Styling */
.faq-section {
    padding: 30px 0;
    background: var(--dark-bg);
}

.faq-accordion {
    max-width: 900px;
    margin: 10px auto 0;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-question {
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-blue);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding-bottom: 15px;
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.8;
}

/* Active State for FAQ */
.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow-blue);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Process Flow */
.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Moving white line animation removed */

/* Stats Section */
.stats-section {
    padding: 30px 0;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray-400);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    margin: 20px auto 0;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.stat-item:hover .stat-line {
    transform: scaleX(1);
}

/* Section Styles */
.section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-blue);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-tag span {
    width: 30px;
    height: 2px;
    background: var(--primary-blue);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
}

.gradient-text-1 {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(90deg, #22c55e, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--gray-400);
    font-size: 16px;
    line-height: 1.7;
    max-width: 1000px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--dark-bg);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(230, 57, 70, 0.2));
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.card-text strong {
    display: block;
    color: var(--white);
    font-size: 16px;
}

.card-text span {
    color: var(--gray-500);
    font-size: 13px;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
}

.feature-text span {
    color: var(--gray-500);
    font-size: 13px;
}

/* Products Section */
.products {
    padding: 30px 0;
    background: var(--darker-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-tag {
    justify-content: center;
}

.section-header .section-desc {
    margin: 0 auto;
}

.products-swiper {
    padding: 20px 0 60px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.product-info p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-capacity {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.capacity-label {
    color: var(--gray-500);
}

.capacity-value {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: var(--gray-600);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 4px;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--white);
    background: var(--card-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px;
}

/* Process Section */
.process {
    padding: 30px 0;
    background: var(--dark-bg);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    font-size: 72px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 102, 204, 0.3);
    line-height: 1;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    -webkit-text-stroke: 1px var(--primary-blue);
    color: rgba(0, 102, 204, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--white);
}

.step-content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-line {
    position: absolute;
    top: 100px;
    right: -10px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

.process-step:last-child .step-line {
    display: none;
}

/* Benefits Section */
.benefits {
    padding: 30px 0;
    background: var(--darker-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 204, 0.3);
}

.benefit-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
}

.icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
    border-radius: 30px;
    opacity: 0.2;
    filter: blur(20px);
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-bg {
    width: 120px;
    height: 120px;
    opacity: 0.3;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--white);
}

.benefit-card p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
}

.benefit-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(230, 57, 70, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-hover {
    opacity: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 30px 0;
    background: var(--dark-bg);
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 84px;
    padding: 88px;
    position: relative;
}

.quote-icon {
    font-size: 100px;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.1;
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-text {
    font-size: 18px;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--white);
    font-size: 16px;
}

.author-info span {
    color: var(--gray-500);
    font-size: 13px;
}

/* Geography Section */
.geography {
    padding: 120px 0;
    background: var(--darker-bg);
}

.geo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.geo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.geo-stat {
    text-align: center;
}

.geo-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.geo-label {
    color: var(--gray-500);
    font-size: 13px;
}

.geo-map {
    display: flex;
    justify-content: center;
}

.map-container {
    position: relative;
}

.india-map {
    width: 400px;
    height: 500px;
}

.map-outline {
    fill: none;
    stroke: var(--gray-700);
    stroke-width: 2;
}

.map-point {
    fill: var(--gray-700);
    transition: all 0.3s ease;
}

/* FIX: This 'pulse' keyframe now only applies to map points (renamed preloader animation) */
.map-point.active {
    fill: var(--primary-blue);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.map-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 50%;
    animation: mapPulse 3s ease infinite;
}

@keyframes mapPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* CTA Section */
.cta {
    padding: 30px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn svg {
    width: 10px;
    height: 10px;
}

/* Footer */
footer {
    padding: 20px 0 10px;
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-500);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--gray-500);
    font-size: 14px;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-blue);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1440px) {
    .flow-container {
        padding: 80px 24px;
    }
}

@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step:nth-child(3) .step-line,
    .process-step:nth-child(5) .step-line {
        display: none;
    }
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper,
    .geo-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .flow-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-card {
        right: 20px;
        bottom: -20px;
    }
}

/* Dropdown Container */
.nav-links li.dropdown {
    position: relative;
}

/* Dropdown Menu Styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    min-width: 180px;
    padding: 15px 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;

    /* Hide by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* Show Dropdown on Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Items */
.dropdown-menu li {
    display: block;
    margin: 0 !important;
}

.dropdown-menu li a {
    padding: 10px 25px;
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-blue);
    padding-left: 30px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100svh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        align-items: center;
        justify-content: center;
    }

    /* FIX: This was the missing rule — hamburger toggled 'active' class but CSS never showed the menu */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .nav-menu.active .nav-links {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-menu.active .nav-links .nav-link {
        font-size: 20px;
        color: var(--white);
    }

    /* Hide dropdown arrow on mobile, show items inline */
    .nav-menu.active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 10px 0 0;
    }

    .nav-menu.active .dropdown-menu li a {
        font-size: 14px;
        color: var(--gray-400);
        padding: 6px 0;
        text-align: center;
    }

    /* FIX: Keep hamburger on top even when menu overlay is open */
    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 42px);
    }

    .hero-subtitle {
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* FIX: Scope full-width button only to hero section,
       NOT the navbar Request Quote button */
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* FIX: Hide Request Quote button in navbar on mobile
       so it doesn't overlap the hamburger icon */
    .navbar .btn-primary {
        display: none;
    }

    .stats-grid,
    .advanced-form .form-row {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .step-line {
        display: none;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .geo-stats {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* Animation Utilities */
/* FAILSAFE: Ensure AOS elements are never permanently invisible.
   AOS overrides these with its own styles when it initialises correctly.
   If AOS fails to load or init, elements fall back to fully visible. */
[data-aos] {
    transition-property: opacity, transform;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================
   INVENTORY SECTION
   ========================================== */

.inventory-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.inventory-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-normal);
}

.inventory-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow-blue);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.inventory-image {
    height: 250px;
    background: #1a1a1a;
}

.inventory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inventory-info {
    padding: 25px;
}

.inventory-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--white);
}

.inventory-info p {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 20px;
}

.inventory-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inventory-meta span {
    font-size: 13px;
    color: var(--gray-300);
}

.inventory-meta strong {
    color: var(--primary-blue);
}

/* ==========================================
   VIDEO CIRCULAR SHOWCASE
   ========================================== */

.video-circular-showcase {
    padding-top: 80px;
    background: var(--dark-bg);
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-grid-wrapper {
    position: relative;
    width: 1000px;
    height: 500px;
    margin: 0 auto;
}

.video-circle {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 102, 204, 0.2);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    filter: grayscale(100%) blur(1px);
}

.pos-2 {
    top: 0;
    left: 28%;
    transform: translateX(-50%);
}

.pos-4 {
    top: 0;
    left: 105%;
    transform: translateX(-50%);
}

.pos-1 {
    bottom: 0;
    left: -20%;
}

.pos-3 {
    bottom: 0;
    left: 60%;
}

.video-circle.active {
    opacity: 1;
    filter: grayscale(0%) blur(0);
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 50px rgba(0, 102, 204, 0.5);
    transform: scale(1.1);
    z-index: 10;
}

.pos-2.active,
.pos-4.active {
    transform: translateX(-50%) scale(1.1);
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-circle.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2.5) !important;
    width: 300px;
    height: 300px;
    z-index: 9999;
    opacity: 1;
    filter: grayscale(0%) blur(0);
    border: 4px solid var(--primary-blue);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

body.video-is-zoomed .video-circular-showcase::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    pointer-events: all;
}

body.video-is-zoomed .navbar {
    filter: blur(4px);
    pointer-events: none;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

.about-hero {
    padding: 10px 0 !important;
    min-height: auto !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top right, #0d1117, #0a0a0a);
}

.about-hero .hero-content {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 10px;
}

.about-hero .hero-title {
    margin-bottom: 40px;
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
}

.about-hero .hero-subtitle {
    margin: 0 auto 30px !important;
    color: var(--gray-400);
    max-width: 800px;
    line-height: 1.8;
}

.about-section {
    padding: 20px 0 20px !important;
    background: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-glass:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow-blue);
}

.card-glass .section-tag {
    margin-bottom: 10px;
}

.journey-section {
    padding: 20px 0;
    background: var(--darker-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.journey-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.capabilities {
    padding: 80px 0;
}

.capabilities .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.capabilities .benefit-card {
    background: linear-gradient(145deg, #111111 0%, #050505 100%);
    text-align: left;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.capabilities .benefit-card:hover {
    border-color: var(--primary-blue);
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-hero {
        padding-top: 100px !important;
    }

    .card-glass {
        padding: 30px;
    }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contact-page {
    background: var(--dark-bg);
    color: var(--white);
}

.contact-hero {
    padding: 120px 0 100px;
    background: radial-gradient(circle at top right, #0d1117, #050505);
    min-height: 100svh;
}

.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .section-desc {
    margin: 0 auto;
    max-width: 1000px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: var(--primary-blue);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow-blue);
}

.info-card h5 {
    color: var(--primary-blue);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.info-card p {
    color: var(--gray-300);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.contact-form-col {
    background: var(--card-bg);
    padding: 45px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.advanced-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.advanced-form input,
.advanced-form select,
.advanced-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.advanced-form input:focus,
.advanced-form select:focus,
.advanced-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 102, 204, 0.05);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.2);
}

.advanced-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230066CC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}

.advanced-form select option {
    background-color: var(--card-bg);
    color: var(--white);
    padding: 10px;
}

.advanced-form select:focus {
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--white);
}

.advanced-form select {
    color: var(--white) !important;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: var(--gray-400);
}

.btn-full {
    width: 100%;
    padding: 18px !important;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 992px) {
    .contact-hero {
        padding-top: 100px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-col {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .advanced-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   BIOGAS PRODUCT PAGES
   ========================================== */

.biogas-detail-page {
    background-color: var(--dark-bg);
    color: var(--white);
}

.biogas-hero {
    /* FIX: padding-top accounts for fixed navbar (~70px) + breathing room.
       padding-bottom kept tight so stat strip sits close below */
    padding: 70px 0px 10px !important;
    text-align: center;
    background: radial-gradient(circle at top right, #0d1117, #050505);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto !important;
}

.biogas-hero .hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.biogas-hero .section-title {
    margin-bottom: 16px;
}

.biogas-hero .section-desc {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.biogas-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 30px;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.biogas-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow-blue);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.badge {
    background: rgba(0, 102, 204, 0.15);
    color: var(--primary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-specs {
    margin-top: 80px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.sub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.spec-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.spec-item h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
}

.spec-item p {
    color: var(--gray-400);
    line-height: 1.6;
}

/* FIX: menu-action updated to use flexbox so multiple buttons sit side by side */
.menu-action {
    margin: 40px 0 20px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.byproduct-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.byproduct-info strong {
    display: block;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 6px;
}

.byproduct-info p {
    color: var(--gray-400);
    font-size: 13px;
    line-height: 1.6;
}

.content-wrapper {
    padding: 30px 0 60px;
}

@media (max-width: 992px) {

    .solution-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .biogas-card {
        padding: 30px;
    }

    .tech-specs {
        padding: 30px;
    }
}

/* ==========================================
   CLIENT LOGOS
   ========================================== */

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.client-logo-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 15px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.client-logo-box img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    filter: none !important;
    opacity: 1 !important;
}

.client-logo-box:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-blue);
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-logo-box {
        height: 90px;
        padding: 10px;
    }
}

/* ==========================================
   Responsive Standardizations
   ========================================== */
@media (max-width: 1440px) {
    .flow-container {
        padding: 80px 24px;
    }
}

@media (max-width: 992px) {
    .flow-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .contact-hero,
    .nav-menu {
        min-height: 100svh;
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 42px);
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }

    .advanced-form .form-row {
        grid-template-columns: 1fr;
    }

    .ecosystem-logo {
        width: 72px;
        height: 72px;
        object-fit: contain;
        display: block;
        margin: 0 auto 18px;
    }

    .benefit-card.logo-card h3 {
        margin-top: 6px;
    }

    .benefit-card .benefit-link,
    .benefit-card .benefit-link:visited {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 14px;
        color: var(--primary-blue);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .benefit-card .benefit-link:hover {
        color: var(--white);
        gap: 10px;
    }

    .benefit-card .benefit-link:active {
        color: var(--primary-red);
    }
}

/* --- Hero Logo Styling --- */
.wonderbin-logo-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    /* Space between logo/title and description */
}

.wb-logo {
    max-width: 320px;
    /* Adjust based on your image dimensions */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    /* Optional: smooths edges if logo has a white background box */
    display: block;
}

/* Ensure the title below the logo matches the professional theme */
.wonderbin-logo-header .section-title {
    margin-top: 0;
    line-height: 1.2;
}

.wonderbin-logo-header .gradient-text {
    /* Uses your existing green-to-blue gradient from line 527 */
    background: linear-gradient(90deg, #22c55e, #0066CC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .wb-logo {
        max-width: 200px;
    }
}