/* assets/css/style.css - GlobalIS Aesthetic Redesign */
:root {
    /* EcoQuality Colors inserted into GlobalIS structure */
    --primary: #82b440;
    --primary-hover: #6a9533;
    --secondary: #006064;
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --bg-soft-green: #eef5e5;
    /* Very light primary for backgrounds */

    --text-dark: #111827;
    --text-body: #4b5563;
    --text-light: #9ca3af;

    --header-height: 90px;
    --transition: all 0.35s ease;

    /* GlobalIS signature organic shapes */
    --blob-radius-1: 60% 40% 30% 70% / 60% 30% 70% 40%;
    --blob-radius-2: 30% 70% 70% 30% / 30% 30% 70% 70%;
    --blob-radius-3: 50% 50% 20% 80% / 25% 80% 20% 75%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ---------------------------------
   Buttons & Links
--------------------------------- */
.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(130, 180, 64, 0.2);
}

.btn-solid {
    background: var(--primary);
    color: #fff;
}

.btn-solid:hover {
    background: transparent;
    color: var(--primary);
}

.btn-cta {
    display: inline-block;
    padding: 16px 35px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(130, 180, 64, 0.25);
}

.btn-cta:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 96, 100, 0.3);
}

/* ---------------------------------
   Header & Navigation
--------------------------------- */
header {
    height: var(--header-height);
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

/* Scrolled Header (Opak, blurlu beyaz) */
header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 75px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Initially white logo, on scroll original colors */
.logo img {
    height: 55px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
    /* Make it pure white */
}

header.scrolled .logo img {
    height: 45px;
    filter: none;
    /* Original color */
}

.nav-right-area {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-root {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-root > .nav-item {
    list-style: none;
}

.nav-caret {
    font-size: 12px;
    margin-left: 6px;
}

.nav-item {
    position: relative;
    padding: 35px 0;
}

/* Initially white links */
.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    position: relative;
    text-transform: capitalize;
}

header.scrolled .nav-link {
    color: var(--text-dark);
}

/* Green underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

/* Dropdown styling */
.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: #fff;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 8px 8px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.nav-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    margin: 0;
    list-style: none;
}

.dropdown .nav-item {
    padding: 0;
}

.dropdown .nav-link {
    display: block;
    padding: 12px 30px;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    position: relative;
}

.dropdown .nav-link:hover {
    color: var(--primary);
    padding-left: 35px;
    /* Slight slide right on hover */
    background: var(--bg-soft-green);
}

/* 2nd+ level flyout (desktop) */
.dropdown .dropdown {
    top: 0;
    left: calc(100% - 10px);
    border-radius: 8px;
    transform: translateX(10px);
}

.dropdown .nav-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-item.has-children > .nav-link {
    padding-right: 44px;
}

.nav-item.has-children > .nav-link .nav-caret {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Tool area (Phone, Lang) */
.header-tools {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Initially white phone */
.header-phone {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

header.scrolled .header-phone {
    color: var(--primary);
}

/* Button override for header */
header .btn-primary {
    border-color: #fff;
    color: #fff;
    padding: 10px 24px;
}

header .btn-primary:hover {
    background: #fff;
    color: var(--text-dark);
}

header.scrolled .btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

header.scrolled .btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

/* ---------------------------------
   Inner Page Header Overrides
--------------------------------- */
.page-inner {
    padding-top: var(--header-height);
}

.page-inner header:not(.scrolled) {
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.page-inner header:not(.scrolled) .logo img {
    height: 45px;
    filter: none; /* Logo original colors */
}

.page-inner header:not(.scrolled) .nav-link {
    color: var(--text-dark);
}

.page-inner header:not(.scrolled) .header-phone {
    color: var(--primary);
}

.page-inner header:not(.scrolled) .btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.page-inner header:not(.scrolled) .btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

/* ---------------------------------
   Hero Section
--------------------------------- */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

/* Subtle dark overlay for image readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.6) 100%);
}

/* New Raw Hero Text (Pagedone style) */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 80px;
}

.hero-raw-content {
    max-width: 800px;
    /* Animate on active slide */
    transform: translateY(40px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 1.2s ease 0.3s;
}

.slide.active .hero-raw-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-raw-content h1 {
    font-size: 4.5rem;
    font-weight: 500;
    /* As requested, thinner clean font */
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-raw-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 550px;
}

/* Hero Stats & Actions */
.hero-stats-actions {
    margin-top: 40px;
    animation: fadeIn 1.5s ease 0.6s both;
}

.hero-action-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
}

.hero-btn-contact {
    background: #e5e5e5;
    color: #111;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 8px 8px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.hero-btn-contact:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.hero-play-icon {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: var(--transition);
}

.hero-btn-contact:hover .hero-play-icon {
    background: #000;
}

.hero-btn-learn {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hero-btn-learn:hover {
    color: #ddd;
}

.hero-stats-row {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.hero-stat-box {
    position: relative;
    padding-left: 20px;
}

.hero-stat-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-stat-box .stat-number {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-stat-box .stat-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .hero-stats-row {
        display: none;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .hero-btn-contact, .hero-btn-learn {
        width: 100%;
        justify-content: center;
    }
    
    .hero {
        padding-top: var(--header-height);
        height: auto;
        min-height: 100vh;
    }

    .hero-raw-content {
        text-align: center;
        padding: 40px 0;
    }

    .hero-raw-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 20px;
    }

    .hero-raw-content p {
        font-size: 1rem;
    }
}

/* Bottom area - just arrows */
.hero-bottom-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 40px;
    z-index: 11;
}

.hero-bottom-grid {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

/* Slider arrows - bottom right */
.slider-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .hero-raw-content h1 {
        font-size: 2.8rem;
    }
}

/* ---------------------------------
   Marquee Band (Outside Hero)
--------------------------------- */
.marquee-band {
    background: var(--text-dark);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.marquee-band::before,
.marquee-band::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-band::before {
    left: 0;
    background: linear-gradient(to right, var(--text-dark), transparent);
}

.marquee-band::after {
    right: 0;
    background: linear-gradient(to left, var(--text-dark), transparent);
}

.marquee-track {
    display: flex;
    gap: 12px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.marquee-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---------------------------------
   Sidebar Services
--------------------------------- */
.sidebar-links a:hover {
    color: var(--primary) !important;
    padding-left: 8px;
}

.marquee-tag i {
    color: var(--primary);
    font-size: 14px;
}

.marquee-tag:hover i {
    color: #fff;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---------------------------------
   Organic Layouts & Sections
--------------------------------- */
section {
    padding: 120px 0;
}

.page-content {
    padding: 100px 0;
    background: #fff;
}

@media (max-width: 576px) {
    .page-content {
        padding: 70px 0;
    }
}

.section-head {
    margin-bottom: 70px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    position: relative;
}

/* Blob Grid */
.organic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
}

.organic-card {
    text-align: center;
    transition: var(--transition);
}

.organic-card:hover {
    transform: translateY(-10px);
}

.blob-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    /* Organic Shape border radius */
    border-radius: var(--blob-radius-1);
    transition: border-radius 0.5s ease-in-out;
    background: var(--bg-soft-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.organic-card:nth-child(even) .blob-wrapper {
    border-radius: var(--blob-radius-2);
}

.organic-card:nth-child(3n) .blob-wrapper {
    border-radius: var(--blob-radius-3);
}

.organic-card:hover .blob-wrapper {
    border-radius: 50%;
    /* Morph on hover */
}

.blob-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.organic-card:hover .blob-wrapper img {
    transform: scale(1.1);
}

/* Fallback if no image */
.blob-wrapper .icon-fallback {
    font-size: 4rem;
    color: var(--primary);
}

.organic-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.organic-card p {
    color: var(--text-body);
    font-size: 15px;
    margin-bottom: 25px;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 3px;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.read-more:hover::after {
    width: 100%;
}

/* 5 Column Grid for Services */
.grid-5-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.service-text-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.service-text-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--primary);
}

.service-text-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-text-card p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 22px;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 14px;
    display: block;
}

.service-card-media i {
    font-size: 34px;
    color: var(--primary);
}

.service-image-card {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 12px 35px rgba(0,0,0,0.04);
    transition: var(--transition);
    position: relative;
}

.service-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.08);
    border-color: rgba(130, 180, 64, 0.35);
}

.service-image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    display: block;
    background: #fff;
}

.service-image-caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-image-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    color: var(--secondary);
    text-align: center;
}

.service-image-fallback i {
    font-size: 34px;
    color: var(--primary);
}

.service-image-fallback span {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 1200px) {
    .grid-5-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-5-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-5-cols {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------
   Eco Bento Grid Section
--------------------------------- */
.eco-bento-section {
    padding: 80px 0;
    background: #ffffff;
}

.eco-approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.eco-approach-tile {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.eco-approach-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.10);
}

.eco-approach-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.eco-approach-tile:hover > img {
    transform: scale(1.07);
}

.eco-approach-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 26px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.45) 70%, rgba(0,0,0,0.25) 100%);
    color: #fff;
}

