/* 4D Climate Solutions - Enhanced Stylesheet v2 */
/* Colors matched to logo */

:root {
    --cyan: #00a0dc;
    --lime: #8dc63f;
    --forest: #006838;
    --brown: #8b7356;
    --cream: #f9f8f5;
    --white: #ffffff;
    --dark: #2d3436;
    --gray: #636e72;
    --light-gray: #f1f2f6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p {
    color: var(--gray);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

main {
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--cyan));
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--lime), var(--forest));
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(141, 198, 63, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--forest);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--lime), var(--forest));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(141, 198, 63, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 60px;
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    color: var(--forest);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero > .hero-container > .hero-content > p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--lime);
    border-radius: 25px;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

.hero-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Floating elements animation */
.hero-float {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
    width: 300px;
    height: 300px;
    background: var(--cyan);
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-float-2 {
    width: 200px;
    height: 200px;
    background: var(--lime);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.hero-float-3 {
    width: 150px;
    height: 150px;
    background: var(--forest);
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

/* Who We Are Band */
.intro-band {
    background: var(--forest);
    padding: 50px 5%;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-item {
    text-align: center;
    color: var(--white);
}

.intro-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.intro-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--lime);
}

.intro-item h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lime);
    margin-bottom: 0.5rem;
}

.intro-item p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--forest), #004d2a);
    padding: 60px 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--lime);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.stat-context {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Section Styling */
.section {
    padding: 100px 5%;
}

.section-light {
    background: var(--white);
}

.section-gray {
    background: var(--cream);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--forest);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

.section-tag {
    display: inline-block;
    background: rgba(141, 198, 63, 0.15);
    color: var(--forest);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--lime));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-icon.cyan { background: rgba(0, 160, 220, 0.15); }
.service-icon.cyan svg { stroke: var(--cyan); }
.service-icon.lime { background: rgba(141, 198, 63, 0.15); }
.service-icon.lime svg { stroke: var(--lime); }
.service-icon.forest { background: rgba(0, 104, 56, 0.15); }
.service-icon.forest svg { stroke: var(--forest); }
.service-icon.brown { background: rgba(139, 115, 86, 0.15); }
.service-icon.brown svg { stroke: var(--brown); }

.service-card h3 {
    color: var(--forest);
    margin-bottom: 1rem;
}

.service-audience {
    font-size: 0.85rem;
    color: var(--brown);
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    text-decoration: none !important;
    display: block;
}

.service-audience * {
    text-decoration: none !important;
}

.service-deliverables {
    margin-top: 1rem;
    padding-left: 1rem;
}

.service-deliverables li {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    background: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--lime);
    background: rgba(141, 198, 63, 0.1);
    color: var(--forest);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-header {
    padding: 1.5rem 2rem;
    color: var(--white);
}

.project-header.cyan { background: linear-gradient(135deg, var(--cyan), #0090c5); }
.project-header.lime { background: linear-gradient(135deg, var(--lime), var(--forest)); }
.project-header.forest { background: linear-gradient(135deg, var(--forest), #004d2a); }
.project-header.brown { background: linear-gradient(135deg, var(--brown), #6b5a46); }

.project-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: var(--light-gray);
    font-size: 0.85rem;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
}

.project-meta-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--forest);
}

.project-body {
    padding: 1.5rem 2rem;
}

.project-body p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--forest);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.project-link:hover {
    color: var(--lime);
}

.project-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.project-link:hover svg {
    transform: translateX(4px);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    color: var(--forest);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--lime);
    border-radius: 25px;
    z-index: -1;
}

.values-list {
    list-style: none;
    margin: 2rem 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--dark);
}

