/* =========================================
   HERO BANNER SECTION
   ========================================= */
.hero-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/Banner2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0; 
}

/* =========================================
   HOME PAGE: INTRO & BODY SECTIONS
   ========================================= */
.home-intro {
    padding: 80px 0;
}

.home-body {
    padding: 100px 0;
    background: var(--section-white-bg);
    transition: background-color 0.3s ease;
}

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

/* Content Text Formatting */
.content-text h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content-text .lead-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Feature List Formatting */
.feature-item {
    margin-bottom: 15px;
}

.feature-item strong {
    color: var(--primary-green);
}

.feature-item p {
    color: var(--text-secondary);
}

/* Vision Box Formatting */
.vision-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border-left: 10px solid var(--primary-green);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.vision-box h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.vision-box ul {
    list-style: none;
}

.vision-box li {
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-secondary);
}

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

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================
   PROCESS DIAGRAM SECTION
   ========================================= */
.process-diagram {
    padding: 80px 0; 
    background-color: var(--section-diagram-bg); 
    text-align: center;
    transition: background-color 0.3s ease;
}

.process-diagram h2 {
    color: var(--primary-green); 
    font-size: 2.5rem; 
    margin-bottom: 40px;
}

.process-img {
    max-width: 100%; 
    height: auto; 
    border-radius: 15px; 
    transform: scale(1.05); 
    -webkit-user-drag: none; 
    user-select: none; 
    pointer-events: none; 
}

/* --- DUAL IMAGE VISIBILITY SWITCHES --- */
.dark-diagram { display: none !important; }
.light-diagram { display: inline-block; mix-blend-mode: multiply; }

body.dark-theme .light-diagram { display: none !important; }
body.dark-theme .dark-diagram {
    display: inline-block !important;
    mix-blend-mode: normal; 
    filter: brightness(0.95) contrast(1.05);
}

.image-protect-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.transparent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    -webkit-touch-callout: none;
}

/* ==========================================================================
   MINIMALIST FLOATING ACTION BUTTON (Light/Dark Switcher)
   ========================================================================== */
.theme-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* Premium Dark Mode state adjustments for the button container */
body.dark-theme .theme-toggle-btn {
    background-color: #1e2b30;
    color: #81C784; /* Beautiful nature-green tint color for the active dark icon */
    border-color: rgba(129, 199, 132, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hover Physics Spring Micro-Animations */
.theme-toggle-btn:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-3px) scale(1.05) rotate(15deg);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.35);
}

body.dark-theme .theme-toggle-btn:hover {
    background-color: #25353a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* =========================================
   FULL RESPONSIVENESS REFINEMENTS
   ========================================= */
@media (max-width: 768px) {
    .theme-toggle-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
    }

    .hero-banner {
        background: none !important; 
        clip-path: inset(0 0 0 0); 
        position: relative;
        min-height: 60vh;
    }
    .hero-banner::before {
        content: "";
        position: fixed;
        top: 0; left: 0; width: 100%; height: 70vh; 
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/Banner2.jpg');
        background-size: cover;
        background-position: center top; 
        z-index: -1;
        pointer-events: none;
    }
    .hero-content h1 { font-size: 2.2rem; padding: 0 20px; }
    .home-intro, .home-body, .process-diagram { padding: 60px 0; }
    .content-text h2, .process-diagram h2 { font-size: 1.8rem; }
    .process-img { transform: scale(1.02); width: 95%; }
}
