/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    line-height: normal;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Contact Page Container */
.contact-page {
    width: 100%;
    position: relative;
    background-color: #131210;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ===================================
   Contact Hero Section
   =================================== */

.contact-hero {
    align-self: stretch;
    min-height: 1100px;
    position: relative;
    overflow: visible;
}

/* Decorative Background */
.decorative-background {
    width: 1892px;
    height: 1503px;
    left: -420px;
    top: -74px;
    position: absolute;
    pointer-events: none;
}

.circle-small-left {
    width: 805px;
    height: 805px;
    left: 0px;
    top: 112px;
    position: absolute;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.circle-large {
    width: 1503px;
    height: 1503px;
    left: 389px;
    top: 0px;
    position: absolute;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.line {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.horizontal-1 {
    width: 1440.01px;
    height: 0px;
    left: 420px;
    top: 760px;
}

.horizontal-2 {
    width: 1440.01px;
    height: 0px;
    left: 420px;
    top: 540px;
}

.horizontal-3 {
    width: 1440.01px;
    height: 0px;
    left: 420px;
    top: 320px;
}

.vertical-1 {
    width: 1440.01px;
    height: 0px;
    left: 737px;
    top: 1443.01px;
    transform: rotate(-90deg);
    transform-origin: top left;
}

.vertical-2 {
    width: 1440.01px;
    height: 0px;
    left: 1542px;
    top: 1481.01px;
    transform: rotate(-90deg);
    transform-origin: top left;
}

/* Desktop/Mobile Toggle */
.mobile-only {
    display: none !important;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 60px;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    width: calc(100% - 80px);
    max-width: none;
    height: 80px;
    box-sizing: border-box;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.content-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 12px 24px;
    border-radius: 100px;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background-color: transparent;
}

.demo-button {
    background-color: #ffffff;
    color: #000000 !important;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    display: inline-block;
}

.demo-button:hover {
    background-color: #e0e0e0;
    opacity: 1;
    color: #000000 !important;
    text-decoration: none !important;
}

/* Contact Header */
.contact-header {
    position: relative;
    width: 700px;
    margin: 183px 0 0 0;
    margin-left: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.contact-header h1 {
    text-align: center;
    color: white;
    font-size: 64px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.1;
    margin: 0;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

/* Contact Content Area */
.contact-content {
    position: relative;
    width: 100%;
    margin: 60px 0 0 0;
    padding-left: 40px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 10;
}

/* Contact Form */
.contact-form {
    width: 700px;
    max-width: 700px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    backdrop-filter: blur(1.3px);
    position: relative;
    z-index: 5;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    color: white;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 21px;
    background: #21201E;
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-size: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 27px;
    box-sizing: border-box;
    backdrop-filter: blur(1.3px);
}

.form-field input {
    height: 59px;
}

.form-field textarea {
    min-height: 203px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.60);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    background: #2a2927;
}

/* Submit Button */
.submit-button {
    width: 100%;
    height: 68px;
    padding: 11px 21px;
    background: white;
    border: none;
    border-radius: 100px;
    color: #131313;
    font-size: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 27px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 27px;
    display: block;
}

.submit-button:hover {
    background-color: #e0e0e0;
}

/* Contact Image Container */
.contact-image-container {
    position: absolute;
    right: -350px;
    top: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: visible;
    z-index: 1;
}

/* Fading Image with CSS Mask */
.fading-image {
    width: 1100px;
    height: auto;
    display: block;
    object-fit: contain;
    margin-left: -69px;
    margin-top: -110px;

    /* The CSS Mask for smooth, extended fade effect */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 8%,
        rgba(0, 0, 0, 0.6) 12%,
        black 18%,
        black 70%,
        rgba(0, 0, 0, 0.8) 80%,
        rgba(0, 0, 0, 0.5) 90%,
        transparent 100%
    );

    /* For broader browser compatibility (Safari) */
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 8%,
        rgba(0, 0, 0, 0.6) 12%,
        black 18%,
        black 70%,
        rgba(0, 0, 0, 0.8) 80%,
        rgba(0, 0, 0, 0.5) 90%,
        transparent 100%
    );
}

/* ===================================
   Footer Section
   =================================== */

.site-footer {
    position: relative;
    width: 100%;
    background-color: #121212;
    color: #E0E0E0;
    padding: 80px 60px 40px 60px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Background Watermark */
.site-footer::after {
    content: "";
    background-image: url("assets/images/logo copy.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 50px;
    bottom: 20px;
    width: 300px;
    height: 300px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Footer Main Layout */
.footer-main {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    margin: 0 0 40px 0;
}

/* Left Side: Logo, Newsletter, Copyright */
.footer-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-logo {
    width: 180px;
    height: auto;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 18px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #444444;
    border-radius: 0;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
}

.newsletter-form input[type="email"]::placeholder {
    color: #757575;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

/* Newsletter Submit Button with Circular Arrow */
.newsletter-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: #E0E0E0;
    font-size: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.newsletter-submit:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.newsletter-submit span {
    flex: 1;
    text-align: left;
}

/* Circular Arrow Button */
.arrow-circle {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.newsletter-submit:hover .arrow-circle {
    transform: translateX(4px);
}

.arrow-circle img {
    width: 20px;
    height: 20px;
}

/* Footer Copyright */
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    color: #9E9E9E;
    flex-wrap: wrap;
}

.footer-copyright a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #ffffff;
}

.footer-copyright .divider {
    color: #555555;
}

/* Right Side: Navigation Links */
.footer-nav {
    display: flex;
    flex: 1;
    justify-content: space-around;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-column h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 25px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.3s ease;
}

.nav-column a:hover {
    color: #ffffff;
}

.nav-column a img {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-column a:hover img {
    opacity: 1;
    transform: translateX(2px);
}

/* Back to Top */
.back-to-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 40px 0 0 0;
    color: #B0B0B0;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-top:hover {
    color: #ffffff;
}

.back-to-top img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover img {
    opacity: 1;
    transform: translateY(-2px);
}

/* Desktop Responsive Styles - For screens larger than 1440px */
@media (min-width: 1441px) {
    /* Contact Page - Center content */
    .contact-page {
        align-items: center;
    }

    /* Contact Hero - Limit width */
    .contact-hero {
        max-width: 1440px;
        width: 100%;
        margin: 0 auto;
    }

    /* Navigation - Full width */
    .main-nav {
        max-width: none;
        width: calc(100% - 80px);
    }

    /* Contact Content - Limit width */
    .contact-content {
        max-width: 1440px;
        margin: 0 auto;
        padding-left: 80px;
        padding-right: 80px;
    }

    /* Form Container - Limit width */
    .form-container {
        max-width: 800px;
        margin: 0 auto;
    }

    /* Footer - Full width */
    .footer-main {
        max-width: none;
        width: 100%;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    /* Body and Container */
    body {
        -webkit-tap-highlight-color: transparent;
        -webkit-text-size-adjust: 100%;
        overflow-y: visible !important;
    }

    .contact-page {
        font-size: 16px;
        overflow-x: hidden;
        overflow-y: visible;
    }

    /* Desktop/Mobile Toggle */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    /* Contact Hero Mobile */
    .contact-hero {
        min-height: auto;
        padding: 80px 16px 40px 16px;
    }

    /* Navigation - Mobile (Pill Style) */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
        padding: 12px 16px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: none;
        padding: 12px 20px;
        background: rgba(33, 32, 30, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        left: auto;
        top: auto;
        transform: none !important;
        height: auto;
    }

    /* Logo */
    .logo img,
    .content-icon {
        height: 60px;
        width: auto;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.desktop-only {
        display: none !important;
    }

    /* Mobile Menu Button */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
        z-index: 1001;
        flex-shrink: 0;
    }

    .mobile-menu-toggle .menu-line {
        display: block !important;
        width: 24px;
        height: 3px;
        background: white;
        transition: all 0.3s ease;
        border-radius: 2px;
        flex-shrink: 0;
    }

    .mobile-menu-toggle.active .menu-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active .menu-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .mobile-menu-toggle .menu-icon,
    .hamburger-icon {
        display: none;
    }

    /* Full-Screen Overlay Menu */
    .mobile-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #21201E;
        visibility: hidden;
        opacity: 0;
        display: none;
        transition: all 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mobile-menu.active {
        visibility: visible;
        opacity: 1;
        display: block;
    }

    .mobile-menu-content {
        padding: 0 20px 40px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        min-height: calc(100vh - 76px);
        position: relative;
    }

    /* Menu Items */
    .mobile-menu-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
        flex: 1;
        width: 100%;
    }

    .mobile-menu-link {
        color: white;
        text-decoration: none;
        font-size: 36px;
        font-weight: 500;
        background: transparent;
        border: none;
        padding: 20px 0;
        cursor: pointer;
        font-family: 'Plus Jakarta Sans', sans-serif;
        transition: opacity 0.3s ease;
        text-align: center;
        width: 100%;
    }

    .mobile-menu-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-link:active {
        opacity: 0.6;
    }

    .mobile-lang-dropdown {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        text-align: center;
        padding: 20px 0 10px 0 !important;
        font-size: 36px !important;
        font-weight: 500 !important;
        font-family: 'Plus Jakarta Sans', sans-serif !important;
        color: white !important;
    }

    .mobile-lang-dropdown .lang-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-flag-icon {
        width: 28px;
        height: 28px;
        object-fit: contain;
        vertical-align: middle;
    }

    .mobile-lang-dropdown .lang-arrow {
        font-size: 20px;
        opacity: 0.6;
        transition: transform 0.3s ease;
    }

    .mobile-lang-dropdown.expanded .lang-arrow {
        transform: rotate(180deg);
    }

    .mobile-lang-dropdown::after {
        display: none;
    }

    /* Language Options */
    .mobile-language-options {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        margin-top: 0;
        width: 100%;
    }

    .mobile-language-options.show {
        display: flex;
    }

    .mobile-lang-btn {
        padding: 10px 20px;
        background: transparent;
        color: rgba(255, 255, 255, 0.8);
        border: none;
        font-size: 28px !important;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Plus Jakarta Sans', sans-serif;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .mobile-lang-btn .mobile-flag-icon {
        width: 24px;
        height: 24px;
    }

    .mobile-lang-btn:active {
        color: white;
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-lang-btn.active {
        color: white;
        font-weight: 600;
    }

    /* Try Koda Button - positioned at bottom */
    .mobile-cta-btn,
    .mobile-menu-content .demo-button {
        display: block;
        width: 100%;
        padding: 18px 20px;
        background: white;
        color: #131313 !important;
        text-decoration: none;
        text-align: center;
        border-radius: 100px;
        font-size: 18px;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-top: auto;
        margin-bottom: 40px;
        line-height: 1.5;
    }

    .mobile-cta-btn:active,
    .mobile-menu-content .demo-button:active {
        background: #f0f0f0;
        transform: scale(0.98);
    }

    /* Prevent body scroll when menu open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    .mobile-menu.mobile-only {
        display: none !important;
    }

    .mobile-menu.mobile-only.active {
        display: block !important;
    }

    /* Contact Header Mobile */
    .contact-header {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 40px auto 0 auto;
        padding: 40px 0 20px 0;
        text-align: center;
    }

    .contact-header h1 {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .contact-header p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 20px;
    }

    /* Contact Content Mobile */
    .contact-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 20px auto 0 auto;
        flex-direction: column;
        gap: 40px;
        padding: 40px 0;
    }

    /* Contact Form Mobile */
    .contact-form {
        width: 100%;
        padding: 0;
    }

    .form-field {
        margin-bottom: 24px;
    }

    .form-field label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-field input,
    .form-field textarea {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 8px;
    }

    .form-field textarea {
        min-height: 120px;
    }

    .submit-button {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        min-height: 52px;
        border-radius: 14px;
    }

    /* Contact Image - Hide on mobile */
    .contact-image-container {
        display: none;
    }

    /* Decorative elements - Reduce opacity on mobile */
    .decorative-background {
        opacity: 0.3;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 60px 20px 40px 20px;
        overflow: hidden;
    }

    /* Watermark logo - contained and centered on mobile */
    .site-footer::after {
        width: 200px;
        height: 200px;
        right: 50%;
        bottom: 50%;
        transform: translate(50%, 50%);
        opacity: 0.03;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        flex: 1;
        max-width: 100%;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .back-to-top {
        margin: 40px 0 0 0;
        justify-content: center;
    }
}

/* CRITICAL: Force Get Started button text to be black - MUST override everything */
.nav-links a[href*="getkoda.app"],
a[data-i18n-key="nav.get_started"],
.demo-button,
a.demo-button,
.nav-links .demo-button,
header .demo-button,
nav .demo-button {
    color: #000000 !important;
}

.nav-links a[href*="getkoda.app"]:hover,
.nav-links a[href*="getkoda.app"]:visited,
.nav-links a[href*="getkoda.app"]:active,
a[data-i18n-key="nav.get_started"]:hover,
a[data-i18n-key="nav.get_started"]:visited,
a[data-i18n-key="nav.get_started"]:active {
    color: #000000 !important;
}

/* Simple fix: Get Started button text must be black */
.demo-button { color: #000 !important; }

