@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   ENFAŞ Premium Design Stylesheet
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Theme Colors */
    --primary: #097245; /* Brand Green - suggested by user */
    --primary-dark: #065131; /* Deep Brand Green */
    --primary-light: #E6F4EA; /* Soft Green Mint */
    --secondary: #F59E0B; /* Amber/Solar Gold */
    --secondary-dark: #B45309;
    --secondary-light: #FEF3C7;
    
    --bg-dark: #065131; /* Deep green instead of black/dark slate */
    --bg-light: #F0FDF4; /* Light green-mint instead of light grey */
    --bg-white: #FFFFFF;
    
    --text-dark: #1E293B; /* Dark slate text */
    --text-muted: #64748B; /* Secondary gray text */
    --text-light: #F8FAFC;
    
    --border-light: rgba(0, 0, 0, 0.08);
    --border-green: rgba(9, 114, 69, 0.2);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -10px rgba(9, 114, 69, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}

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

ul {
    list-style: none;
}

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

/* Base Layout Containers */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-green { color: var(--primary); }
.text-gold { color: var(--secondary); }

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header .sub-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-lead {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Premium Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-xs {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    margin-right: 8px;
}

.badge-green {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.badge-gold {
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
}

/* ==========================================================================
   Header & Navigation (Modernized Floating Glass Design)
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* Subpage Compatibility: Dark Theme background headers */
body:not(:has(.hero-slider-section)) .main-header {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--border-light);
}

body:not(:has(.hero-slider-section)) .main-header.scrolled {
    background: rgba(255, 255, 255, 0.9);
}

.header-container {
    max-width: 100% !important;
    width: 100% !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    padding: 0 40px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .header-container {
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    display: block;
    transition: var(--transition);
}

/* Light white filter on dark backgrounds */
body:has(.hero-slider-section) .main-header:not(.scrolled) .brand-logo-img {
    filter: brightness(0) invert(1);
}

.footer-logo .brand-logo-img {
    height: 36px;
}

/* Desktop Menu Navigation */
.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: static;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-dark);
    border-radius: 30px;
    transition: var(--transition);
}

/* Text color transition on slider transparent header */
.main-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.main-header:not(.scrolled) .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(16, 185, 129, 0.05);
}

.main-header.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-item:hover .nav-link i,
.nav-item.menu-open .nav-link i {
    transform: rotate(180deg);
}

/* Header Actions & Modern Pill utility */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-utility {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 30px;
    transition: var(--transition);
}

.main-header:not(.scrolled) .header-utility {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.utility-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.main-header:not(.scrolled) .utility-link {
    color: rgba(255, 255, 255, 0.7);
}

.utility-link:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.main-header:not(.scrolled) .utility-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.lang-selector-pill {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 10px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.header-cta {
    border-radius: 30px;
}

/* Mega Menu Dropdowns (Aesthetic Tweaks for Floating Design) */
.nav-item.has-megamenu.menu-open .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.megamenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: calc(100vw - 48px);
    max-width: 1000px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1010;
}

.megamenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: transparent;
}


.megamenu-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
}

.megamenu-grid.sm-grid {
    grid-template-columns: 1fr 1fr;
}

.custom-width-menu .megamenu {
    max-width: 750px;
}

.megamenu-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-light);
}

.megamenu-col ul li {
    margin-bottom: 10px;
}

.megamenu-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 6px 0;
}

.megamenu-col ul li a i {
    color: var(--text-muted);
    font-size: 0.85rem;
    width: 16px;
    transition: var(--transition);
}

.megamenu-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.megamenu-col ul li a:hover i {
    color: var(--primary);
}

.megamenu-col.brand-col {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.megamenu-col.brand-col h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.megamenu-col.brand-col p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Special Flex Cards inside Mega Menu */
.flex-card {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-sm);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}

.flex-card.orange-theme {
    border-top-color: var(--secondary);
}

.flex-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.menu-card-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.orange-theme .menu-card-icon {
    color: var(--secondary);
}

