/* =====================
    ROOT VARIABLES
===================== */
:root {
    --green: #006837; /* Green Tone */
    --bg-menu: #1a1a1a; /* Background for menu */ 
    --text-color-dark: #fff; /* Text color for dark backgrounds */  
    --sponsor-height: 120px; /* default height for sponsor bar */
}


/* =====================
    GLOBAL BASE STYLES
===================== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: 
        linear-gradient(135deg, #1a1a1a 0%, #282828 25%, #1e2a1e 50%, #242424 75%, #1a1a1a 100%),
        radial-gradient(circle at 20% 20%, rgba(0, 104, 55, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(0, 104, 55, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 90%, rgba(0, 104, 55, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    background-size: 100% 100%, 800px 800px, 600px 600px, 700px 700px;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23006837" fill-opacity="0.02"><circle cx="30" cy="30" r="1"/></g></svg>') repeat,
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(0, 104, 55, 0.01) 100px,
            rgba(0, 104, 55, 0.01) 200px
        );
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(0deg, transparent 0%, rgba(0, 104, 55, 0.02) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(0, 104, 55, 0.015) 50%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* =====================
    TYPOGRAPHY AND HEADINGS
===================== */
h1, h2, h3, h4, p {
    padding: 10px 0;
}

h1, h2 {
    font-size: 28px;
    text-align: center;
    padding-top: 30px;
}

h3 {
    font-size: 24px;
    text-align: center;
    padding-top: 50px;
}

h4 {
    font-size: 20px;
    text-align: center;
}

h5 {
    font-size: 16px;
    font-weight: bold;
}

p {
    font-size: 16px;
    line-height: 1.5;
    width: 60%;
    margin: 0 auto;
    text-align: left;
}

/* =====================
    LAYOUT ELEMENTS
===================== */
main {
    margin-left: 45px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

section {
    padding-bottom: 60px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* =====================
    NAVIGATION
===================== */
.nav-container {
    display: block;
}

.nav {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 4px 24px rgba(0,0,0,0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 21px;
    border: 1px solid rgba(255,255,255,0.3);
    width: 40px;
    max-height: 60vh;
    
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    z-index: 9999;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

li {
    margin: 20px 0;
    position: relative;
}

.navtxt {
    color: #fff;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.navtxt:hover {
    background-color: #555;
}

.navtxt.active {
    transform: scale(1.2) !important;
    background-color: var(--green) !important;
    box-shadow: 0 0 15px rgba(0, 104, 55, 0.5) !important;
}

.burger, .burger-menu {
    display: none;
}

/* Navigation Tooltips */
.nav-tooltip {
    position: absolute;
    left: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* =====================
    HERO SECTION
===================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* stack hero-container and sponsor-container vertically */
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding-bottom: 40px;
    width: 100%;
    max-width: 100vw;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* allow vertical centering of hero content while keeping two-column layout inside */
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center;
    min-height: calc(100vh - var(--sponsor-height)); /* occupy remaining viewport height */
    width: 100%;
    box-sizing: border-box;
    gap: 60px;
    /* keep the internal layout as a grid for content columns */
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-content {
    color: #fff;
}

.hero-logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.burger-nav {
    display: none;
}

.hero-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    padding-top: 0;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.cta-button {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--green), #008744);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 104, 55, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 104, 55, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.float-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(0, 104, 55, 0.1);
    border: 2px solid rgba(0, 104, 55, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 24px;
    opacity: 0;
}

.float-element:nth-child(1) { top: 10%; left: 20%; }
.float-element:nth-child(2) { top: 30%; right: 10%; }
.float-element:nth-child(3) { bottom: 40%; left: 10%; }
.float-element:nth-child(4) { bottom: 20%; right: 30%; }


/* =====================
    CLIENT CONTAINER / SPONSORS
===================== */
.sponsor-container {
    width: 100%;
    height: var(--sponsor-height);
    display: flex;
    justify-content: center;
    align-items: center; 
    box-sizing: border-box;
}

.sponsors {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 20px;
    overflow: hidden;
}

.sponsors .track {
    margin-top: 2%;
    display: flex;             /* ordnet Logos nebeneinander an */
    align-items: center;       /* vertikal zentriert */
    gap: var(--gap);           /* Abstand zwischen Logos, z.B. 3rem */
    width: max-content;        /* Breite = so breit wie der Inhalt */
    animation: scroll var(--speed) linear infinite; /* endlose Scroll-Animation */
}

/* Logos selbst */
.sponsors img {
    height: 60px;
    object-fit: contain;
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

.sponsors img:hover {
    filter: none;
    opacity: 1;
}

/* Keyframes: definiert, wie der Track scrollt */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); /* bewegt sich nach links */
    }
}

/* Variablen kannst du z. B. so setzen: */
:root {
    --gap: 3rem;
    --speed: 20s;
}





/* =====================
    MISSION SECTION
===================== */
.mission-section {
    padding: 40px 20px 100px 20px;
    color: #fff;
    background: transparent;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--green);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    width: 100%;
}

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

.value-card {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 104, 55, 0.06) 100%),
        rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 104, 55, 0.25);
    opacity: 0;
    transform: translateY(50px);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 104, 55, 0.15), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(0, 104, 55, 0.1) 100%),
        rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 104, 55, 0.5);
    box-shadow: 0 20px 40px rgba(0, 104, 55, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--green), #008744);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--green);
    padding-top: 0;
}

