/* ============================================
   FAQ PAGE — STANDALONE STYLESHEET
   Magnify Vision Media
   ============================================ */

/* ── FONT FACES ── */
@font-face {
    font-family: 'Altone';
    src: url('fonts/Altone-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Altone';
    src: url('fonts/Altone-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;
}

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

body {
    background-color: #FFFFFF;
    color: #000000;
    font-family: 'Altone', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body:not(.light-mode) {
    background-color: #000000;
    color: #FFFFFF;
}

body.light-mode {
    background-color: #FFFFFF;
    color: #000000;
}

/* ── ANIMATION UTILITIES ── */
.hidden-top {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hidden-bottom {
    transform: translateY(40px) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.show-nav {
    transform: none;
    opacity: 1;
}

.show-element {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
}

/* ── NAVBAR ── */
.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: #FFFFFF; /* Force white background in Dark Mode */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.light-mode .navbar {
    background-color: transparent; /* Transparent in Light Mode */
}

.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::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: #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);
    background-color: transparent; /* Ensure background becomes transparent on scroll */
}

.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;
}

/* Dual logo swap on scroll */
.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo .logo-full {
    height: 50px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.45s ease, transform 0.45s ease, height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.logo .logo-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    height: 38px;
    width: 38px;
    object-fit: contain;
    object-position: left center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.navbar.scrolled-nav .logo .logo-full {
    opacity: 0;
    transform: scale(0.85);
    pointer-events: none;
}

.navbar.scrolled-nav .logo .logo-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    pointer-events: auto;
}

body.light-mode .navbar.scrolled-nav .logo .logo-full {
    content: url('img/logoblack.svg');
}

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: #000000; /* Black text */
    text-decoration: none;
    font-size: 16px;
    font-family: 'Altone', sans-serif;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

body.light-mode .nav-links a {
    color: #000000;
}

.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;
}

.nav-active {
    color: #F46B2F !important;
}

.nav-active::after {
    opacity: 1 !important;
    bottom: 0 !important;
}

.btn-outline {
    background-color: transparent;
    color: #000000; /* Force black text in Dark Mode */
    border: 1px solid #F46B2F;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Altone', 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;
}

.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;
}

body.light-mode .btn-outline {
    color: #000000;
}

body.light-mode .btn-outline:hover {
    color: #FFFFFF;
}

.navbar.scrolled-nav .btn-outline {
    background-color: #F46B2F;
    color: #FFFFFF;
}

.navbar.scrolled-nav .nav-links a {
    color: #FFFFFF;
}

body.light-mode .navbar.scrolled-nav .nav-links a {
    color: #000000;
}

body.light-mode .navbar.scrolled-nav .btn-outline {
    color: #FFFFFF;
}

/* ── SECTION LABEL ── */
/* ── SECTION LABEL ── */
.section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 300;
    color: #000000; /* Black text */
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

body.light-mode .section-label {
    color: #000000;
}

.section-label .dot {
    width: 12px;
    height: 12px;
    background-color: #F46B2F;
    border-radius: 50%;
    display: inline-block;
}

.faq-section {
    padding: 220px 0 0px 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF; /* White background by default (Dark Mode) */
    transition: background-color 0.3s ease;
}

body.light-mode .faq-section {
    background-color: #FFFFFF; /* White background in Light Mode */
}

.faq-label-wrapper {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 80px;
    margin-bottom: 20px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 80px;
}

.faq-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: #000000; /* Black text for white background */
    transition: color 0.3s ease;
}

body.light-mode .faq-title {
    color: #000000;
}

.faq-subtitle {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 300;
    color: rgba(0, 0, 0, 0.8); /* Dark text for white background */
    max-width: 400px;
    text-align: left;
    transition: color 0.3s ease;
}

body.light-mode .faq-subtitle {
    color: rgba(0, 0, 0, 0.8);
}

@keyframes faqSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    display: flex;
    align-items: center;
    padding: 30px max(80px, calc(50vw - 620px));
    background-color: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    color: #FFFFFF;
    transition: background-color 0.4s ease, color 0.4s ease, padding 0.4s ease;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
}

.faq-section.show-element .faq-item {
    animation: faqSlideUp 0.6s ease forwards;
}

.faq-section.show-element .faq-item:nth-child(1)  { animation-delay: 0.1s; }
.faq-section.show-element .faq-item:nth-child(2)  { animation-delay: 0.2s; }
.faq-section.show-element .faq-item:nth-child(3)  { animation-delay: 0.3s; }
.faq-section.show-element .faq-item:nth-child(4)  { animation-delay: 0.4s; }
.faq-section.show-element .faq-item:nth-child(5)  { animation-delay: 0.5s; }
.faq-section.show-element .faq-item:nth-child(6)  { animation-delay: 0.6s; }
.faq-section.show-element .faq-item:nth-child(7)  { animation-delay: 0.7s; }
.faq-section.show-element .faq-item:nth-child(8)  { animation-delay: 0.8s; }
.faq-section.show-element .faq-item:nth-child(9)  { animation-delay: 0.9s; }
.faq-section.show-element .faq-item:nth-child(10) { animation-delay: 1.0s; }
.faq-section.show-element .faq-item:nth-child(11) { animation-delay: 1.1s; }

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-mode .faq-item {
    background-color: #f5f5f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #000000;
}