.flex-card h4 {
    border: none !important;
    margin-bottom: 10px !important;
    font-size: 1.05rem !important;
    color: var(--text-dark) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.flex-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.menu-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orange-theme .menu-card-link {
    color: var(--secondary);
}

.menu-card-link:hover i {
    transform: translateX(4px);
}

.menu-ad-box {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.menu-ad-box h5 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-ad-box p {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.border-left {
    border-left: 1px solid var(--border-light);
    padding-left: 30px;
}

/* Dense Lists with Badges */
.dense-list li a {
    padding: 4px 0 !important;
}

.dense-list li a:hover {
    padding-left: 2px !important;
}

/* Mobile Menu Navigation Style */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
}

.mobile-menu-btn .bar {
    width: 23px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.main-header:not(.scrolled) .mobile-menu-btn .bar {
    background-color: white;
}

/* ==========================================================================
   Modern Hero Slider Section
   ========================================================================== */

.hero-slider-section {
    position: relative;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    background-color: var(--primary);
}

.hero-slider {
    position: relative;
    width: 100% !important;
    height: 100% !important;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.15);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-container {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 5;
}

.slide-content {
    max-width: 900px;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.05);
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -1px;
    color: #FFFFFF;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.gradient-text {
    background: linear-gradient(90deg, #34D399 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    max-width: 780px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Sequential Text Slide-Up Animations for Carousel */
.slide .animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .animate-item:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.slide.active .animate-item:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.slide.active .animate-item:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.slide.active .animate-item:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Slider Edge Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary);
}

/* Quick Features Board (Unified positioning for tablet & responsive design) */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(9, 114, 69, 0.75);
    padding: 30px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(9, 114, 69, 0.15);
}

.feature-mini-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-mini-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-mini-card:nth-child(2) .mini-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary);
    border-color: rgba(245, 158, 11, 0.2);
}

.mini-details h4 {
    font-size: 0.95rem;
    color: white;
    margin-bottom: 4px;
}

.mini-details p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fadeInUp 0.6s ease forwards; }
.animate-slide-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up-delayed { animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-delayed { animation: fadeInUp 1.2s ease forwards; }


/* ==========================================================================
   Interactive Circular Economy Loop
   ========================================================================== */

.circular-section {
    background: linear-gradient(135deg, #02160e 0%, #052c1b 50%, #0c432a 100%);
    color: white;
    overflow: hidden;
    padding: 120px 0;
    position: relative;
}

.circular-section .section-header h2 {
    color: white;
}

.circular-section .section-header .sub-title {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.circular-section .section-header .section-lead {
    color: rgba(255, 255, 255, 0.7);
}

.loop-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

/* Loop Graphic layout */
.loop-graphic-wrapper {
    position: relative;
    width: 560px;
    height: 560px;
    margin: 0 auto;
}

.loop-center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(16, 185, 129, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 0 30px rgba(9, 114, 69, 0.2), inset 0 0 15px rgba(255,255,255,0.05);
}

.core-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    border-radius: 50%;
    animation: slowSpin 25s linear infinite;
}

@keyframes slowSpin {
    to { transform: rotate(360deg); }
}

.core-text {
    position: relative;
    z-index: 2;
}

.core-text strong {
    display: block;
    font-size: 1.25rem;
    color: #34D399;
    font-family: var(--font-heading);
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.core-text span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
    display: block;
}

.loop-node {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15), inset 0 0 8px rgba(255,255,255,0.05);
    transition: var(--transition);
}

.node-icon {
    font-size: 1.4rem;
    color: #34D399;
    transition: var(--transition);
}

.node-label {
    position: absolute;
    width: 120px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    pointer-events: none;
}

/* Adjust labels based on nodes positions (OUTSIDE CIRCLE) */
.node-1 .node-label { bottom: 75px; left: 50%; transform: translateX(-50%); }
.node-2 .node-label { left: 75px; top: 50%; transform: translateY(-50%); text-align: left; }
.node-3 .node-label { top: 75px; left: 50%; transform: translateX(-50%); }
.node-4 .node-label { right: 75px; top: 50%; transform: translateY(-50%); text-align: right; }

/* SVG overlay container */
.loop-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.loop-svg circle[stroke-dasharray="10 10"] {
    animation: rotateDashes 60s linear infinite;
    transform-origin: 250px 250px;
}

@keyframes rotateDashes {
    to { transform: rotate(360deg); }
}

#moving-glow {
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.8));
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover States & Active loop status */
.loop-node:hover, .loop-node.active {
    background: var(--primary);
    border-color: #34D399;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.loop-node:hover .node-icon, .loop-node.active .node-icon {
    color: white;
    transform: scale(1.15);
}

