body {
    margin: 0;
    padding: 0;
    font-family: 'Inter Tight__subset', "Inter Tight", "sans-serif";
    overflow-x: hidden;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

/* Enhanced smooth scrolling styles */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

* {
    -webkit-overflow-scrolling: touch;
}

/* Performance optimizations for older devices */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Reduce animations on slower devices */
@media (max-width: 768px) {
    .content {
        text-shadow: none;
    }

    .bg {
        will-change: auto;
    }
}

/* GDPR Consent Modal */
.gdpr-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.gdpr-modal-content {
    background-color: rgba(255, 255, 255, 0.8);
    margin: 10% auto;
    padding: 21px;
    padding-top: 1px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
    font-size: 1em;
}



.gdpr-buttons {
    text-align: center;
    margin-top: 20px;
    margin-left: 0px !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 10px;
}

.gdpr-buttons button {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
    font-size: 1em;
    background-color: #f0f0f0;
    color: black;
    transition: background-color 0.3s ease;
    flex: 1;
}

#gdpr-accept-all,
#gdpr-accept-all-simple {
    background-color: black !important;
    color: white !important;
    font-weight: bold !important;
}

#gdpr-accept-all:hover,
#gdpr-accept-all-simple:hover {
    background-color: #5c5c5c !important;
}

.gdpr-buttons button:hover {
    background-color: #c1c1c1;
}

/* Privacy Policy Table */
.privacy-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.privacy-section th, .privacy-section td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.privacy-section th {
    background-color: #f2f2f2;
}


#scrollytelling {
    position: relative;
}

.panel {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.panel.intro {
    align-items: flex-end;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    background-size: cover;
    background-position: center;
    transform: translateZ(0) scale(1.0);
    will-change: transform;
    contain: layout style paint;
    filter: brightness(7) blur(80px) opacity(0);
}

.panel:not(.intro) .bg {
    filter: brightness(1) blur(0px);
}

/* Desktop background images */
#intro .bg {
    background-image: url('/images/intro-b.jpg');
    background-position: bottom;
}

.content {
    position: relative;
    left: 10%;
    color: #ffffff;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
    transform: translateZ(0);
    contain: layout style;
    /* Keep container visible; reveal individual H1/P elements separately. */
    opacity: 1;
}

.panel:not(.intro) .content {
    overflow: hidden;
}

.intro .content {
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    max-width: 1000px;
    opacity: 0;
    margin-bottom: 25%;
}

.intro .content h1 {
    font-size: 4.2em;
    font-weight: 900;
    letter-spacing: -0.05em;
    max-width: 1200px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Start non-intro headings and paragraphs hidden — we'll reveal them in two stages via JS/GSAP */
.panel:not(.intro) .content h2 {
    opacity: 0;
}
.panel:not(.intro) .content p {
    opacity: 0;
}

.content h1, .content h2 {
    font-size: 3em;
    margin: 0 0 0.2em 0;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    orphans: 2;
    widows: 2;
}

.content p {
    font-size: 1.2em;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.9;
    text-align: left;
    orphans: 2;
    widows: 2;
}

.intro .content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.footer {
    position: static !important;
    padding: 1rem;
    text-align: center;
    color: #575757;
    font-size: 0.9em;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
    transform: translateY(0) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-content p, .footer-content .legal-links {
    margin: 0 1rem;
}

.legal-links {
    margin-top: 0;
}

.footer-content a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif !important;
}

.footer-content a:hover {
    color: #666;
}

/* Contact form styles */
.contact-form {
    max-width: 100%;
    margin: 1rem 0;
    padding: 0;
    background: transparent;
    border-radius: 8px;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    color: #000;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group textarea:hover {
    outline: none;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    color: #000;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #434343;
    opacity: 0.7;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    color: rgb(55, 55, 55);
    border: none;
    border-radius: 4px;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, 0.9);
}

.submit-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 1);
}

/* Consent Text */
.consent-text {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.80em !important;
    line-height: 1.4 !important;
    margin-top: -2.5rem !important;
}

.consent-text {
    margin-bottom: 5em !important;
}

.consent-text a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.consent-text a:hover {
    color: rgba(255, 255, 255, 1.0);
}
.honeypot {
    display: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    overflow-y: auto;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.privacy-content {
    max-width: 800px;
    color: #333;
    text-align: left;
    line-height: 1.6;
}

.privacy-content h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.privacy-content h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.privacy-content p {
    font-size: 1.1em;
    margin-bottom: 1rem;
}

.back-button {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #333;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}

.back-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.privacy-section, .terms-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 2rem;
    font-family: 'Inter Tight__subset', "Inter Tight", sans-serif;
}

.privacy-section .content, .terms-section .content {
    max-width: 800px;
    color: #333;
    text-align: left;
    line-height: 1.6;
}

.privacy-section h1, .terms-section h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.privacy-section h2, .terms-section h2 {
    font-size: 1.5em;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.privacy-section p, .terms-section p {
    font-size: 1.1em;
    margin-bottom: 1rem;
}




/* Arrow button styling */
.icon-scroll {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin: 0 auto;
    transform-origin: center;
    outline: none;
}

.icon-scroll:hover {
    background: transparent;
}


.icon-scroll::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border: 0.5px solid #ffffff;
    border-top: none;
    border-left: none;
    transition: all 0.3s ease;
}

.icon-scroll:hover::before {
    border-color: #cccccc;
}


