/* ==========================================================================
   DESIGN SYSTEM & SYSTEM-WIDE STYLES - CEMARA PURNAMA PRODUCTION
   ========================================================================== */

/* Google Fonts Imports are handled in index.html */

:root {
    /* Color Palette */
    --bg-dark: #050d1a;
    --bg-deep: #081528;
    --bg-card: rgba(10, 25, 47, 0.6);
    --bg-card-hover: rgba(16, 37, 66, 0.85);
    
    --primary: #10b981;        /* Emerald Green (Cemara) */
    --primary-hover: #059669;
    --primary-rgb: 16, 185, 129;
    
    --secondary: #e5c158;      /* Warm Gold (Purnama) */
    --secondary-hover: #d4af37;
    --secondary-rgb: 229, 193, 88;
    
    --accent-blue: #3b82f6;     /* Digital system representation */
    --accent-blue-rgb: 59, 130, 246;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    /* UI Details */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(16, 185, 129, 0.4);
    --glass-blur: backdrop-filter: blur(16px) saturate(180%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.1);
    
    /* Fonts & Typography */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.6);
}

/* Selection highlight */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: var(--text-white);
}

/* ThreeJS Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Custom cursor (Subtle micro-interaction, hidden on mobile) */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

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

.text-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

/* Tags & Titles */
.section-tag {
    font-family: var(--font-title);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: var(--primary);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--text-white) 30%, var(--primary) 70%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
    color: var(--text-white);
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

/* Sliding metallic reflection highlight on buttons for premium feel */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Glowing high-tech grids on sections */
.services-section, .about-section, .portfolio-section, .contact-section {
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.015) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(229, 193, 88, 0.015) 0%, transparent 40%);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(16, 185, 129, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Badges */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 193, 88, 0.1);
    border: 1px solid rgba(229, 193, 88, 0.2);
    color: var(--secondary);
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.icon-small {
    width: 14px;
    height: 14px;
}

.icon-inline {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* Scroll Trigger Animations class templates */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-normal);
}

.navbar-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 42px;
    width: auto;
    border-radius: 4px;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.2));
}

.brand-text {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
}

.brand-text small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    padding: 180px 24px 100px 24px;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating status cards in Hero */
.hero-stats-card {
    position: absolute;
    top: 15%;
    right: 5%;
    padding: 16px 20px;
    width: 260px;
    border-radius: 12px;
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--primary);
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.system-status {
    display: flex;
    flex-direction: column;
}

.status-title {
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
}

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

.hero-floating-card {
    position: absolute;
    bottom: 15%;
    left: -5%;
    padding: 16px 20px;
    width: 280px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-radius: 12px;
}

.card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-icon-wrapper.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.card-info h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.card-info p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

/* Scroll indicator animation */
.scroll-indicator-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator {
    display: block;
    width: 28px;
    height: 48px;
    border: 2px solid var(--text-muted);
    border-radius: 30px;
    position: relative;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
    border-color: var(--primary);
}

.mouse-wheel {
    display: block;
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite;
}

@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    50% { opacity: 1; }
    100% { top: 28px; opacity: 0; }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */

.stats-bar {
    background: rgba(8, 21, 40, 0.6);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-plus {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about-section {
    position: relative;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 25, 47, 0.7);
}

.about-logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.15));
}

.glowing-mesh {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(229, 193, 88, 0.05) 50%, transparent 100%);
    z-index: -1;
    animation: rotate-mesh 20s linear infinite;
}

@keyframes rotate-mesh {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.badge-years {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(229, 193, 88, 0.95);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(229, 193, 88, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

.years-num {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.years-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-desc strong {
    color: var(--text-white);
}

/* Vision Mission Tabs */
.vision-mission-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-white);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    width: 100%;
}

.tabs-content {
    min-height: 110px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

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

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

.tab-pane ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-pane ul li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.tab-pane ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.value-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px 8px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.value-item:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.value-item i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.value-item span {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.8rem;
}

.service-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.service-icon.gold {
    background: rgba(229, 193, 88, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(229, 193, 88, 0.2);
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.service-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.check-icon {
    color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE 3D ECOSYSTEM / SIMULATION SECTION
   ========================================================================== */

.ecosystem-section {
    background: radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.ecosystem-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.eco-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-light);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    backdrop-filter: blur(8px);
}

.eco-btn i {
    width: 22px;
    height: 22px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.eco-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.eco-btn.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.eco-btn.active i {
    color: var(--primary);
}

/* Eco Details Display Card */
.eco-details-card {
    padding: 24px;
    background: rgba(5, 13, 26, 0.7);
    border-radius: 12px;
}

.eco-details-card h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 10px;
}

.eco-details-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.eco-flow-stats {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

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

.stat-mini .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-mini .value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
}

.text-green { color: var(--primary); }
.text-gold { color: var(--secondary); }

/* Interactive 3D Canvas container wrapper */
.ecosystem-visual-container {
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-canvas-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(8, 21, 40, 0.8) 0%, rgba(4, 10, 20, 0.9) 100%);
    box-shadow: var(--shadow-lg);
}

#eco-3d-canvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
}

#eco-3d-canvas:active {
    cursor: grabbing;
}

.canvas-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 13, 26, 0.75);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.canvas-instructions i {
    width: 12px;
    height: 12px;
}

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 10px 22px;
    color: var(--text-light);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--text-white);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-lg);
}

