@font-face {
    font-family: 'Altone Trial';
    src: url('fonts/Altone Trial-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Altone Trial';
    src: url('fonts/Altone Trial-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeueLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: #FFFFFF;
    font-family: 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
}

/* Force the form container to push the footer to the bottom */
.form-container {
    width: 100%;
    max-width: 1000px;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
    flex-grow: 1; 
}

body.light-mode {
    background-color: #F8F9FA;
    color: #000000;
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}



body.light-mode .orb {
    opacity: 0.1;
}

body.light-mode .orb-2 {
    background: #000000; 
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

body.light-mode .nav-links a { color: #000000; }
body.light-mode .btn-outline { color: #000000; }
body.light-mode .navbar.scrolled-nav .btn-outline { color: #FFFFFF; }
body.light-mode .btn-outline:hover { color: #FFFFFF; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 40px 80px; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.navbar::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background-color: transparent; z-index: -1; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.navbar .logo img { height: 50px; transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.nav-content { display: flex; align-items: center; gap: 40px; }
.hamburger { display: none; flex-direction: column; gap: 8px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 32px; height: 2px; border-radius: 2px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease; }
.hamburger span:nth-child(1) { background-color: #F46B2F; }
.hamburger span:nth-child(2) { background-color: #FFFFFF; }
body.light-mode .hamburger span:nth-child(2) { background-color: #000000; }
.hamburger.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
.navbar.scrolled-nav { top: 20px; width: 80%; left: 10%; padding: 15px 40px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.navbar.scrolled-nav::before { background-color: rgba(20, 20, 20, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.navbar.scrolled-nav .logo img { height: 35px; }
body.light-mode .navbar.scrolled-nav { border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
body.light-mode .navbar.scrolled-nav::before { background-color: rgba(255, 255, 255, 0.85); }
.nav-links { display: flex; list-style: none; gap: 40px; transition: opacity 0.3s ease; }
.nav-links a { color: #FFFFFF; text-decoration: none; font-size: 16px; font-family: 'Altone Trial', sans-serif; font-weight: 400; position: relative; padding-bottom: 5px; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background-color: #F46B2F; opacity: 0; transition: all 0.3s ease; }
.nav-links a:hover::after { bottom: 0; opacity: 1; }

.btn-outline { background-color: transparent; color: #FFFFFF; border: 1px solid #F46B2F; padding: 12px 24px; border-radius: 6px; font-family: 'Altone Trial', sans-serif; font-size: 16px; font-weight: 400; cursor: pointer; position: relative; z-index: 1; overflow: hidden; transition: color 0.3s ease, background-color 0.3s ease; text-decoration: none; }
.btn-outline::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background-color: #F46B2F; transition: height 0.3s ease; z-index: -1; }
.btn-outline:hover::before { height: 100%; }
.btn-outline:hover { color: #FFFFFF; }
.navbar.scrolled-nav .btn-outline { background-color: #F46B2F; color: #FFFFFF; }

.hidden-top { transform: translateY(-100%); opacity: 0; }
.show-nav { transform: none; opacity: 1; transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease; }

.form-container {
    width: 100%;
    max-width: 1000px;
    padding: 140px 20px 60px; 
    position: relative;
    z-index: 10;
    flex-grow: 1; 
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.circle-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease;
}

body.light-mode .circle-logo {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

.circle-logo img {
    height: 55px; /* Makes the bare logo a bit larger and readable */
    width: auto;
    object-fit: contain;
}

.form-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
}

body.light-mode .form-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
}

body.light-mode .progress-container {
    background: rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 100%;
    width: 25%; 
    background: linear-gradient(90deg, #F46B2F, #ff8c5a);
    box-shadow: none;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

body.light-mode .progress-bar {
    box-shadow: none;
}

.form-step {
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-step.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.form-step.slide-out-left {
    display: flex;
    position: absolute;
    top: 50px; left: 50px; right: 50px;
    opacity: 0;
    transform: translateX(-30px);
    pointer-events: none;
}

.form-step.slide-out-right {
    display: flex;
    position: absolute;
    top: 50px; left: 50px; right: 50px;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
}

.form-main-title {
    font-family: 'Altone Trial', sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #FFFFFF; /* Replaced the gradient clip with a solid color */
}

body.light-mode .form-main-title {
    color: #000000;
}
.form-subtitle {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 30px;
    color: #F46B2F;
}

.form-intro {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.form-intro p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

body.light-mode .form-intro p {
    color: rgba(0, 0, 0, 0.7);
}

.signature {
    margin-top: 20px;
    font-weight: 500 !important;
    font-family: 'Altone Trial', sans-serif;
}

.input-group {
    position: relative;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
}

.group-label {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 15px;
    display: block;
}

body.light-mode .group-label {
    color: #000000;
}

input[type="text"], textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 28px 20px 12px; 
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    outline: none;
    transition: all 0.3s ease;
    resize: vertical;
}

body.light-mode input[type="text"], body.light-mode textarea {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000000;
}

input[type="text"] + label, textarea + label {
    position: absolute;
    left: 20px;
    top: 20px; 
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
body.light-mode input[type="text"] + label, body.light-mode textarea + label {
    color: rgba(0, 0, 0, 0.5);
}

input[type="text"]:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

body.light-mode input[type="text"]:focus, body.light-mode textarea:focus {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
}

input[type="text"]:focus + label, 
input[type="text"]:not(:placeholder-shown) + label,
textarea:focus + label, 
textarea:not(:placeholder-shown) + label {
    top: 8px; 
    font-size: 11px;
    color: #F46B2F;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #F46B2F;
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
}

input[type="text"]:focus ~ .input-highlight,
textarea:focus ~ .input-highlight {
    width: 98%;
    box-shadow: 0 -5px 20px rgba(244, 107, 47, 0.5);
}

body.light-mode input[type="text"]:focus ~ .input-highlight,
body.light-mode textarea:focus ~ .input-highlight {
    box-shadow: none;
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.radio-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.radio-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 600px) {
    .radio-grid.columns-2, .radio-grid.columns-3 {
        grid-template-columns: 1fr;
    }
}

.tally-radio {
    cursor: pointer;
    display: block;
    position: relative;
}

.tally-radio input {
    display: none;
}

.tally-radio-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

body.light-mode .tally-radio-box {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.01);
}

.radio-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(244, 107, 47, 0.2) 0%, transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    transform: scale(0.8);
}

.tally-key {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

body.light-mode .tally-key {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
}

.tally-label-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

body.light-mode .tally-label-text {
    color: rgba(0, 0, 0, 0.9);
}

.tally-radio:hover .tally-radio-box {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

body.light-mode .tally-radio:hover .tally-radio-box {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.3);
}

.tally-radio input:checked + .tally-radio-box {
    border-color: #F46B2F;
    /* Increased opacity for visible light orange in Dark Mode */
    background: rgba(244, 107, 47, 0.20) !important; 
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px #F46B2F;
}

body.light-mode .tally-radio input:checked + .tally-radio-box {
    border-color: #F46B2F;
    /* Replaced white with light orange for Light Mode */
    background: rgba(244, 107, 47, 0.15) !important; 
    box-shadow: inset 0 0 0 1px #F46B2F;
}

.tally-radio input:checked + .tally-radio-box .radio-glow,
body.light-mode .tally-radio input:checked + .tally-radio-box .radio-glow {
    display: none; /* Hides the HTML glow div completely */
}

.tally-radio input:checked + .tally-radio-box .tally-key {
    background: #F46B2F;
    color: #FFFFFF;
    box-shadow: none;
}

.tally-radio input:checked + .tally-radio-box .tally-label-text {
    color: #FFFFFF;
    font-weight: 500;
}

body.light-mode .tally-radio input:checked + .tally-radio-box .tally-label-text {
    color: #000000;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.checkbox-container:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.light-mode .checkbox-container:hover {
    background: rgba(0, 0, 0, 0.02);
}

.checkbox-container input {
    display: none;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
    margin-top: 2px;
}

body.light-mode .custom-checkbox {
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.custom-checkbox i {
    color: #FFFFFF;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.checkbox-container input:checked + .custom-checkbox {
    background: #F46B2F;
    border-color: #F46B2F;
    box-shadow: none;
}

body.light-mode .checkbox-container input:checked + .custom-checkbox {
    box-shadow: none;
}

.checkbox-container input:checked + .custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

body.light-mode .checkbox-text {
    color: rgba(0, 0, 0, 0.8);
}

.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }

.form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-next {
    background: #FFFFFF;
    color: #000000;
    border: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    margin-left: auto;
}

body.light-mode .btn-next {
    background: #000000;
    color: #FFFFFF;
}

.btn-glow {
    display: none; /* Hide the nested glow element */
}

.btn-next:hover {
    background-color: #F46B2F;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: none;
}

body.light-mode .btn-next:hover {
    background-color: #F46B2F;
}

.btn-next.submit-pulse {
    background: #F46B2F;
    color: #FFFFFF;
    animation: none; /* Removes the pulsing animation */
    box-shadow: none;
}

.btn-back {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    width: max-content;
    transition: all 0.3s ease;
}

body.light-mode .btn-back {
    color: rgba(0, 0, 0, 0.4);
}

.btn-back:hover {
    color: #FFFFFF;
    transform: translateX(-5px);
}

body.light-mode .btn-back:hover {
    color: #F46B2F;
}

.btn-outline-home {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.light-mode .btn-outline-home {
    color: #000000;
    border: 1px solid rgba(0,0,0,0.2);
}

.btn-outline-home:hover {
    background: #FFFFFF;
    color: #000000;
    transform: translateY(-2px);
}

body.light-mode .btn-outline-home:hover {
    background: #000000;
    color: #FFFFFF;
}

.success-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(244, 107, 47, 0.1);
    border: 2px solid #F46B2F;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #F46B2F;
    box-shadow: none;
    animation: successPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.27) forwards;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.theme-btn {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 1000;
    padding: 0;
    display: block;
}

.theme-btn:hover {
    transform: scale(1.1);
    background: transparent;
}

body.light-mode .theme-btn {
    background: transparent;
    color: #000000;
    border: none;
    box-shadow: none;
}

body.light-mode .theme-btn:hover {
    background: transparent;
}

.hidden-element {
    opacity: 0;
    transform: translateY(20px);
}

.show-element {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.word-wrapper {
    display: inline-block;
    white-space: nowrap;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.animate-text .letter {
    animation: letterSlideUp 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Footer Section */
.site-footer {
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 100px 80px 0;
    color: #000000;
    width: calc(100% - 40px);
    max-width: none; 
    margin: 40px auto 20px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

body.light-mode .site-footer {
    background-color: #000000;
    color: #FFFFFF;
}

.footer-content-wrapper {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-logo-row { margin-bottom: 50px; }
.footer-brand { display: flex; flex-direction: column; gap: 15px; }

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.3s ease;
}

.footer-tagline { font-family: 'Helvetica Neue', sans-serif; font-size: 14px; font-weight: 500; }
.footer-main-row { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 80px; }
.footer-links-container { display: flex; gap: 120px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }

.footer-heading {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    margin-bottom: 5px;
}

.footer-col a, .footer-contact p, .footer-contact-link, .footer-copyright p {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

body.light-mode .footer-col a,
body.light-mode .footer-contact p,
body.light-mode .footer-contact-link,
body.light-mode .footer-copyright p {
    color: #FFFFFF;
}

.footer-col a:hover, .footer-contact-link:hover { color: #F46B2F; }

.footer-newsletter { display: flex; flex-direction: column; gap: 10px; max-width: 400px; }

.newsletter-title { font-family: 'Helvetica Neue', sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.newsletter-desc { font-family: 'Helvetica Neue', sans-serif; font-size: 15px; font-weight: 500; line-height: 1.4; margin-bottom: 15px; }

.newsletter-form {
    display: flex;
    background-color: #000000;
    border-radius: 50px;
    padding: 6px;
    width: 100%;
    transition: background-color 0.3s ease;
}

body.light-mode .newsletter-form { background-color: rgba(255, 255, 255, 0.15); }

.newsletter-form input {
    background: transparent; border: none; padding: 12px 20px; color: #FFFFFF;
    font-family: 'Helvetica Neue', sans-serif; font-size: 14px; flex-grow: 1; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.6); }

.newsletter-form button {
    background-color: #FFFFFF; color: #000000; border: none; padding: 12px 28px;
    border-radius: 40px; font-family: 'Helvetica Neue', sans-serif; font-size: 14px;
    font-weight: 500; cursor: pointer; transition: transform 0.3s ease, background-color 0.3s ease;
}
body.light-mode .newsletter-form button { background-color: #F46B2F; color: #FFFFFF; }
.newsletter-form button:hover { transform: scale(1.05); }

.footer-bottom-row { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 60px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-giant-text-container { display: flex; justify-content: center; overflow: hidden; padding-top: 20px; }

.giant-text {
    font-family: 'Altone Trial', sans-serif;
    font-size: 7.5vw;
    font-weight: 700;
    letter-spacing: -3px;
    white-space: nowrap;
    line-height: 0.75;
    transform: translateY(10px);
}
/* =========================================
   TALLY FORM TESTIMONIAL SLIDER
   ========================================= */
.tally-testimonial-slider {
    position: relative;
    width: 100%;
    margin-top: 40px; /* <--- THIS PUSHES THE DIVIDER DOWN */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 35px;
}
.tally-key {
    display: none !important;
}
body.light-mode .tally-testimonial-slider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tally-slides-container {
    position: relative;
    width: 100%;
    min-height: 140px; /* Reduced since authors were removed */
}

.tally-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tally-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.tally-quote {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.5px;
}

body.light-mode .tally-quote {
    color: #333333;
}

.tally-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-top: 70px;
    width: 100%;
}
.tally-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.light-mode .tally-dot {
    background-color: rgba(0, 0, 0, 0.15);
}

.tally-dot.active {
    background-color: #F46B2F !important;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .tally-quote {
        font-size: 24px;
    }
    .tally-slides-container {
        min-height: 180px; /* Reduced for mobile since authors are gone */
    }
    .tally-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-top: 50px;
    width: 100%;
}
}

@keyframes letterSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1440px) {
    .navbar { padding: 50px 120px; }
    .navbar.scrolled-nav { padding: 15px 60px; width: 70%; left: 15%; }
}

@media (max-width: 1366px) {
    .navbar { padding: 40px 60px; }
    .navbar.scrolled-nav { width: 85%; left: 7.5%; }
}

@media (max-width: 1024px) {
    .navbar { flex-direction: row; padding: 30px 40px; }
    .navbar.scrolled-nav { flex-direction: row; padding: 15px 30px; width: 90%; left: 5%; }
    .hamburger { display: flex; }
    .nav-content { position: fixed; bottom: 0; left: 0; width: 100%; background-color: rgba(20, 20, 20, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); flex-direction: column; padding: 50px 20px 80px; border-radius: 30px 30px 0 0; transform: translateY(100%); visibility: hidden; opacity: 0; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 0.6s; z-index: -1; border-top: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5); }
    .nav-content.active { transform: translateY(0); visibility: visible; opacity: 1; }
    body.light-mode .nav-content { background-color: rgba(255, 255, 255, 0.95); border-top: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1); }
    .nav-links { flex-direction: column; align-items: center; gap: 25px; }
    .nav-links a { font-size: 20px; }
}

/* =========================================
   RESPONSIVE FIXES (TABLET TO ULTRA-SMALL)
   ========================================= */
@media (max-width: 1024px) {
    /* Triggers early stacking on smaller laptops/large tablets */
    .footer-main-row { flex-direction: column; gap: 60px; }
    .footer-links-container { gap: 80px; }
    .footer-newsletter { max-width: 100%; }
}

@media (max-width: 768px) {
    .form-card { padding: 40px 30px; }
    
    /* Forces the footer to neatly stack everything on iPads/Tablets */
    .site-footer, #footer { 
        padding: 70px 30px 20px !important; 
        border-radius: 24px !important; 
        width: calc(100% - 30px) !important;
    }
    .footer-main-row { flex-direction: column; gap: 50px; margin-bottom: 50px; }
    .footer-links-container { flex-direction: column; gap: 40px; }
    .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 30px; padding-bottom: 40px; }
    .giant-text { font-size: 10vw; }
}

@media (max-width: 600px) {
    .navbar { padding: 15px; }
    .navbar.scrolled-nav { padding: 12px 15px; top: 10px; width: 95%; left: 2.5%; }
    .form-container { padding: 100px 15px 40px; }
    .form-card { padding: 30px 20px; border-radius: 20px; }
    .circle-logo img { height: 40px; }
    .form-main-title { font-size: 28px; }
    input[type="text"], textarea { font-size: 15px; }
    .theme-btn { bottom: 20px; left: 20px; }

    .site-footer { padding: 60px 20px 30px; border-radius: 20px; width: calc(100% - 20px); margin: 0 auto 10px; }
    .footer-main-row { flex-direction: column; gap: 50px; }
    .footer-links-container { flex-direction: column; gap: 30px; }
    .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 30px; }
    .giant-text { font-size: 12vw; }
}

/* 🔥 EXTRA SMALL PHONES (< 480px) */
@media (max-width: 480px) {
    .form-container { padding: 90px 10px 30px; }
    .form-card { padding: 25px 15px; border-radius: 16px; }
    
    .form-main-title { font-size: 24px; margin-bottom: 15px; }
    .form-subtitle { font-size: 18px; margin-bottom: 20px; }
    
    .tally-radio-box { padding: 12px; gap: 10px; }
    .tally-label-text, .checkbox-text { font-size: 14px; }
    .group-label { font-size: 15px; }
    
    /* Make buttons full width to be easily tappable */
    .btn-next, .btn-outline-home { padding: 14px 28px; font-size: 14px; width: 100%; justify-content: center; }
    .form-actions { flex-direction: column; gap: 15px; width: 100%; }
    .btn-back { margin-bottom: 20px; }
    
    /* Shrink the sliding quotes so they don't break layout */
    .tally-quote { font-size: 18px; line-height: 1.4; }
    .tally-slides-container { min-height: 140px; }
    
    /* Stack the footer email form nicely */
    .newsletter-title { font-size: 22px; }
    .newsletter-form { flex-direction: column; border-radius: 16px; padding: 10px; background: rgba(255, 255, 255, 0.05); gap: 10px; }
    body.light-mode .newsletter-form { background: rgba(0, 0, 0, 0.05); }
    .newsletter-form input { border-radius: 8px; background: transparent; padding: 14px; }
    .newsletter-form button { width: 100%; border-radius: 8px; }
}

/* 🔥 ULTRA SMALL PHONES (< 380px) */
@media (max-width: 380px) {
    .form-main-title { font-size: 22px; }
    .form-subtitle { font-size: 16px; }
    .circle-logo img { height: 35px; }
    .group-label { font-size: 14px; }
    
    /* Make text boxes tighter */
    input[type="text"] + label, textarea + label { font-size: 14px; left: 15px; }
    input[type="text"], textarea { padding: 24px 15px 10px; }
}