.value-card p {
    color: #ccc;
    line-height: 1.5;
    width: 100%;
}



/* =====================
    SERVICES SECTION
===================== */
.services-section {
    min-height: 100vh;
    padding: 80px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: transparent;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.services-intro {
    text-align: center;
    font-size: 18px;
    color: #ccc;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-timeline {
    position: relative;
    min-height: 1600px;
    padding: 50px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.timeline-path {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 400px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    max-width: 90vw;
}

.timeline-path-mobile {
    display: none;
    position: absolute;
    left: 25px;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.path-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.path-line-mobile {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.service-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 100px auto;
    opacity: 0;
    z-index: 2;
}

.service-step:nth-child(even) {
    flex-direction: row-reverse;
}

.service-step:nth-child(even) .step-content {
    text-align: right;
    margin-right: 0;
    margin-left: 40px;
}

.step-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--green) 0%, #008744 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 10px 30px rgba(0, 104, 55, 0.3);
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-top: 10px;
}

.step-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, #008744 100%);
    opacity: 0.3;
    transform: scale(1.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1.5); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 0.1; }
}

.step-content {
    flex: 1;
    margin-left: 40px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 104, 55, 0.04) 100%),
        rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 104, 55, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), transparent, var(--green));
    opacity: 0.8;
}

.step-content h3 {
    color: var(--green);
    font-size: 24px;
    margin-bottom: 15px;
    padding-top: 0;
}

.step-content p {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 20px;
    width: 100%;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: rgba(0, 104, 55, 0.2);
    color: var(--green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 104, 55, 0.3);
}

/* =====================
    ABOUT SECTION
===================== */
.about-section {
    padding: 100px 20px;
    color: #fff;
    background: transparent;
    margin-left: -45px;
    padding-left: 65px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--green);
    padding-top: 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-50px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 104, 55, 0.05) 100%),
        rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 104, 55, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(0, 104, 55, 0.15) 0%, transparent 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-item:hover {
    transform: translateX(-50px) translateY(-5px);
    border-color: rgba(0, 104, 55, 0.4);
    box-shadow: 0 15px 30px rgba(0, 104, 55, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--green), #008744);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--green);
    padding-top: 0;
}

.feature-content p {
    color: #ccc;
    line-height: 1.6;
    width: 100%;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 110px;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    transform: translateX(50px);
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 104, 55, 0.05) 100%),
        rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 104, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.tech-stack::before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(0, 104, 55, 0.03) 10px,
            rgba(0, 104, 55, 0.03) 20px
        );
    pointer-events: none;
}

.tech-item {
    background: rgba(0, 104, 55, 0.1);
    border: 2px solid rgba(0, 104, 55, 0.3);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: var(--green);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 104, 55, 0.2);
    border-color: var(--green);
    transform: translateY(-5px);
}

/* =====================
    CONTACT SECTION
===================== */
.contact-section {
    padding: 100px 20px;
    color: #fff;
    background: transparent;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--green);
    padding-top: 0;
}

.contact-info p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateX(-30px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--green), #008744);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.contact-text h4 {
    font-size: 1.1rem;
    color: var(--green);
    padding-top: 0;
    margin: 0;
    margin-top: 15px;
    padding-bottom: 0;
}

.contact-text p {
    color: #ccc;
    margin: 0;
    width: 100%;
    padding-top: 0;
}

.contact-form {
    opacity: 0;
    transform: translateX(30px);
}