.eco-approach-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    pointer-events: none;
}

.eco-approach-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.25;
    text-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.eco-approach-overlay p {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    line-height: 1.55;
    text-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* 2 columns by default; collapse on small screens below */

.eco-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.bento-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #f9fafb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    pointer-events: none;
}

.bento-content h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.bento-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.bento-dark-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
}

.bento-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    background: var(--bg-soft-green);
}

.bento-text-box h3 {
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 1.4rem;
}

.bento-text-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Grid Layout Spans */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

/* Responsive constraints */
@media (max-width: 992px) {
    .eco-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }
}
@media (max-width: 576px) {
    .eco-approach-grid {
        grid-template-columns: 1fr;
    }

    .eco-approach-tile {
        border-radius: 18px;
    }

    .eco-approach-overlay {
        padding: 22px 18px;
    }

    .eco-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }
    .bento-large, .bento-wide {
        grid-column: span 1;
    }
}

/* ---------------------------------
   Layout Utility: Right Info Box
--------------------------------- */
.info-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.info-content {
    flex: 1;
}

.info-visual {
    flex: 1;
    position: relative;
}

.info-blob {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--blob-radius-2);
    object-fit: cover;
    box-shadow: -20px 20px 0 var(--bg-soft-green);
}

@media (max-width: 991px) {
    .info-flex {
        flex-direction: column;
        gap: 40px;
    }
}