.loop-node:hover .node-label, .loop-node.active .node-label {
    color: #34D399;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
}

/* Node 2 Custom Orange States */
.loop-node.node-2:hover, .loop-node.node-2.active {
    background: var(--secondary);
    border-color: #F59E0B;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}

.loop-node.node-2:hover .node-label, .loop-node.node-2.active .node-label {
    color: #FBBF24;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.loop-node.node-2 .node-icon {
    color: #FBBF24;
}

.loop-node.node-2:hover .node-icon, .loop-node.node-2.active .node-icon {
    color: white;
}

/* Right Info Slides */
.loop-info-panel {
    height: 480px; /* Fixed height on desktop to prevent layout shifting */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.info-slide {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.info-slide.active {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slide-num {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(52, 211, 153, 0.15);
    line-height: 1;
    margin-bottom: 5px;
    user-select: none;
}

#slide-step-2 .slide-num {
    -webkit-text-stroke: 1px rgba(245, 158, 11, 0.18);
}

.info-slide h3 {
    font-size: 1.9rem;
    color: white;
    margin-bottom: 12px;
    font-weight: 800;
}

.info-slide p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 1.02rem;
    line-height: 1.6;
}

.slide-list {
    margin-bottom: 20px;
}

.slide-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.slide-list li i {
    color: #34D399;
    font-size: 1rem;
}

#slide-step-2 .slide-list li i {
    color: #FBBF24;
}

.circular-section .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.circular-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-dark);
    border-color: white;
}