.contact-form-container {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 104, 55, 0.06) 100%),
        rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 104, 55, 0.25);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 104, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 104, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--green);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    background: linear-gradient(45deg, var(--green), #008744);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 104, 55, 0.4);
}


/* =====================
    FOOTER
===================== */
footer {
    background-color: var(--bg-menu);
    color: var(--text-color-dark);
    width: 100%;
    padding: 20px 0;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-legal, .footer-social {
    flex: 1;
    width: 20%;
    margin-right: 50px;
}

.footer-legal a {
    display: block;
    padding: 10px 0;
    color: var(--text-color-dark);
    margin-left: 10px;
    margin-top: 10px;
    text-decoration: none;
}

.footer-social a {
    display: inline-block;
    margin: 0 10px;
    margin-left: auto;
    color: var(--text-color-dark);
    font-size: 20px;
    justify-content: center;
}

.footer-logo {
    flex: 3;
}

#footer-logo {
    display: block;
    max-width: 150px;
    max-height: 75px; 
    margin-right: 20px;
    margin-left: auto;
}

.copyright {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 15px;
}





/* =====================
    RESPONSIVE DESIGN
===================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    main {
        margin-left: 0px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Global mobile optimizations */
    section {
        padding-bottom: 60px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    h1, h2 {
        font-size: 24px;
        padding-top: 15px;
        text-align: center;
    }

    h3 {
        font-size: 20px;
        padding-top: 20px;
        text-align: center;
    }

    p {
        width: 90%;
        margin: 0 auto;
        text-align: center;
        font-size: 15px;
        padding: 8px 0;
    }

    .burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0;
        cursor: pointer;
        z-index: 1001;
    }
    .burger span {
        height: 4px;
        background: var(--green);
        margin: 6px 0;
        border-radius: 2px;
        transition: 0.3s;
    }

    .burger-menu {
        position: fixed;
        top: 0;
        left: -250px;
        width: 200px;
        height: 100%;
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
        backdrop-filter: blur(10px);
        box-shadow: 2px 0 12px rgba(0,0,0,0.3);
        padding-top: 60px;
        transition: left 0.3s;
        z-index: 1000;
        display: block;
    }
    .burger-menu.open {
        left: 0;
    }
    .burger-menu ul {
        display: block;
        width: 100%;
    }
    .burger-menu li {
        padding: 16px;
        border-bottom: 1px solid rgba(0, 104, 55, 0.3);
        line-height: normal;
    }
    .burger-menu a {
        font-size: 18px;
        color: var(--green);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    /* Hero Logo Container Mobile Styles */
    .hero-logo-container {
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        position: relative;
        height: 70px;
    }

    .burger-nav {
        display: block;
        order: 1;
    }

    .hero-logo {
        order: 2;
        width: 150px;
        margin: 0;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 999;
    }

    .overlay.open {
        opacity: 1;
        visibility: visible;
    }


    .floating-elements {
        display: none;
    }



    .services-section {
        padding: 40px 15px;
    }
    
    .services-container h2 {
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .services-intro {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 10px;
        text-align: center;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-timeline {
        min-height: auto;
        padding: 15px 0;
    }
    
    .timeline-path {
        display: none;
    }
    
    .timeline-path-mobile {
        display: block;
        left: 10px;
        width: 20px;
    }
    
    .service-step {
        flex-direction: column !important;
        text-align: center;
        width: 95%;
        margin: 0 auto 50px auto;
        align-items: center;
        padding-left: 0;
        position: relative;
    }
    
    .service-step:nth-child(even) {
        flex-direction: column !important;
    }
    
    .service-step:nth-child(even) .step-content {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 15px;
    }
    
    .step-circle {
        position: relative;
        left: auto;
        top: auto;
        width: 55px;
        height: 55px;
        font-size: 18px;
        margin-top: 0;
        margin-bottom: 15px;
    }
    
    .step-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        padding: 20px 15px;
        border-radius: 15px;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .step-content h3 {
        font-size: 19px;
        margin-bottom: 10px;
        text-align: center;
        padding-top: 0;
    }
    
    .step-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
    
    .step-features {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 4px 8px;
    }

    .tech-stack {
        display: none;
    }

    /* Hero section mobile optimizations */
    .hero-section {
        min-height: 90vh;
        padding: 20px 15px;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 10px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        width: 95%;
        margin: 0 auto 30px auto;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-visual {
        display: none;
    }

    .cta-button {
        text-align: center;
        width: 220px;
        justify-content: center;
    }
    /* Mission section mobile optimizations */
    .mission-section {
        padding: 30px 15px 50px 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .mission-values {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }

    .value-card {
        text-align: center;
        padding: 25px 20px;
    }

    .value-card h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .value-card p {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    /* About section mobile optimizations */
    .about-section {
        padding: 50px 15px;
        margin-left: 0;
        padding-left: 15px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .about-features {
        gap: 20px;
    }

    .feature-item {
        align-items: center;
        text-align: center;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        transform: none !important;
    }

    .feature-item:hover {
        transform: translateY(-5px) !important;
    }

    .feature-content {
        text-align: center;
    }

    .feature-content h3 {
        text-align: center;
        font-size: 1.1rem;
    }

    .feature-content p {
        text-align: center;
        width: 100%;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 25px;
        margin: 0 auto;
        max-width: 300px;
        transform: none !important;
    }

    /* Contact section mobile optimizations */
    .contact-section {
        padding: 50px 15px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .contact-info p {
        text-align: center;
        width: 95%;
        margin: 0 auto 30px auto;
    }

    .contact-details {
        align-items: center;
        gap: 20px;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
        transform: none !important;
    }

    .contact-text {
        text-align: center;
    }

    .contact-text h4 {
        text-align: center;
        margin-top: 5px;
    }

    .contact-text p {
        text-align: center;
        width: 100%;
    }

    .contact-form-container {
        padding: 30px 20px;
        margin-top: 30px;
        transform: none !important;
    }

    /* Footer mobile optimizations */
    footer {
        padding: 30px 15px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-left: 0;
        text-align: center;
    }

    .footer-legal, .footer-social {
        width: 100%;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-legal {
        order: 2;
    }

    .footer-social {
        order: 3;
        margin-top: 15px;
    }

    .footer-logo {
        order: 1;
        margin-bottom: 20px;
    }

    #footer-logo {
        margin: 0 auto;
        max-width: 180px;
        max-height: auto;
    }

    .footer-legal a {
        margin: 5px 0;
        text-align: center;
        padding: 8px 0;
    }

    .footer-social a {
        margin: 0 15px;
        font-size: 24px;
    }

    .copyright {
        margin-top: 20px;
        padding: 15px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    section {
        padding-bottom: 40px;
    }

    h1, h2 {
        font-size: 20px;
        padding-top: 10px;
    }

    h3 {
        font-size: 18px;
        padding-top: 15px;
    }

    p {
        width: 95%;
        font-size: 14px;
        padding: 5px 0;
    }

    .hero-section {
        min-height: 80vh;
        padding: 15px 10px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .cta-button {
        width: 200px;
        padding: 12px 25px;
        font-size: 15px;
    }

    .services-section {
        padding: 30px 10px;
    }
    
    .services-container h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .services-intro {
        font-size: 14px;
        margin-bottom: 30px;
        width: 100%;
        padding: 0 5px;
    }
    
    .timeline-path-mobile {
        left: 5px;
        width: 15px;
    }
    
    .service-step {
        margin-bottom: 40px;
        padding-left: 0;
        width: 100%;
    }
    
    .step-circle {
        width: 45px;
        height: 45px;
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .step-content {
        width: 100%;
        padding: 15px 12px;
        margin: 0;
    }
    
    .step-content h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .step-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .feature-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    .mission-section {
        padding: 40px 10px;
    }

    .mission-values {
        max-width: 350px;
        gap: 15px;
    }

    .value-card {
        padding: 20px 15px;
    }

    .about-section {
        padding: 40px 10px;
        padding-left: 10px;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .feature-item {
        padding: 15px;
        gap: 12px;
    }

    .tech-stack {
        max-width: 280px;
        gap: 12px;
        padding: 20px;
    }

    .tech-item {
        padding: 15px 10px;
        font-size: 13px;
    }

    .contact-section {
        padding: 40px 10px;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 15px;
        width: 100%;
    }

    .contact-form-container {
        padding: 25px 15px;
        margin-top: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Footer extra small mobile optimizations */
    footer {
        padding: 20px 10px;
    }

    .footer-links {
        gap: 20px;
    }

    #footer-logo {
        max-width: 150px;
        max-height: auto;
    }

    .footer-legal a {
        font-size: 14px;
        padding: 6px 0;
        margin: 3px 0;
    }

    .footer-social a {
        margin: 0 12px;
        font-size: 22px;
    }

    .copyright {
        font-size: 13px;
        padding: 12px 0;
        margin-top: 15px;
    }
}