body.light-mode .faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    background-color: #FFFFFF;
    color: #000000;
    padding: 40px max(80px, calc(50vw - 620px));
}

body.light-mode .faq-item.active {
    background-color: #000000;
    color: #FFFFFF;
}

.faq-left-content {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.faq-num {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    width: 40px;
    flex-shrink: 0;
}

.faq-question {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 700;
    margin: 0;
}

.faq-answer {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    padding-left: 0;
    margin-left: 0;
    transition: max-width 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease 0.1s, padding 0.6s ease, margin 0.6s ease;
    white-space: normal;
}

.faq-answer p {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    width: max-content;
    max-width: 500px;
}

.faq-item.active .faq-answer {
    max-width: 600px;
    opacity: 1;
    padding-left: 30px;
    margin-left: 30px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .faq-item.active .faq-answer {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.faq-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-left: 30px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

body.light-mode .faq-icon-wrapper {
    background-color: #000000;
    color: #FFFFFF;
}

.faq-item.active .faq-icon-wrapper {
    background-color: #F46B2F;
    color: #FFFFFF;
    transform: rotate(-45deg);
}

body.light-mode .faq-item.active .faq-icon-wrapper {
    background-color: #F46B2F;
    color: #FFFFFF;
}

/* ── CTA ORANGE SECTION ── */
.cta-orange-section {
    background-color: #F46B2F;
    padding: 120px 20px;
    text-align: center;
    width: 100%;
}

.cta-orange-title {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: clamp(40px, 6vw, 90px);
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.cta-orange-title em {
    font-style: italic;
    opacity: 0.9;
}

.cta-orange-subtitle {
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.cta-orange-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-orange-btn:hover {
    transform: scale(1.05);
}

/* ── FOOTER ── */
.site-footer {
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 100px 80px 0;
    color: #000000;
    width: calc(100% - 40px);
    max-width: none;
    margin: 0px 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: 22px;
    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;
}

/* ── THEME TOGGLE BUTTON ── */
.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;
}

.theme-btn:hover {
    transform: scale(1.1);
}

body.light-mode .theme-btn {
    background: transparent;
    color: #000000;
}

/* ── RESPONSIVE ── */
@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;
    }

    .nav-content.active .nav-links a,
    body.light-mode .nav-content.active .nav-links a {
        color: #FFFFFF;
    }

    .nav-content.active .btn-outline,
    body.light-mode .nav-content.active .btn-outline {
        color: #FFFFFF;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-links a {
        font-size: 20px;
    }

    .site-footer {
        padding: 80px 40px 0;
        border-radius: 30px;
        width: calc(100% - 20px);
        margin: 0 auto 20px;
    }

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

    .footer-links-container {
        flex-wrap: wrap;
        gap: 50px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .faq-section {
        padding: 160px 0 40px 0;
    }

    .faq-label-wrapper {
        padding: 0 40px;
    }

    .faq-header {
        flex-direction: column;
        gap: 20px;
        padding: 0 40px;
    }

    .faq-item {
        padding: 25px 40px;
        flex-wrap: wrap;
    }

    .faq-item.active {
        padding: 30px 40px;
    }

    .faq-left-content {
        width: calc(100% - 60px);
        flex: none;
        order: 1;
    }

    .faq-icon-wrapper {
        order: 2;
        margin-left: auto;
    }

    .faq-answer {
        order: 3;
        width: 100%;
        max-width: 100%;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.5s ease;
    }

    .faq-item.active .faq-answer {
        max-height: 300px;
        max-width: 100%;
        padding-left: 0;
        margin-left: 0;
        margin-top: 20px;
        border-left: none;
        width: 100%;
    }

    .faq-answer p {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 20px;
    }

    .navbar.scrolled-nav {
        padding: 15px 20px;
        top: 10px;
        width: 95%;
        left: 2.5%;
    }

    .site-footer {
        padding: 60px 20px 0;
        border-radius: 20px;
        width: calc(100% - 20px);
        margin: 0 auto 10px;
    }

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

    .faq-section {
        padding: 140px 0 40px 0;
    }

    .faq-label-wrapper {
        padding: 0 20px;
    }

    .faq-header {
        padding: 0 20px;
    }

    .faq-item {
        padding: 20px 20px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-item.active {
        padding: 30px 20px;
    }
}