.project-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0b182b;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 26, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 5;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.project-link-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-hover);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Simulated Web Mockups via CSS */
.project-img-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 24px;
    display: flex;
    align-items: flex-end;
}

.mockup-ui {
    width: 100%;
    height: 90%;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.ui-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    margin-right: 4px;
}
.ui-dot:nth-child(2) { background: #eab308; }
.ui-dot:nth-child(3) { background: #22c55e; }

.mockup-content {
    flex-grow: 1;
    margin-top: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.05);
    display: flex;
    overflow: hidden;
    padding: 6px;
    gap: 6px;
}

/* Project Image Styling */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-img {
    transform: scale(1.06);
}

/* Project description card content */
.project-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.project-info h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT US SECTION
   ========================================================================== */

.contact-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    width: 22px;
    height: 22px;
}

.contact-text h4 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-text a:hover {
    color: var(--primary);
}

/* Map visual placeholder */
.map-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    background: #0f1d30;
}

.map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: 20px 20px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.map-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: radial-gradient(circle, transparent 20%, rgba(5, 13, 26, 0.5) 80%);
}

.map-pin-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.6));
    animation: bounce 2s infinite ease-in-out;
}

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

.map-overlay span {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Glassmorphic Contact Form */
.form-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(10, 25, 47, 0.5);
    position: relative;
    overflow: hidden;
}

.form-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity 0.3s ease;
}

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