/* ==========================================================================
   Activities Cards
   ========================================================================== */

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.activity-card {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-placeholder {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.activity-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 30px;
}

.card-orange .activity-tag {
    background-color: var(--secondary);
}

.activity-body {
    padding: 30px;
}

.activity-body h3 {
    font-size: 1.45rem;
    margin-bottom: 15px;
}

.activity-body p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.activity-stats {
    display: flex;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    margin-bottom: 25px;
}

.stat-unit {
    display: flex;
    flex-direction: column;
}

.stat-unit strong {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.card-orange .stat-unit strong {
    color: var(--secondary-dark);
}

.stat-unit span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Modern Activities Section Redesign
   ========================================================================== */
.activities-section {
    background-color: var(--bg-light);
    padding: 120px 0 60px 0; /* Reduced bottom padding to close distance to NPK widget */
    position: relative;
    overflow: hidden;
}

/* Background gradient accents for premium feel */
.activities-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(16, 185, 129, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.activities-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, rgba(245, 158, 11, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.activities-modern-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.activity-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-light);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-row.row-reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.activity-row.row-reverse .activity-image-side {
    order: 2;
}

.activity-row.row-reverse .activity-content-side {
    order: 1;
}

.activity-row:hover {
    transform: translateY(-8px);
}

.activity-row:has(.border-green):hover {
    box-shadow: 0 30px 60px rgba(9, 114, 69, 0.08), 0 0 0 1px rgba(9, 114, 69, 0.05);
}

.activity-row:has(.border-orange):hover {
    box-shadow: 0 30px 60px rgba(245, 158, 11, 0.08), 0 0 0 1px rgba(245, 158, 11, 0.05);
}

/* Image Side Layout */
.activity-image-side {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
}

.activity-image-side .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.activity-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.activity-row:hover .activity-image-side img {
    transform: scale(1.06);
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
}

.activity-badge-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 8px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.activity-badge-tag.tag-green {
    background-color: rgba(9, 114, 69, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-badge-tag.tag-orange {
    background-color: rgba(245, 158, 11, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Content Side Layout */
.activity-content-side {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.content-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.activity-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.activity-icon-box.bg-green-light {
    background-color: rgba(9, 114, 69, 0.08);
    color: var(--primary);
}

.activity-icon-box.bg-orange-light {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--secondary);
}

.activity-content-side h3 {
    font-size: 1.7rem;
    color: var(--text-dark);
    font-weight: 800;
    margin: 0;
}

.activity-description {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Dynamic Stats Grid */
.activity-feature-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
    border-top: 1px solid var(--border-light);
    padding-top: 25px;
}

.stat-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    transition: background 0.3s, border-color 0.3s;
}

.border-green .stat-card:hover {
    background-color: rgba(9, 114, 69, 0.02);
    border-color: rgba(9, 114, 69, 0.2);
}

.border-orange .stat-card:hover {
    background-color: rgba(245, 158, 11, 0.02);
    border-color: rgba(245, 158, 11, 0.2);
}

.stat-card .stat-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    line-height: 1.1;
}

.border-green .stat-card .stat-val {
    color: var(--primary-dark);
}

.border-orange .stat-card .stat-val {
    color: var(--secondary-dark);
}

.stat-card .stat-lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Link Button */
.btn-modern-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    align-self: flex-start;
    transition: transform 0.3s;
}

.btn-modern-link i {
    transition: transform 0.3s;
}

.btn-modern-link:hover i {
    transform: translateX(6px);
}

.btn-modern-link.text-green {
    color: var(--primary);
}

.btn-modern-link.text-green:hover {
    color: var(--primary-dark);
}

.btn-modern-link.text-orange {
    color: var(--secondary);
}

.btn-modern-link.text-orange:hover {
    color: var(--secondary-dark);
}

/* ==========================================================================
   Product Showroom & Calculator
   ========================================================================== */

.tab-headers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.tab-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.25);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

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

.product-showcase-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
    background-color: var(--bg-light);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.product-img {
    background-color: var(--bg-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.product-info h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-info p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.prod-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
}

.spec-row span {
    color: var(--text-muted);
}

.spec-row strong {
    color: var(--text-dark);
}

.prod-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.prod-benefits ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.prod-benefits ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* NPK Cards style (Organomineral) */
.npk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.npk-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.npk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.npk-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.npk-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.npk-nums {
    display: flex;
    gap: 4px;
}

.npk-nums span {
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.npk-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.npk-card-body ul li {
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.npk-card-body ul li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* SÜTAŞ Fertilizer Recommendation Calculator Widget (Split Full-Width) */
.calculator-split-section {
    padding: 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.calc-split-container {
    display: grid;
    grid-template-columns: 34% 66%;
    min-height: 650px;
    width: 100%;
}

/* Left Side: Background Image Banner */
.calc-split-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.calc-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 114, 69, 0.65) 0%, rgba(6, 81, 49, 0.8) 100%);
}

.calc-image-badge {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 16px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.calc-image-badge i {
    font-size: 1.4rem;
    color: var(--secondary);
}

.calc-image-badge span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

/* Right Side: Content Area (Freed from container/borders) */
.calc-split-content {
    padding: 80px 80px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-white);
}

.calc-header {
    margin-bottom: 40px;
}

.calc-sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.calc-header h3 {
    color: var(--text-dark);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 750px;
}

.calc-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.form-group select, .form-group input, .form-group textarea {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group select:focus, .form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    outline: none;
    box-shadow: 0 0 10px rgba(9, 114, 69, 0.08);
}

.form-group select option {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

/* Calculator Output display panel */
.calc-output {
    background-color: rgba(9, 114, 69, 0.02);
    border: 1px solid rgba(9, 114, 69, 0.1);
    border-radius: var(--radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: 380px;
}

.output-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.output-placeholder i {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: rgba(9, 114, 69, 0.2);
}

.output-placeholder p {
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
    line-height: 1.6;
}

.output-real {
    animation: fadeIn 0.4s ease;
}

.recommended-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(9, 114, 69, 0.12);
}

.output-real h4 {
    color: var(--text-dark);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.output-real h4 span {
    color: var(--primary);
}

.rec-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-tag {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.rec-desc {
    background-color: var(--bg-white);
    border-left: 3px solid var(--primary);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.rec-application-guide {
    background-color: var(--bg-white);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.rec-application-guide h5 {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.rec-application-guide h5 i {
    color: var(--secondary);
}

.rec-application-guide p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Premium Form Select Custom dropdown styling */
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    height: 52px; /* Fixed height for absolute vertical centering across browsers */
    padding: 0 48px 0 18px; /* Zero vertical padding lets browser auto-center text */
    line-height: normal;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' 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 18px center;
    background-size: 16px;
    width: 100%;
}

.form-select:hover {
    border-color: rgba(9, 114, 69, 0.25);
    background-color: rgba(9, 114, 69, 0.01);
}

.form-select:focus {
    border-color: var(--primary);
    background-color: var(--bg-white);
    outline: none;
    box-shadow: 0 0 15px rgba(9, 114, 69, 0.08);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23097245' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-select option {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 10px;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Sustainability Section
   ========================================================================== */

.sustainability-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.sustain-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.sustain-badges {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.sustain-badge-item:nth-child(2) .sb-icon {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.sb-text strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.sb-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.visual-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.visual-card h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.visual-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border-light);
}

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

.visual-stat-row .stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.visual-stat-row .stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.visual-stat-row:nth-child(2) .stat-number {
    color: var(--secondary);
}

.visual-stat-row .stat-unit-suffix {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Documents & News Section
   ========================================================================== */

.docs-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
}

.docs-col {
    position: relative;
}

/* Vertical divider line on desktop between News and Documents */
.docs-grid > .docs-col:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    padding-right: 80px;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 1.25rem;
}

.panel-title i {
    color: var(--primary);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Flat, editorial news cards */
.news-item-card {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    padding: 20px 0 30px 0;
    transition: var(--transition);
}

.news-item-card:first-child {
    padding-top: 0;
}

.news-item-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.news-date i {
    font-size: 0.85rem;
    color: var(--primary);
}

.news-item-card h4 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.news-item-card:hover h4 {
    color: var(--primary);
}

.news-item-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.text-link {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.text-link i {
    transition: transform 0.3s;
}

.news-item-card:hover .text-link i {
    transform: translateX(5px);
}

.download-links-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Polished resource download cards */
.download-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.download-card:hover {
    border-color: rgba(9, 114, 69, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* File Icon Box */
.dc-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    flex-shrink: 0;
}

/* PDF file custom branding */
.download-card.pdf-type .dc-icon {
    background-color: #FEF2F2; /* Soft red */
    color: #EF4444; /* PDF Red */
}

.download-card.pdf-type:hover .dc-icon {
    background-color: #EF4444;
    color: var(--bg-white);
}

/* Web links/redirects custom branding */
.download-card.link-type .dc-icon {
    background-color: var(--primary-light);
    color: var(--primary);
}

.download-card.link-type:hover .dc-icon {
    background-color: var(--primary);
    color: var(--bg-white);
}

.dc-info {
    flex-grow: 1;
}

.dc-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
}

.dc-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Download button */
.dc-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.download-card:hover .dc-btn {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(9, 114, 69, 0.15);
}

.download-card.pdf-type:hover .dc-btn {
    background-color: #EF4444;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.15);
}

.download-card.link-type:hover .dc-btn {
    background-color: var(--primary);
}

/* ==========================================================================
   Careers Section
   ========================================================================== */

.careers-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.careers-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.careers-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cb-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.careers-form-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.careers-form-box h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.careers-form-box .form-group, .contact-section .form-group {
    margin-bottom: 20px;
}

.careers-form-box .form-group label, .contact-section .form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: block;
}

.careers-form-box input, .careers-form-box select, .careers-form-box textarea,
.contact-section input, .contact-section select, .contact-section textarea {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.careers-form-box input:focus, .careers-form-box select:focus, .careers-form-box textarea:focus,
.contact-section input:focus, .contact-section select:focus, .contact-section textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.1);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.contact-form-side h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-form-side p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.ii-icon {
    font-size: 1.2rem;
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ii-text strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ii-text span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.mock-map {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.map-placeholder i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.map-placeholder h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 5px;
}

.map-placeholder span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

/* ==========================================================================
   Footer Style
   ========================================================================== */

.main-footer {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0 0 0;
    border-top: 1px solid var(--border-green);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 3px;
}

.brand-info .footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.brand-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(9, 114, 69, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--bg-white);
    padding: 25px 0;
    border-top: 1px solid var(--border-green);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.fb-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fb-links {
    display: flex;
    gap: 20px;
}

.fb-links a {
    color: var(--text-muted);
}

.fb-links a:hover {
    color: var(--primary);
}

/* ==========================================================================
   Modals (Popup Drawers) for Interactive Sitemap Pages
   ========================================================================== */

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 114, 69, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition);
}

.modal-wrapper.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.modal-wrapper.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    z-index: 10;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close-modal:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

.modal-body p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-body p strong {
    color: var(--text-dark);
}

/* Modal Inner Components */
.modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0 10px 0;
    text-align: center;
}

.ms-item {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.ms-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.ms-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.vm-block {
    padding: 20px 0;
}

.vm-block h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.border-top {
    border-top: 1px solid var(--border-light);
}

/* Timeline inside modal */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 7px;
    width: 2px;
    height: 95%;
    background-color: var(--border-light);
}

.tl-item {
    position: relative;
    margin-bottom: 25px;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-date {
    position: absolute;
    left: -30px;
    top: 3px;
    background-color: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
}

.tl-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    padding-left: 20px;
}

.tl-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    padding-left: 20px;
}

.model-flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin: 25px 0;
    gap: 10px;
}

.mfd-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.mfd-node i {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.mfd-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.policy-links li, .bullet-list li {
    margin-bottom: 12px;
}

.policy-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 10px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
}

.policy-links li a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.bullet-list li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Info Tables inside modal */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.9rem;
}

.info-table th, .info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.info-table th {
    font-weight: 700;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.info-table td a {
    color: var(--primary);
    font-weight: 600;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.cert-item {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.cert-item i {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cert-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cert-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.report-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.report-download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.report-download-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.report-download-item i {
    margin-right: 5px;
}

.apply-box {
    margin-top: 30px;
    border-top: 1px dashed var(--border-light);
    padding-top: 25px;
}

.apply-box h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Responsive Media Queries (Responsive design optimization)
   ========================================================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .loop-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .loop-info-panel {
        height: auto;
        min-height: auto;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .product-showcase-grid {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    
    .npk-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-split-container {
        grid-template-columns: 1fr;
    }

    .calc-split-image {
        min-height: 300px;
    }

    .calc-split-content {
        padding: 60px 40px;
    }

    .calc-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calc-output {
        min-height: auto;
    }
    
    .sustainability-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .docs-grid > .docs-col:first-child {
        border-right: none;
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .careers-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .calc-split-content {
        padding: 40px 24px;
    }
    
    .top-bar {
        display: none;
    }
    
    .hero-section {
        padding: 100px 0 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .loop-graphic-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .loop-node {
        width: 50px;
        height: 50px;
    }
    
    .node-label {
        font-size: 0.75rem;
    }
    
    .node-2 .node-label { left: -145px; width: 130px; }
    .node-4 .node-label { right: -145px; width: 130px; }
    
    .loop-svg circle {
        r: 110px;
    }
    
    .tab-headers {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        text-align: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .fb-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Drawer CSS Navigation Panel */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 1500;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.drawer-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 20px;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 114, 69, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Drawer Items */
.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border-light);
}

.mobile-submenu {
    display: none;
    padding-left: 15px;
    margin-top: 10px;
}

.mobile-submenu li a {
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

.mobile-nav-item.open .mobile-submenu {
    display: block;
}

.mobile-nav-item.open .mobile-nav-toggle i {
    transform: rotate(180deg);
}

.mobile-nav-item-direct a {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Page Subheaders & Breadcrumbs (Multi-Page additions)
   ========================================================================== */

.page-header {
    padding: 80px 0 55px 0;
    background: var(--bg-light);
    color: var(--text-dark);
    position: relative;
    border-bottom: 2px solid var(--primary);
}

.page-header h1 {
    font-size: 2.6rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--primary);
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.breadcrumbs span {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumbs i {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Scroll-to-Top Button with Progress Indicator */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s;
}

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

.scroll-to-top:hover {
    background-color: var(--bg-light);
    transform: scale(1.05);
}

.progress-circle {
    position: absolute;
    top: 1px;
    left: 1px;
    transform: rotate(-90deg); /* Rotate to start progress from the top */
    width: 48px;
    height: 48px;
}

.progress-circle-bar {
    transition: stroke-dashoffset 0.1s linear;
    stroke-linecap: round;
}

.scroll-icon {
    font-size: 1rem;
    color: var(--primary);
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}

.scroll-to-top:hover .scroll-icon {
    transform: translateY(-3px);
    color: var(--primary-dark);
}

/* Premium Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Stagger transition delay helpers for grid items */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   Home Page: ENFAŞ Hakkında Editorial Section Styling
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative architectural background lines */
.decor-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
    padding: 0 40px;
}

.decor-grid-lines span {
    width: 1px;
    height: 100%;
    background-color: rgba(9, 114, 69, 0.04);
}

.about-container-editorial {
    position: relative;
    z-index: 2;
}

/* Giant background typography */
.bg-giant-text {
    position: absolute;
    top: -20px;
    left: 10px;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(9, 114, 69, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about-editorial-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

/* Left Editorial Typography Column */
.about-editorial-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.editorial-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.editorial-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.editorial-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.editorial-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    margin-bottom: 40px;
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

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

.pillar-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.pillar-txt strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.pillar-txt span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
}

.editorial-cta {
    margin-top: 10px;
}

.link-arrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.link-arrow i {
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--primary-dark);
}

.link-arrow:hover i {
    transform: translateX(6px);
}

/* Right Editorial Dashboard Showcase */
/* ==========================================================================
   Premium Facilities Tabbed Showcase
   ========================================================================== */
.facility-showcase {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. Sleek Navigation Tabs */
.showcase-tabs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    background: var(--primary-light);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid var(--border-green);
}

.showcase-tab {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 10px 12px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.showcase-tab .tab-dot {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0.4;
    transition: var(--transition);
}

.showcase-tab:hover {
    color: var(--primary);
    background: rgba(9, 114, 69, 0.05);
}

.showcase-tab.active {
    background-color: var(--primary);
    color: white;
}

.showcase-tab.active .tab-dot {
    opacity: 1;
    background-color: var(--secondary);
}

/* 2. Slide Container & Card */
.showcase-content {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.showcase-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    pointer-events: none;
}

.showcase-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Slide Image */
.slide-image-wrapper {
    position: relative;
    height: 250px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-slide.active .slide-image-wrapper img {
    transform: scale(1.05);
}

.slide-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(6, 81, 49, 0.4) 100%);
}

/* Slide Info Card */
.slide-details {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.slide-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-badge.bg-gold {
    background-color: var(--secondary-light);
    color: var(--secondary-dark);
}

.slide-badge.bg-green {
    background-color: var(--primary-light);
    color: var(--primary-dark);
}

.slide-badge.bg-orange {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--secondary-dark);
}

.slide-details h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.slide-details p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Metric Stats Row */
.slide-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
    border-top: 1px solid var(--border-light);
    padding-top: 15px;
}

.slide-metric {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slide-metric i {
    font-size: 1.1rem;
    color: var(--primary);
}

.metric-text {
    display: flex;
    flex-direction: column;
}

.metric-text strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.metric-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Control Center Adjustments */
@media (max-width: 1024px) {
    .showcase-content {
        min-height: auto;
    }
    .showcase-slide {
        position: relative;
        display: none;
    }
    .showcase-slide.active {
        display: flex;
    }
}

@media (max-width: 576px) {
    .showcase-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 12px;
        padding: 4px;
        gap: 4px;
    }
    .showcase-tab {
        border-radius: 8px;
    }
    .slide-metrics {
        grid-template-columns: 1fr;
    }
}



/* Responsive Editorial Adjustments */
@media (max-width: 1024px) {
    .about-editorial-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .editorial-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .editorial-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dash-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

/* ==========================================================================
   Premium Accordion FAQ Styling
   ========================================================================== */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 45px;
}

.accordion-item {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 4px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.015);
}

.accordion-item:hover {
    border-color: rgba(9, 114, 69, 0.15);
    border-left-color: rgba(9, 114, 69, 0.3);
    box-shadow: 0 12px 35px rgba(9, 114, 69, 0.03);
    transform: translateY(-1px);
}

.accordion-item.active {
    border-color: rgba(9, 114, 69, 0.15);
    border-left-color: var(--primary);
    box-shadow: 0 20px 45px rgba(9, 114, 69, 0.06);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.35; /* Normalizes single-line container bounds */
}

.accordion-item.active .accordion-header {
    color: var(--primary);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 20px;
    line-height: 1.35;
}

.accordion-header span i {
    font-size: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    top: -1px; /* Align icon center with Nunito text baseline cap-height */
}

.accordion-item.active .accordion-header span i {
    transform: scale(1.1);
}

/* Styled arrow button container */
.acc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border: 1px solid rgba(9, 114, 69, 0.05);
}

.accordion-item:hover .acc-icon {
    background-color: var(--primary-light);
}

.accordion-item.active .acc-icon {
    transform: rotate(180deg);
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: 0 5px 15px rgba(9, 114, 69, 0.2);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px; /* Horizontal padding only */
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 16px; /* Clean, generous gap between question and answer */
    padding-bottom: 26px; /* Clean gap at the bottom of the card */
}

/* Responsive Documents Grid */
@media (max-width: 768px) {
    .docs-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}