.values-list .icon {
    width: 40px;
    height: 40px;
    background: rgba(141, 198, 63, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-list .icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--forest);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--lime);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info strong {
    display: block;
    color: var(--dark);
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Partners */
.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Services Carousel */
.services-carousel-wrapper {
    overflow: hidden;
    padding: 2rem 0;
}

.services-carousel {
    display: flex;
    gap: 2rem;
    animation: scrollServices 30s linear infinite;
    width: max-content;
}

.services-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollServices {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-slide {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

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

.service-slide .service-icon svg {
    width: 28px;
    height: 28px;
}

.service-slide h3 {
    font-size: 1.15rem;
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.service-slide p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Partners Marquee */
.partners-section {
    padding-bottom: 4rem;
}

.partners-marquee-wrapper {
    overflow: hidden;
    padding: 1rem 0;
}

.partners-marquee {
    display: flex;
    gap: 3rem;
    animation: scrollPartners 40s linear infinite;
    width: max-content;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Projects Carousel */
.projects-carousel-wrapper {
    overflow: hidden;
    padding: 2rem 0;
}

.projects-carousel {
    display: flex;
    gap: 2rem;
    animation: scrollProjects 45s linear infinite;
    width: max-content;
}

.projects-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollProjects {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.project-slide {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    min-width: 340px;
    max-width: 340px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.project-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.project-slide-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.project-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-slide:hover .project-slide-image img {
    transform: scale(1.1);
}

.project-slide-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
}

.project-slide-tag.lime { background: var(--lime); }
.project-slide-tag.forest { background: var(--forest); }
.project-slide-tag.cyan { background: var(--cyan); }
.project-slide-tag.brown { background: var(--brown); }

.project-slide-content {
    padding: 1.5rem;
}

.project-slide-content h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-slide-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-slide-client {
    display: block;
    font-size: 0.8rem;
    color: var(--brown);
    font-weight: 600;
}

.partner-marquee-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray);
    padding: 1rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.partner-marquee-item:hover {
    color: var(--forest);
    border-color: var(--lime);
    transform: scale(1.05);
}

.partner-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray);
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    color: var(--forest);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Values Grid - 2x2 layout */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-icon svg {
    width: 28px;
    height: 28px;
}

.value-icon.cyan { background: rgba(0, 160, 220, 0.1); color: var(--cyan); }
.value-icon.lime { background: rgba(141, 198, 63, 0.1); color: var(--lime); }
.value-icon.forest { background: rgba(0, 104, 56, 0.1); color: var(--forest); }
.value-icon.brown { background: rgba(139, 115, 86, 0.1); color: var(--brown); }

.value-card h3 {
    color: var(--forest);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: var(--cyan);
}

.team-member:hover .team-initials,
.team-member:hover .team-initials-sm {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0,160,220,0.3);
}

.team-initials,
.team-initials-sm {
    transition: all 0.3s ease;
}

.team-member.team-lead {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #f8fff8, white);
    border-color: var(--forest);
}

.team-member.team-support {
    padding: 1rem 1.25rem;
}

.team-photo {
    flex-shrink: 0;
}

.team-initials {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.team-initials.director { background: linear-gradient(135deg, var(--forest), var(--lime)); }
.team-initials.brown { background: linear-gradient(135deg, var(--brown), #6b5a46); }
.team-initials.lime { background: linear-gradient(135deg, var(--lime), var(--forest)); }
.team-initials.cyan { background: linear-gradient(135deg, var(--cyan), #0090c5); }
.team-initials.forest { background: linear-gradient(135deg, var(--forest), #004d2a); }

.team-initials-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.team-info {
    flex: 1;
}

.team-info h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--forest);
    font-weight: 500;
}

.team-brief {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Team Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--gray);
    transition: color 0.3s ease;
}

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

.modal-body {
    text-align: center;
}

.modal-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.modal-body h3 {
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.modal-role {
    display: block;
    color: var(--forest);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.modal-body p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.modal-expertise {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.modal-expertise strong {
    color: var(--dark);
}

.modal-expertise span {
    color: var(--gray);
}

/* Partners Showcase */
.partners-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-category {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.partner-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-category h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--forest);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--lime);
}

.partner-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.partner-name {
    font-size: 0.95rem;
    color: var(--dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

a.partner-name:hover {
    color: var(--cyan);
    padding-left: 0.5rem;
}

.partner-list .partner-name:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .partners-showcase {
        grid-template-columns: 1fr 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-member.team-lead {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .partners-showcase {
        grid-template-columns: 1fr;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--forest);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-date svg {
    width: 14px;
    height: 14px;
}

.blog-author {
    color: var(--forest);
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--forest);
    gap: 0.5rem;
}

/* Coming Soon Section */
.blog-coming-soon {
    text-align: center;
    background: linear-gradient(135deg, #f8fff8, #f5f9ff);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 2px dashed var(--lime);
}

.coming-soon-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.coming-soon-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.blog-coming-soon h3 {
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.blog-coming-soon p {
    max-width: 500px;
    margin: 0 auto 1.5rem;
    color: var(--gray);
}

/* Blog Loading State */
.blog-loading {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--forest);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

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

.blog-loading p {
    color: var(--gray);
    font-size: 1rem;
}

/* Blog Error State */
.blog-error {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.blog-error p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Blog Subscribe Box */
.blog-subscribe {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.subscribe-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.subscribe-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.blog-subscribe h3 {
    color: var(--forest);
    margin-bottom: 0.75rem;
}

.blog-subscribe p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Blog Post Page Styles */
.blog-post-header {
    background: linear-gradient(135deg, var(--forest) 0%, var(--lime) 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    color: white;
}

.back-to-blog {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: white;
}

.blog-category-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.3;
}

.blog-post-meta {
    font-size: 0.95rem;
    opacity: 0.9;
}

.blog-post-meta span {
    margin: 0 0.75rem;
}

.blog-featured-image {
    max-width: 1000px;
    margin: -2rem auto 0;
    padding: 0 20px;
}

.blog-featured-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.blog-post-content {
    padding: 4rem 0;
}

.container-narrow {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-post-content .lead {
    font-size: 1.25rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    color: var(--forest);
    margin: 2.5rem 0 1rem;
    font-size: 1.5rem;
}

.blog-post-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--gray);
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-post-content blockquote {
    background: linear-gradient(135deg, #f8fff8, #f5f9ff);
    border-left: 4px solid var(--lime);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--forest);
}

.blog-post-content figure {
    margin: 2rem 0;
}

.blog-post-content figure img {
    width: 100%;
    border-radius: 12px;
}

.blog-post-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.75rem;
}

.author-box {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 3rem 0 2rem;
}

.author-box strong {
    display: block;
    color: var(--forest);
    margin-bottom: 0.5rem;
}

.author-box p {
    margin: 0;
    font-size: 0.95rem;
}

.share-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-section span {
    color: var(--gray);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--gray);
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--forest);
    color: white;
}

@media (max-width: 768px) {
    .blog-post-header h1 {
        font-size: 1.75rem;
    }
    .share-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Apps Page Styles */
.page-header-apps {
    background: linear-gradient(135deg, var(--forest) 0%, var(--cyan) 100%);
}

.apps-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

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

.app-stat .stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.app-stat .stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

/* App Showcase */
.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid #eee;
}

.app-showcase:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.app-showcase-reverse {
    direction: rtl;
}

.app-showcase-reverse > * {
    direction: ltr;
}

.app-images {
    position: relative;
}

.app-screenshot {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.app-screenshot.main {
    position: relative;
    z-index: 1;
}

.app-screenshot.secondary {
    position: absolute;
    width: 45%;
    bottom: -30px;
    right: -30px;
    z-index: 2;
    border: 4px solid white;
}

.growth-screenshot {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.gooi-logo-container {
    background: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gooi-logo-container img {
    max-width: 100%;
    height: auto;
}

.app-placeholder {
    height: 350px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
}

.app-placeholder.lime {
    background: linear-gradient(135deg, var(--lime), var(--forest));
}

.app-placeholder.cyan {
    background: linear-gradient(135deg, var(--cyan), #0090c5);
}

.placeholder-icon svg {
    width: 80px;
    height: 80px;
    opacity: 0.9;
}

.app-placeholder span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.app-details {
    padding-right: 2rem;
}

.app-showcase-reverse .app-details {
    padding-right: 0;
    padding-left: 2rem;
}

.app-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.app-details h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.app-acronym {
    color: var(--forest);
    margin-bottom: 1rem;
}

.app-details > p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(0, 160, 220, 0.1);
    color: var(--cyan);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.app-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.app-meta strong {
    color: var(--dark);
}

.app-meta a {
    color: var(--cyan);
}

/* Apps Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--cyan);
}

.app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.app-card-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.app-card-icon.forest { background: linear-gradient(135deg, var(--forest), var(--lime)); }
.app-card-icon.cyan { background: linear-gradient(135deg, var(--cyan), #0090c5); }
.app-card-icon.lime { background: linear-gradient(135deg, var(--lime), var(--forest)); }
.app-card-icon.brown { background: linear-gradient(135deg, var(--brown), #6b5a46); }

.app-card h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.app-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.app-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-card-tags span {
    background: var(--light-gray);
    color: var(--gray);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Tech Features */
.tech-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.tech-feature {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.tech-feature h4 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.tech-feature p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .app-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .app-showcase-reverse {
        direction: ltr;
    }
    .app-details {
        padding-right: 0;
    }
    .app-showcase-reverse .app-details {
        padding-left: 0;
    }
    .tech-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .apps-stats {
        gap: 2rem;
    }
    .app-stat .stat-number {
        font-size: 2rem;
    }
    .app-screenshot.secondary {
        width: 40%;
        right: -15px;
        bottom: -20px;
    }
    .app-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .tech-features {
        grid-template-columns: 1fr;
    }
}

.partner-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.partner-logo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
}

.partner-card span {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
    display: block;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .partner-logo-placeholder {
        width: 55px;
        height: 55px;
        font-size: 0.9rem;
    }
    .partner-card span {
        font-size: 0.7rem;
    }
}

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

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    color: var(--forest);
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    margin-top: 2rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--lime), var(--forest));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.contact-details strong {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-details span,
.contact-details a {
    color: var(--dark);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--forest);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lime);
    background: var(--white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Map wrapper */
.map-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Organogram */
.organogram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 2rem 0;
    overflow-x: auto;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.org-level-1 { margin-bottom: 0; }
.org-level-2 { margin-bottom: 0; }

.org-connector {
    width: 2px;
    background: var(--forest);
    position: relative;
}

.org-connector-main {
    height: 40px;
}

.org-connector-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 900px;
    height: 2px;
    background: var(--forest);
}

.org-connector-sub {
    height: 40px;
}

.org-connector-sub::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 600px;
    height: 2px;
    background: var(--cyan);
}

.org-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    min-width: 160px;
    max-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.org-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: var(--forest);
}

.org-level-1 .org-card::before {
    display: none;
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: var(--cyan);
}

.org-card.org-director {
    border-color: var(--forest);
    background: linear-gradient(135deg, #f8fff8, white);
}

.org-card.org-director h4 {
    color: var(--forest);
}

.org-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

.org-card h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.org-card span {
    font-size: 0.8rem;
    color: #666;
    display: block;
}

.org-card-small {
    min-width: 140px;
    max-width: 160px;
    padding: 1rem;
}

.org-card-small::before {
    background: var(--cyan);
}

.org-avatar-small {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 auto 0.75rem;
}

.org-card-small h4 {
    font-size: 0.85rem;
}

.org-card-small span {
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .org-level-2 {
        gap: 1rem;
    }
    .org-card {
        min-width: 140px;
        padding: 1rem;
    }
    .org-connector-main::after {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .organogram {
        padding: 1rem 0;
    }
    .org-level {
        gap: 0.75rem;
    }
    .org-level-2, .org-level-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 350px;
    }
    .org-card, .org-card-small {
        min-width: auto;
        max-width: none;
    }
    .org-card::before, .org-card-small::before {
        display: none;
    }
    .org-connector-main::after, .org-connector-sub::after {
        display: none;
    }
    .org-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    .org-avatar-small {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}

/* Footer */
.footer {
    background: var(--forest);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 45px;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 8px;
}

.footer-logo-text {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--lime);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--forest), #004d2a);
    padding: 150px 5% 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a {
    color: var(--lime);
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
    margin: 0 8px;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--lime), var(--forest));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(141, 198, 63, 0.4);
}

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

#back-to-top:hover {
    transform: translateY(-3px);
}

#back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation enhancement when JS is available */
.js-enabled .fade-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-up.visible,
.js-enabled .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        z-index: 9999;
        padding: 100px 30px 60px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        max-width: 300px;
        text-align: center;
        list-style: none;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        color: #2d3436 !important;
        display: block;
        padding: 15px 20px;
        border-radius: 12px;
        background-color: #f1f2f6;
        margin-bottom: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: #006838;
        color: #ffffff !important;
    }
    
    .nav-menu a::after {
        display: none !important;
    }
    
    .nav-menu .nav-cta {
        margin-top: 1rem;
        background: linear-gradient(135deg, #8dc63f, #006838) !important;
        color: #ffffff !important;
        padding: 15px 32px !important;
    }
    
    .nav-menu .nav-cta:hover {
        background: linear-gradient(135deg, #006838, #8dc63f) !important;
        color: #ffffff !important;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 10000;
    }
    
    .mobile-toggle.active {
        position: fixed;
        top: 22px;
        right: 5%;
    }
    
    .mobile-toggle.active span {
        background: #006838;
    }
    
    .hero {
        padding: 120px 5% 60px;
    }
    
    .hero-image-wrapper {
        margin-top: 2rem;
    }
    
    .hero-image-wrapper img {
        height: 300px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ================================================
   WHATSAPP FLOATING BUTTON
   ================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

/* ================================================
   INTERACTIVE LESOTHO MAP (Leaflet)
   ================================================ */
.map-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.real-map {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 3px solid var(--forest);
}

/* Custom Leaflet Markers */
.custom-marker {
    background: transparent;
    border: none;
}

.custom-marker .marker-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.active-marker .marker-inner {
    background: var(--forest);
    border: 3px solid white;
}

.capital-marker .marker-inner {
    background: var(--cyan);
    border: 3px solid white;
    font-size: 14px;
}

.inactive-marker .marker-inner {
    background: #999;
    border: 2px solid white;
}

.custom-marker:hover .marker-inner {
    transform: scale(1.2);
}

/* Map Popup Styles */
.map-popup {
    text-align: center;
    min-width: 150px;
}

.map-popup strong {
    font-size: 1rem;
    color: var(--forest);
    display: block;
    margin-bottom: 0.25rem;
}

.map-popup .hq-badge {
    display: inline-block;
    background: var(--cyan);
    color: white;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.map-popup p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0.5rem 0 0;
}

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 12px 15px;
}

.leaflet-tooltip {
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.leaflet-tooltip-top:before {
    border-top-color: var(--dark);
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    align-self: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-dot.active {
    background: var(--forest);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.legend-dot.capital {
    background: var(--cyan);
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.legend-dot.inactive {
    background: #999;
    border: 2px solid white;
}

@media (max-width: 768px) {
    .map-container {
        flex-direction: column;
    }
    .real-map {
        height: 350px;
        max-width: 100%;
    }
    .map-legend {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ================================================
   OUR APPROACH INFOGRAPHIC
   ================================================ */
.approach-infographic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.approach-step {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    flex: 0 0 200px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--lime);
    color: white;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--forest), var(--lime));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1rem;
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.approach-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,104,56,0.3);
}

.approach-step h4 {
    color: var(--forest);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.approach-step p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.approach-connector {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-connector svg {
    width: 50px;
    height: 20px;
}

/* Approach Pillars */
.approach-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.pillar {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

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

.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.pillar-icon.cyan { background: linear-gradient(135deg, var(--cyan), #0090c5); }
.pillar-icon.lime { background: linear-gradient(135deg, var(--lime), var(--forest)); }
.pillar-icon.forest { background: linear-gradient(135deg, var(--forest), #004d2a); }
.pillar-icon.brown { background: linear-gradient(135deg, var(--brown), #6b5a46); }

.pillar h5 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pillar p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 1024px) {
    .approach-infographic {
        gap: 1rem;
    }
    .approach-connector {
        display: none;
    }
    .approach-step {
        flex: 0 0 45%;
    }
    .approach-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .approach-step {
        flex: 0 0 100%;
    }
    .approach-pillars {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ENHANCED STATS GRID (6 items)
   ================================================ */
@media (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