/* ---------------------------------
   Footer
--------------------------------- */
footer {
    background: #111;
    /* Dark sleek footer */
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 30px;
    font-size: 14px;
}

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

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    padding-left: 0;
    transition: var(--transition);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ---------------------------------
   Floating WhatsApp Button
--------------------------------- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Mobile Menu Specifics */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}

body.page-home header:not(.scrolled) .menu-toggle {
    color: #fff !important;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
    }

    .nav-right-area {
        display: none;
    }

    /* Fixed padding for hero to not hide under header on mobile */
    .hero {
        padding-top: calc(var(--header-height) + 20px) !important;
        height: auto !important;
        min-height: 100vh;
    }

    .nav-right-area.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        padding: 80px 40px;
        align-items: flex-start;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu .nav-link {
        color: var(--text-dark) !important;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-root {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }

    .header-tools {
        display: none;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 15px;
        transform: none;
        display: none;
        min-width: 0;
    }

    .nav-item.active .dropdown {
        display: block;
    }
}

@media (max-width: 576px) {
    .nav-right-area.active {
        padding: 80px 20px;
    }
}

/* ---------------------------------
   Page Layout Helpers (Responsive)
--------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form-card {
    background: var(--bg-alt);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.02);
}

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

.service-layout {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
}

.sidebar-cta {
    width: 100%;
    text-align: center;
    background: #fff;
    color: var(--secondary);
    border: none;
    padding: 12px;
    font-size: 0.85rem;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 60px;
}

.blog-detail-sharebar {
    padding: 40px;
    background: var(--bg-alt);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.03);
    gap: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

@media (max-width: 991px) {
    .contact-layout,
    .service-layout,
    .blog-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-detail-sharebar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    section {
        padding: 90px 0;
    }

    .contact-form-card {
        padding: 28px;
        border-radius: 22px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-detail-sharebar {
        padding: 24px;
        border-radius: 18px;
    }
}
/* ---------------------------------
   Premium Page Header
--------------------------------- */
.premium-header {
    position: relative;
    padding: 180px 0 140px;
    background-color: var(--secondary);
    background-image: linear-gradient(135deg, rgba(0, 96, 100, 0.95) 0%, rgba(130, 180, 64, 0.6) 100%), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.premium-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.premium-header .container {
    position: relative;
    z-index: 2;
}

.premium-header h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.premium-header .breadcrumb {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.premium-header .breadcrumb a:hover {
    color: #fff;
}

.premium-header .breadcrumb i {
    font-size: 0.7rem;
    margin: 0 15px;
    opacity: 0.5;
}

@media (max-width: 991px) {
    .premium-header {
        padding: 150px 0 110px;
        background-attachment: scroll;
    }

    .premium-header h1 {
        font-size: 2.6rem;
    }
}

@media (max-width: 576px) {
    .premium-header {
        padding: 130px 0 95px;
    }

    .premium-header h1 {
        font-size: 2.1rem;
    }

    .premium-header .breadcrumb {
        padding: 10px 18px;
        font-size: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .premium-header .breadcrumb i {
        margin: 0;
    }
}

/* ---------------------------------
   Sidebar & Widgets
--------------------------------- */
.sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991px) {
    .sidebar {
        position: static;
        top: auto;
    }
}

.widget {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-soft-green);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary);
}

.contact-widget {
    background: linear-gradient(135deg, var(--secondary) 0%, #004d40 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
    border: none;
}

.contact-widget .widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.1);
}

.contact-widget .widget-title::after {
    background: var(--primary);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-item:hover i {
    background: var(--primary);
    color: #fff;
    transform: rotate(10deg);
}

.contact-item .text h4 {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item .text p {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

.recent-posts-widget {
}

.recent-posts-list {
    padding: 0;
}

.recent-posts-list li {
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts-list li img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-posts-list li:hover img {
    transform: scale(1.05);
}

.recent-posts-list li h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--secondary);
}

.recent-posts-list li h4 a:hover {
    color: var(--primary);
}

.recent-posts-list li span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
