/* style.css */

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

:root {
    --background: #0a1a0f;
    --background-lighter: #0f2415;
    --primary: #2e7d32;
    --accent: #4CAF50;
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'PangeaText';
    src: url('../fonts/PangeaText-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PangeaText';
    src: url('../fonts/PangeaText-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'PangeaText';
    src: url('../fonts/PangeaText-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'PangeaText';
    src: url('../fonts/PangeaText-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 26, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
    opacity: 0.7;
}

nav a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 2rem;
    position: relative;
    overflow: hidden;
    background: var(--background);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(46, 125, 50, 0.1) 0%, rgba(10, 26, 15, 0) 70%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    margin: 60px auto 0;
    text-align: center;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.hero-logo {
    width: 160px;
    height: 160px;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: 160px;
    height: 160px;
    position: relative;
    z-index: 2;
}

/* Animated Circles */
.hero-logo::before,
.hero-logo::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: 50%;
    animation: pulseAndRotate 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hero-logo::before {
    width: 180px;
    height: 180px;
    animation-delay: -2s;
}

.hero-logo::after {
    width: 200px;
    height: 200px;
}

/* Additional decorative circles */
.hero-logo .circle-1,
.hero-logo .circle-2,
.hero-logo .circle-3 {
    position: absolute;
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 50%;
}

.hero-logo .circle-1 {
    width: 220px;
    height: 220px;
    animation: pulseAndRotateReverse 6s linear infinite;
}

.hero-logo .circle-2 {
    width: 240px;
    height: 240px;
    animation: pulseAndRotate 8s linear infinite;
}

.hero-logo .circle-3 {
    width: 260px;
    height: 260px;
    animation: pulseAndRotateReverse 10s linear infinite;
}

@keyframes pulseAndRotate {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.5;
    }
}

@keyframes pulseAndRotateReverse {
    0% {
        transform: scale(1) rotate(360deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.button-primary {
    background: var(--primary);
    color: var(--text);
}

.button-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Animated Background Elements */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.bg-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: 10%;
    left: -10%;
}

.bg-blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    bottom: 20%;
    right: -5%;
    animation-delay: -5s;
}

/* Stats Section */
.stats {
    padding: 3rem 2rem;
    background: var(--background);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(10, 26, 15, 0.6);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .stats {
        padding: 2rem 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }

    .stat-item p {
        font-size: 0.8rem;
    }
}

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

    .stat-item {
        padding: 1rem;
    }

    .stat-icon {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Projects Section */
.projects {
    padding: 8rem 2rem;
    background: var(--background);
}

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

.section-title {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.project-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 15, 0.98);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-image {
    transform: scale(1.1) rotate(2deg);
}

.project-overlay h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.project-overlay p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.project-year {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.project-card::after {
    content: '→';
    position: absolute;
    top: 2rem;
    right: -50px;
    color: var(--accent);
    font-size: 2rem;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.project-card:hover::after {
    right: 2rem;
    opacity: 1;
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p,
.project-card:hover .project-year {
    transform: translateY(0);
    opacity: 1;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent) 0%, transparent 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay;
}

.project-card:hover::before {
    opacity: 0.3;
}

/* Services Section */
.services {
    padding: 8rem 2rem;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        var(--background) 0%,
        var(--background-lighter) 100%);
    opacity: 0.7;
    z-index: 1;
}

.services .section-header,
.services-grid {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.75rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--text);
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.75rem;
    }
}

/* Approach Section */
.approach {
    padding: 8rem 2rem;
    background: var(--background);
    position: relative;
}

.approach .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.approach .section-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.approach p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-card {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(46, 125, 50, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.approach-card > * {
    position: relative;
    z-index: 2;
}

.approach-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 
        0 0 30px rgba(46, 125, 50, 0.2),
        0 15px 25px rgba(0, 0, 0, 0.3);
}

.approach-card:hover::before {
    opacity: 1;
}

.approach-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-icon i {
    font-size: 1.25rem;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.approach-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1rem;
}

.approach-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

@media (max-width: 1200px) {
    .approach-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        padding: 0 1rem;
    }

    .approach-card {
        padding: 1.75rem;
    }

    .approach-card h3 {
        font-size: 1.25rem;
    }

    .approach-number {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .approach {
        padding: 6rem 1.5rem;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .approach .section-heading {
        font-size: 3rem;
    }

    .approach-card {
        padding: 1.5rem;
    }

    .approach-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .approach-icon i {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .approach {
        padding: 4rem 1rem;
    }

    .approach .section-header {
        margin-bottom: 3rem;
    }

    .approach .section-heading {
        font-size: 2.5rem;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .approach-card {
        padding: 1.5rem;
        text-align: center;
    }

    .approach-icon {
        margin: 0 auto 1.25rem;
    }

    .approach-number {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        font-size: 1.75rem;
        text-align: center;
    }

    .approach-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .approach-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .approach {
        padding: 3rem 1rem;
    }

    .approach .section-heading {
        font-size: 2rem;
    }

    .approach-card {
        padding: 1.25rem;
    }

    .approach-icon {
        width: 2.25rem;
        height: 2.25rem;
        margin-bottom: 1rem;
    }

    .approach-icon i {
        font-size: 1rem;
    }

    .approach-number {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .approach-card h3 {
        font-size: 1.125rem;
    }

    .approach-card p {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background: var(--background);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(46, 125, 50, 0.05) 100%);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section {
    position: relative;
}

.footer-logo {
    display: none; /* Hide the old logo */
}

.footer-section:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    opacity: 0.1;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: -1;
}

.footer-section:first-child {
    position: relative;
    padding-top: 3rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-section ul a:hover {
    color: var(--text);
}

.footer-section:nth-child(3) p {
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.newsletter-form button i {
    font-size: 1rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    position: relative;
    z-index: 1000;
    cursor: pointer;
    width: 30px;
    height: 20px;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

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

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

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

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .container,
    .stats-grid,
    .project-grid,
    .services-grid,
    .footer-grid {
        max-width: 1200px;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .section-heading {
        font-size: 3rem;
    }

    .scrolling-text {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--background);
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid var(--card-border);
        backdrop-filter: blur(10px);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .scrolling-text {
        font-size: 4rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 1rem 2rem;
    }
    
    .hero-content {
        margin-top: 20px;
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .scrolling-text {
        font-size: 3rem;
    }

    .button-group {
        flex-direction: column;
        gap: 1rem;
    }

    .button {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .typing-animation::before {
        content: "";
        white-space: normal;
        word-wrap: break-word;
        max-width: 100%;
        hyphens: auto;
    }

    @keyframes typing {
        0%, 45% {
            content: "Wir gestalten\A digitale Erlebnisse";
            width: 0;
        }
        10%, 40% {
            content: "Wir gestalten\A digitale Erlebnisse";
            width: 100%;
        }
        45%, 50% {
            content: "Wir gestalten\A digitale Erlebnisse";
            width: 0;
        }
        50%, 95% {
            content: "Innovative\A Lösungen für\A Ihre Zukunft";
            width: 0;
        }
        60%, 90% {
            content: "Innovative\A Lösungen für\A Ihre Zukunft";
            width: 100%;
        }
        95%, 100% {
            content: "Innovative\A Lösungen für\A Ihre Zukunft";
            width: 0;
        }
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .section-heading {
        font-size: 1.75rem;
    }

    .scrolling-text {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card,
    .project-card {
        padding: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-indicator i {
        font-size: 1.25rem;
    }
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blur-background {
    backdrop-filter: blur(10px);
    background: rgba(10, 26, 15, 0.8);
}

.animate-float {
    animation: float 6s infinite ease-in-out;
}

/* Footer */
footer {
    background: var(--dark-background);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem 0;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* Advanced Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Floating Animation for Elements */
.floating {
    animation: leafFloat 6s ease-in-out infinite;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Enhancement */
nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Stats Counter Animation */
@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Scrolling Text Section */
.scrolling-section {
    position: relative;
    padding: 2rem 0; /* vorher 6rem */
    background: var(--background);
    overflow: hidden;
    min-height: 30vh; /* vorher 60vh */
    display: flex;
    align-items: center;
}

.scrolling-text-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.scrolling-text {
    position: relative;
    white-space: nowrap;
    font-size: 2rem; /* vorher 6rem */
    font-weight: 700;
    opacity: 0.05;
    color: var(--text);
    text-transform: uppercase;
    animation: scrollText 20s linear infinite;
    margin: 1rem 0; /* vorher 2rem */
}

.scrolling-text-1 {
    animation-duration: 20s;
}

.scrolling-text-2 {
    animation-direction: reverse;
    animation-duration: 15s;
}

.scrolling-text-3 {
    animation-duration: 25s;
}


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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--light-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Card Hover Effects */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.service-card:hover i {
    transform: translateZ(20px);
}

/* Add Green Glow Effects */
.glow-effect {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
}

/* Add Nature-Inspired Animations */
@keyframes leafFloat {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(-20px); }
    100% { transform: rotate(0deg) translateY(0); }
}

/* Enhanced Section Backgrounds */
.section-pattern {
    background-image: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%),
                      linear-gradient(225deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%),
                      linear-gradient(45deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%),
                      linear-gradient(315deg, rgba(46, 125, 50, 0.05) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--background-lighter);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add subtle gradient overlay */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.08) 0%,
        rgba(46, 125, 50, 0.03) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.contact .section-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact .accent-text {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.contact .section-heading {
    font-size: 2.75rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.contact .section-heading span {
    color: var(--accent);
}

.contact .section-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: var(--accent);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    gap: 0.5rem;
}

.contact-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.contact-button i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.contact-button:hover i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .contact {
        padding: 5rem 2rem;
    }

    .contact .section-heading {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 1.5rem;
    }

    .contact .section-heading {
        font-size: 2.25rem;
    }

    .contact .accent-text {
        font-size: 0.8125rem;
    }

    .contact .section-description {
        font-size: 0.9375rem;
        margin-bottom: 1.75rem;
    }

    .contact-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 1rem;
    }

    .contact .section-heading {
        font-size: 2rem;
    }

    .contact .section-description {
        font-size: 0.875rem;
    }

    .contact-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }
}

/* Process Section */
.process {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--background-lighter);
    overflow: hidden;
    min-height: 12vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add radial glow effect */
.process::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(46, 125, 50, 0.15) 0%,
        rgba(46, 125, 50, 0.05) 25%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 1;
}

/* Side gradients */
.process::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, var(--background-lighter), transparent 20%, transparent 80%, var(--background-lighter)),
        linear-gradient(180deg, 
            rgba(46, 125, 50, 0.1) 0%,
            transparent 30%,
            transparent 70%,
            rgba(46, 125, 50, 0.1) 100%
        );
    pointer-events: none;
    z-index: 2;
}

.process .section-header {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 700px;
    margin: 0;
}

.rotating-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8vw;
    font-weight: 800;
    white-space: nowrap;
    color: rgba(46, 125, 50, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    width: 100%;
    text-align: center;
    animation: slideText 20s linear infinite;
}

@keyframes slideText {
    0% {
        transform: translate(-25%, -50%);
    }
    100% {
        transform: translate(-75%, -50%);
    }
}

.process .section-heading {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    position: relative;
}

.process p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 1200px) {
    .process {
        padding: 2.25rem 1.5rem;
        min-height: 10vh;
    }

    .rotating-text {
        font-size: 7vw;
    }
}

@media (max-width: 992px) {
    .process {
        padding: 2rem 1.5rem;
        min-height: 8vh;
    }

    .rotating-text {
        font-size: 9vw;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 1.75rem 1rem;
        min-height: 7vh;
    }

    .rotating-text {
        font-size: 11vw;
    }

    .process .section-heading {
        font-size: 1.5rem;
    }

    .process p {
        font-size: 0.875rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .process {
        padding: 1.5rem 1rem;
        min-height: 6vh;
    }

    .rotating-text {
        font-size: 13vw;
    }

    .process .section-heading {
        font-size: 1.25rem;
    }

    .process p {
        font-size: 0.85rem;
        max-width: 300px;
    }
}

/* Success Stats Section */
.success-stats {
    padding: 4rem 2rem;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.stat-box {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(46, 125, 50, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.stat-box::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(165deg, 
        rgba(46, 125, 50, 0.3) 0%,
        rgba(46, 125, 50, 0) 50%,
        rgba(46, 125, 50, 0.3) 100%
    );
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.stat-box > * {
    position: relative;
    z-index: 2;
}

.stat-box:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 
        0 0 30px rgba(46, 125, 50, 0.2),
        0 15px 25px rgba(0, 0, 0, 0.3);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box:hover::after {
    opacity: 1;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    line-height: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 100%;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 100%;
}

.stat-box:hover .stat-value {
    transform: scale(1.1);
    color: var(--text);
}

.stat-box:hover .stat-label {
    color: var(--text);
}

@media (max-width: 1200px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-box {
        padding: 2rem 1.5rem;
    }

    .stat-value {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .success-stats {
        padding: 3rem 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1.75rem;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .stat-value {
        font-size: 2.75rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .stat-box {
        padding: 1.5rem;
        min-height: 140px;
    }

    .stat-value {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

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

/* Typing Animation */
.typing-text {
    display: flex;
    justify-content: center;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-height: 1.2em;
    text-align: center;
    padding: 0 1rem;
}

.typing-animation {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.typing-animation::before {
    content: "";
    display: block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid var(--accent);
    width: 0;
    animation: 
        typing 16s steps(35, end) infinite,
        blink 0.75s step-end infinite;
}

@keyframes typing {
    0%, 45% {
        content: "Wir gestalten digitale Erlebnisse";
        width: 0;
    }
    10%, 40% {
        content: "Wir gestalten digitale Erlebnisse";
        width: 100%;
    }
    45%, 50% {
        content: "Wir gestalten digitale Erlebnisse";
        width: 0;
    }
    50%, 95% {
        content: "Innovative Lösungen für Ihre Zukunft";
        width: 0;
    }
    60%, 90% {
        content: "Innovative Lösungen für Ihre Zukunft";
        width: 100%;
    }
    95%, 100% {
        content: "Innovative Lösungen für Ihre Zukunft";
        width: 0;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--accent);
    }
}

.mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .typing-animation {
        display: none;
    }
    
    .mobile-text {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        position: static;
    }
    
    .mobile-text-1, 
    .mobile-text-2 {
        position: static;
        display: block;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.3;
        margin: 0 auto 1rem;
        padding: 0;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    
    .mobile-text-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-text-1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Height of the fixed header */
}

/* Scroll Indicator Styles */
.scroll-indicator {
    position: absolute;
    bottom: clamp(1rem, 3vh, 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.7;
    z-index: 10;
}

.scroll-indicator span {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    color: var(--text);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
@media (max-height: 900px) {
  .scroll-indicator {
    bottom: clamp(0.5rem, 1vh, 1rem); /* näher an den unteren Rand */
  }
}

@media (max-height: 700px) {
  .scroll-indicator {
    bottom: 0.5rem; /* z. B. bei kleinen MacBooks oder Tablets */
  }
}

/* Founder Section */
.founder {
    padding: 8rem 2rem;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.founder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(46, 125, 50, 0.1),
        transparent 40%
    );
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.founder-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(46, 125, 50, 0.3) 0%,
        rgba(46, 125, 50, 0) 50%,
        rgba(46, 125, 50, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
    pointer-events: none;
}

.founder-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.founder-image-wrapper:hover::before,
.founder-image-wrapper:hover::after {
    opacity: 1;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.founder-image-wrapper:hover .founder-image {
    transform: scale(1.05);
}

.founder-content {
    padding-right: 2rem;
    position: relative;
}

.founder-content::before {
    content: '"';
    position: absolute;
    top: -3rem;
    left: -2rem;
    font-size: 8rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.founder-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.founder-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.founder-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid rgba(76, 175, 80, 0.3);
}

.founder-title {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.founder-title:hover {
    background: rgba(46, 125, 50, 0.2);
    transform: translateY(-2px);
}

.founder-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.founder-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.founder-social a:hover {
    background: var(--accent);
    transform: translateY(-2px);
    border-color: var(--accent);
}

@media (max-width: 992px) {
    .founder-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .founder-content {
        padding-right: 0;
        text-align: center;
    }
    
    .founder-content::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .founder-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .founder-content p {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid rgba(76, 175, 80, 0.3);
        padding-top: 1rem;
    }
    
    .founder-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .founder {
        padding: 4rem 1rem;
    }
    
    .founder-content h2 {
        font-size: 2.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 2rem;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(46, 125, 50, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonials:hover::before {
    opacity: 1;
}

.testimonials .section-title {
    text-align: center;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 3.5rem;
    color: var(--text);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.testimonials .subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 4rem;
    min-height: 380px;
}

.testimonial-slides-container {
    width: 100%;
    min-height: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    text-align: center;
    padding: 3rem 2rem;
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
    will-change: transform, opacity;
    margin: auto;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    z-index: 5;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--accent);
    opacity: 0.8;
}

.testimonial-slide.sliding-out {
    opacity: 0;
    transform: translateX(-100px);
}

.testimonial-slide.sliding-in {
    opacity: 0;
    transform: translateX(100px);
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    display: none;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    margin-top: 2rem;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.testimonial-author-name {
    font-weight: 600;
    color: var(--text);
    font-size: 1.125rem;
}

.testimonial-author-title {
    color: var(--accent);
    font-size: 0.875rem;
    opacity: 0.9;
}

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.testimonial-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-slide:hover .testimonial-author-avatar {
    transform: scale(1.05);
    border-color: var(--text);
    box-shadow: 0 0 0 3px var(--accent),
                0 0 20px rgba(46, 125, 50, 0.3);
}

.testimonial-slide:hover .testimonial-author-avatar img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .testimonial-author-avatar {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 5;
    padding: 0;
    pointer-events: none;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(76, 175, 80, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    overflow: hidden;
    pointer-events: auto;
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-nav button:first-child {
    left: -4rem;
}

.testimonial-nav button:last-child {
    right: -4rem;
}

.testimonial-nav button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-nav button:hover::before {
    opacity: 0.2;
}

.testimonial-nav button i {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.testimonial-nav button:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonials {
        padding: 4rem 1rem;
    }

    .testimonials h2 {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 1.25rem;
    }

    .testimonial-slide {
        padding: 2rem 1.5rem;
    }

    .testimonial-author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .testimonial-author-name {
        font-size: 1.125rem;
    }

    .testimonial-author-title {
        font-size: 0.875rem;
    }

    .testimonial-nav button {
        width: 40px;
        height: 40px;
    }
}

/* Clients Section */
.clients {
    background: var(--background);
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

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

.clients .section-title {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.clients .section-heading {
    font-size: 3.5rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.clients .subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

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

.client-logo {
    aspect-ratio: 3/2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
    padding: 1rem;
}

.client-logo:hover .client-image {
    opacity: 1;
    filter: brightness(1);
    transform: scale(1.05);
}

.client-info {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: max-content;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        padding: 1.5rem;
    }
    
    .client-info {
        max-width: 280px;
    }
}

@media (max-width: 992px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .client-info {
        max-width: 260px;
        padding: 1.25rem;
    }
    
    .client-info-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 4rem 1rem;
    }
    
    .clients .section-heading {
        font-size: 2.5rem;
    }
    
    .clients-grid {
        gap: 2rem;
        padding: 1rem;
    }
    
    .client-image {
        padding: 0.75rem;
    }
    
    .client-info {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .client-info::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .client-logo {
        aspect-ratio: 2/1;
    }
    
    .client-image {
        padding: 1rem;
        max-height: 120px;
        width: auto;
    }
    
    .client-info {
        width: 85%;
        padding: 1.25rem;
    }
    
    .client-info-name {
        font-size: 0.95rem;
    }
    
    .client-info-description {
        font-size: 0.85rem;
    }
    
    .client-info-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 100%;
    max-width: 500px;
    background-color: #343a40;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    bottom: 20px;
}

.cookie-popup.hide {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
}

/* Header of the card */
.cookie-popup h3 {
    font-size: 1.8rem;
    color: #d9190f;
    margin-bottom: 15px;
}

/* Links */
.cookie-popup a {
    color: #d9190f;
    text-decoration: none;
}

.cookie-popup a:hover {
    text-decoration: none;
}

/* Card body text */
.cookie-popup .fs-5 {
    font-size: 1rem;
    line-height: 1.5;
    color: #ccc;
}

/* Form checkbox styling */
.cookie-popup .form-check {
    margin-top: 10px;
}

.cookie-popup .form-check-input {
    cursor: not-allowed;
}

.cookie-popup .form-check-label {
    font-size: 0.9rem;
    color: #ccc;
}

/* Button */
.cookie-popup #accept-cookies {
    background-color: #28a745;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.cookie-popup #accept-cookies:hover {
    background-color: #218838;
}

.cookie-popup #decline-cookies {
    background-color: #dc3545;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.cookie-popup #decline-cookies:hover {
    background-color: #c82333;
}

/* Adjustments for mobile */
@media (max-width: 576px) {
    .cookie-popup {
        width: 90%;
    }
}