.form-group label {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

/* textarea doesn't need icon margin inside wrapper optionally, but we format similarly */
.input-wrapper textarea {
    padding-left: 16px; /* Textareas do not use icons typically */
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.02);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon {
    color: var(--primary);
}

/* Custom styling for select option dropdowns */
.input-wrapper select option {
    background-color: var(--bg-deep);
    color: var(--text-white);
}

/* Success State Screen inside form card */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    animation: scaleUp 0.4s ease-in-out;
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon-circle i {
    width: 40px;
    height: 40px;
}

.form-success-state h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.form-success-state p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 320px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: #030a14;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 30px 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    height: 46px;
    width: auto;
    align-self: flex-start;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.social-links a i {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 4px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
}

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

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

.footer-bottom-links span {
    color: var(--border-color);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-2 {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
    }
    
    .footer-grid > div:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    /* Navbar Navigation */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 13, 26, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        transition: left 0.4s ease-in-out;
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .nav-cta {
        display: none; /* Hide top CTA on mobile, keep menu focused */
    }
    
    /* Hero layout */
    .hero-section {
        padding-top: 140px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .hero-stats-card {
        top: 5%;
        right: 0%;
        width: 220px;
    }
    
    .hero-floating-card {
        bottom: 5%;
        left: 0%;
        width: 240px;
    }
    
    /* General Grid to single column */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .about-visual {
        order: 2; /* Move image below info on mobile */
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ecosystem-visual-container {
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid > div:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats-card, 
    .hero-floating-card {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .hero-visual {
        height: auto;
        flex-direction: column;
        margin-top: 30px;
    }
    
    .about-image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .eco-flow-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid > div:last-child {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   DEMO MODAL DIALOG STYLING
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 10, 20, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 580px;
    background: rgba(10, 25, 47, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(16, 185, 129, 0.08);
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.open .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.25);
}

.modal-close-btn i {
    width: 18px;
    height: 18px;
}

.modal-header {
    margin-bottom: 30px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.modal-badge i {
    width: 12px;
    height: 12px;
}

.modal-header h3 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.modal-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-option-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.modal-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    opacity: 0;
    transition: var(--transition-fast);
}

.wa-option::before { background: #22c55e; }
.email-option::before { background: var(--secondary); }

.modal-option-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-4px);
}

.modal-option-card:hover::before {
    opacity: 1;
}

.wa-option:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.1);
}

.email-option:hover {
    border-color: rgba(229, 193, 88, 0.3);
    box-shadow: 0 10px 25px -5px rgba(229, 193, 88, 0.1);
}

.option-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.wa-option .option-icon-wrapper {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.email-option .option-icon-wrapper {
    background: rgba(229, 193, 88, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(229, 193, 88, 0.2);
}

.wa-option:hover .option-icon-wrapper {
    background: #22c55e;
    color: var(--text-white);
}

.email-option:hover .option-icon-wrapper {
    background: var(--secondary);
    color: var(--text-dark);
}

.option-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.option-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.option-details h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.option-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 24px;
    flex-grow: 1;
}

.option-action-text {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.wa-option .option-action-text { color: #22c55e; }
.email-option .option-action-text { color: var(--secondary); }

.modal-option-card:hover .option-action-text {
    gap: 10px;
}

/* Modal responsiveness */
@media (max-width: 576px) {
    .modal-container {
        padding: 24px;
    }
    
    .modal-options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .option-icon-wrapper {
        margin-bottom: 12px;
    }
}

/* ==========================================================================
   COOPERATION SCHEMES STYLING
   ========================================================================== */
.cooperation-section {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-deep);
}

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

.cooperation-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
}

.cooperation-card.gold-border:hover {
    border-color: rgba(229, 193, 88, 0.45);
    box-shadow: 0 15px 35px rgba(229, 193, 88, 0.1);
}

.cooperation-card.green-border:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.1);
}

.coop-badge {
    align-self: flex-start;
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coop-badge.gold {
    background: rgba(229, 193, 88, 0.1);
    border: 1px solid rgba(229, 193, 88, 0.2);
    color: var(--secondary);
}

.coop-badge.green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
}

.cooperation-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 12px;
}

.coop-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.coop-price-label {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.coop-price-label .price-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.coop-price-label .price-val {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.coop-price-label .price-val small {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.coop-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.coop-features li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.4;
}

.coop-features li i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.coop-features li i.icon-green {
    color: var(--primary);
}

.cooperation-card.gold-border .coop-features li i {
    color: var(--secondary);
}

.cooperation-card.green-border .coop-features li i {
    color: var(--primary);
}

/* Cooperation responsiveness */
@media (max-width: 992px) {
    .cooperation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Smartphone Responsive Adjustments */
@media (max-width: 768px) {
    .custom-cursor, .custom-cursor-dot {
        display: none !important;
    }
    .section-container {
        padding: 60px 16px;
    }
    .navbar-header {
        padding: 16px 0;
    }
    .navbar-header.scrolled {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .brand-text {
        font-size: 0.95rem;
    }
    .brand-text small {
        font-size: 0.7rem;
    }
    .nav-logo {
        height: 34px;
    }
    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cooperation-card {
        padding: 24px 16px;
    }
    .coop-features {
        margin-bottom: 24px;
    }
}

@media (max-width: 360px) {
    .brand-text {
        display: none; /* Hide brand text on ultra-narrow screens to keep menu toggle aligned */
    }
}


/* ==========================================================================
   10. DIGITAL PINE TREE & CHATBOT STYLES
   ========================================================================== */

/* Digital Tree Card Styling */
.digital-tree-card {
    padding: 30px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: tree-float 6s ease-in-out infinite;
}

.tree-glow-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.digital-tree-svg {
    width: 100%;
    max-width: 220px;
    height: auto;
    z-index: 2;
}

.tree-badge {
    position: absolute;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: var(--font-title);
    z-index: 2;
}

@keyframes tree-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating Chatbot Widget */
.chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
}

/* Toggle Float Button */
.chat-float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
    position: relative;
}

.chat-float-btn:hover {
    transform: scale(1.05);
    background: #0d9488;
}

.chat-float-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.chat-float-btn .chat-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(10, 25, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-title);
    color: var(--text-white);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.chat-float-btn:hover .chat-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Chat Window Dialog */
.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 310px;
    height: 400px;
    background: rgba(10, 25, 20, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
}

.chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.chat-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-avatar i {
    width: 20px;
    height: 20px;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #0a1914;
}

.chat-details h4 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.chat-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Chat Messages */
.chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

/* Customize message log scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.message {
    display: flex;
    max-width: 85%;
}

.message.incoming {
    align-self: flex-start;
}

.message.outgoing {
    align-self: flex-end;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--text-light);
}

.message.incoming .msg-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 4px;
}

.message.outgoing .msg-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
    color: var(--text-white);
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.msg-bubble p {
    margin: 0;
}

.msg-bubble ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
}

.msg-bubble li {
    margin-bottom: 4px;
}

/* Typing Indicator */
.chat-typing-indicator {
    padding: 10px 16px;
    display: flex;
    gap: 4px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    margin-left: 16px;
    margin-bottom: 12px;
}

.chat-typing-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: bounce 1.4s infinite ease-in-out both;
}

.chat-typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chat Input Form */
.chat-input-form {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-form input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 10px 16px;
    color: var(--text-white);
    font-size: 0.88rem;
    transition: var(--transition-fast);
}

.chat-input-form input:focus {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chat-send-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.05);
}

.chat-send-btn i {
    width: 16px;
    height: 16px;
}

/* Chatbot responsiveness */
@media (max-width: 576px) {
    .chatbot-wrapper {
        bottom: 16px;
        right: 16px;
    }
    .chat-window {
        width: 260px;
        height: 330px;
        bottom: 60px;
    }
    .chat-float-btn {
        width: 44px;
        height: 44px;
        box-shadow: 0 3px 12px rgba(16, 185, 129, 0.2);
    }
    .chat-float-btn i {
        width: 18px;
        height: 18px;
    }
    .chat-float-btn .chat-tooltip {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}
