:root {
    /* Forest Mystery Palette */
    --color-bg: #0d1f22;
    /* Deep Dark Teal (Midnight Forest) */
    --color-surface: #132a2e;
    /* Lighter Teal Surface */
    --color-text: #eaf4f4;
    /* Mist White */
    --color-text-muted: #88b0b5;
    /* Muted Fog Blue */
    --color-accent: #fca311;
    /* Amber Gold (Lantern Light) */
    --color-accent-secondary: #2ec4b6;
    /* Tech Mint (Digital Anomaly) */
    --border-color: #264653;
    /* Subtle Forest Border */

    /* Fonts */
    --font-heading: 'Underdog', 'Creepster', cursive;
    --font-handwritten: 'Walter Turncoat', cursive;
    --font-body: 'Special Elite', monospace;
}

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

html {
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

html::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 100%;
}


.forest-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url('gf-bg.png') no-repeat center center/cover;
    z-index: -2;
    filter: sepia(0.6) hue-rotate(130deg) brightness(0.4) contrast(1.1);
    opacity: 0.8;
}

h1 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    letter-spacing: 2px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);

}

h2 {
    font-family: var(--font-body);
    color: var(--color-accent-secondary);
    /* Mint Subtitle */
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0;
    font-weight: bold;
}

.handwritten {
    font-family: var(--font-handwritten);
    color: var(--color-text-muted);
}


header {
    padding: 10px 24px 20px;
    min-height: 80px;
    max-width: 1100px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    top: 0;
    z-index: 100;
    background: rgba(13, 31, 34, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-radius: 30px;
}

.wooden-sign {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.logo {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.8rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-accent);
    /* Gold Hover */
    transform: translateY(-2px);
}

.squere {
    width: 380px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 50px auto;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.squere:hover {
    transform: translateX(10px);
}

.list-content {
    text-align: left;
    width: 100%;
    padding-left: 5px;
    /* Indent slightly if desired, or keep it clean */
}

.list-content p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.btn-contact {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background-color: var(--color-accent);
    color: #1a1a2e;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
}

header .btn-contact {
    margin-top: 0;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

header .btn-contact:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: none;
    transform: none;
}

.btn-contact:hover {
    background-color: var(--color-accent-secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.5);
}

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
    font-family: var(--font-body);
    font-weight: bold;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1;
}

.lang-btn {
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 5px;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--color-text);
}

.lang-btn.active {
    color: var(--color-accent);
    /* Gold for active language */
    text-shadow: 0 0 5px rgba(252, 163, 17, 0.5);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background-color: rgba(4, 15, 17, 0.627);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border-radius: 15px;
}

footer a {
    color: #2ec4b6;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5e7eb;
    white-space: nowrap;
    font-size: 14px;
}

.tech-item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
}

.tech-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

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

.tech-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: scroll 25s linear infinite;
}

/* Request Form Styles */
.request-form-container {
    max-width: 500px;
    width: 90%;
}

.request-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent-secondary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

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

.btn-submit {
    padding: 14px 32px;
    background-color: var(--color-accent);
    color: #1a1a2e;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 163, 17, 0.4);
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--color-accent-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 196, 182, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-message {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(46, 196, 182, 0.2);
    color: var(--color-accent-secondary);
    border: 1px solid var(--color-accent-secondary);
}

.form-message.error {
    display: block;
    background: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}


/* Tablet and Small Desktop Adaptation */
@media (max-width: 1024px) {
    header {
        width: 95%;
        padding: 10px 20px;
    }

    .squere {
        width: 60%;
        max-width: 600px;
        /* Disable animation on touch devices/smaller screens */
        transform: none !important;
        transition: none !important;
    }

    .squere:hover {
        transform: none !important;
    }

    h1 {
        font-size: 3rem;
    }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
        /* Slightly smaller for better fit */
        letter-spacing: 1px;
        padding: 0 10px;
        /* Prevent edge touching */
    }

    h2 {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    header {
        padding: 15px 15px;
        border-radius: 20px;
        /* Soften for mobile */
        min-height: auto;
        /* Allow flexible height */
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .wooden-sign {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        /* Center everything */
    }

    .lang-switch {
        justify-content: center;
        /* Center language options */
        width: 100%;
        gap: 15px;
    }

    .btn-contact {
        /* On mobile inside header, make it distinct or hide if too crowded. 
           Current design shows it in .lang-switch. Let's make it look good. */
        margin-top: 5px;
        width: auto;
    }

    /* Global contact button override for header specific context if needed */
    header .btn-contact {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        display: block;
        /* Make it a block on mobile for better touch target */
        padding: 10px;
    }

    .squere {
        width: 92%;
        max-width: 100%;
        padding: 25px 20px;
        margin: 30px auto;
        /* Reduced top margin */
    }

    .squere h3 {
        font-size: 1.2rem;
        /* Clean up headers in boxes */
    }

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

    footer {
        padding: 20px 10px;
        text-align: center;
        gap: 15px;
    }

    footer p {
        font-size: 0.85rem;
    }

    .request-form-container {
        width: 92%;
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .btn-submit {
        width: 100%;
        padding: 16px;
        /* Larger touch target */
    }
}