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

html {
    scroll-behavior: smooth;
}

/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Prompt';
    src: url('/assets/fonts/prompt/Prompt-ExtraBoldItalic.woff2') format('woff2');
    font-weight: 800;
    font-style: italic;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/readex/ReadexPro-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/readex/ReadexPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/readex/ReadexPro-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/readex/ReadexPro-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Readex Pro';
    src: url('/assets/fonts/readex/ReadexPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-blue: #1E6CFF;
    --secondary-blue: #1E3A8A;
    --light-blue: #F0F4FF;
    --primary-off-white: #F8F8FF;
    --primary-off-black: #2E2E2E;
    --dark-gray: #1F2937;
    --medium-gray: #6B7280;
    --light-gray: #F3F4F6;
    --yellow-accent: #F6DA6F;
    --secondary-yellow: #E59D0B;
    --text-dark: #111827;
    font-size: 62.5%;
}

/* ==================== BASE STYLES ==================== */
body {
    font-family: 'Prompt', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--primary-off-white);
    font-size: 1.6rem;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 3rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.navbar.scrolled {
    background-color: var(--primary-off-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 3rem;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
}

.navbar-logo-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.navbar-logo {
    height: 4rem;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-logo {
    filter: revert;
}

.navbar-typeface {
    height: 2rem;
    width: auto;
    color: var(--primary-off-white);
    transition: color 0.3s ease;
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-typeface {
    color: var(--primary-blue);
    filter: revert;
}

.navbar-nav-group {
    display: flex;
    align-items: center;
    gap: 3.6rem;
}

.navbar-nav {
    display: flex;
    gap: 3.6rem;
    align-items: center;
}

.navbar-nav a {
    color: var(--primary-off-white);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: 'Prompt', sans-serif;
    transition: color 0.3s ease;
}

.navbar.scrolled .navbar-nav a {
    color: var(--text-dark);
}

.navbar-nav a:hover {
    color: var(--yellow-accent);
}

.navbar-nav a.cta {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 2.4rem;
    font-weight: 500;
    font-size: 1.6rem;
    font-family: 'Prompt', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: background-color 0.3s ease;
}

.navbar.scrolled .navbar-nav a.cta {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
}

.navbar-nav a.cta:hover {
    background-color: var(--secondary-yellow);
}

.navbar button.cta {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 2.4rem;
    font-weight: 500;
    font-size: 1.6rem;
    font-family: 'Prompt', sans-serif;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: background-color 0.3s ease;
}


.navbar button.cta:hover {
    background-color: var(--secondary-yellow);
}

.navbar-arrow {
    height: 1.6rem;
    width: 1.6rem;
}

/* ==================== NAVBAR MOBILE ==================== */
.navbar-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.navbar-mobile-controls {
    display: none;
    align-items: center;
    gap: 1rem;
}

.navbar-hamburger-icon {
    height: 2rem;
    width: 2rem;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar.scrolled .navbar-hamburger-icon {
    filter: revert;
}

.navbar-hamburger.active .navbar-hamburger-icon {
    transform: rotate(180deg);
    filter: revert;
}

.navbar-sidebar {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--primary-off-white);
    flex-direction: column;
    z-index: 998;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding-top: 8rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.navbar-sidebar.active {
    transform: translateX(0);
    pointer-events: auto;
}

.navbar-sidebar a {
    padding: 1.6rem 1.8rem;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: 'Prompt', sans-serif;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}

.navbar-sidebar a:hover {
    background-color: #f5f5f5;
}

.navbar-cta-mobile {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    border-radius: 2.4rem;
    border: none;
    font-size: 1.6rem;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.navbar.scrolled .navbar-cta-mobile {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
}

.navbar-cta-mobile:hover {
    background-color: var(--secondary-yellow);
}

/* Mobile Menu Overlay */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 997;
}

.navbar-overlay.active {
    display: block;
}

/* ==================== LANGUAGE SWITCHER ==================== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.language-text {
    font-size: 1.6rem;
    font-weight: 500;
    font-family: 'Prompt', sans-serif;
    color: var(--primary-off-white);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.navbar.scrolled .language-text {
    color: var(--text-dark);
}

.language-text:hover {
    color: var(--yellow-accent);
}

.language-text.language-inactive {
    opacity: 0.5;
}

.language-text.language-inactive:hover {
    opacity: 1;
}

.language-divider {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary-off-white);
    opacity: 0.5;
    user-select: none;
}

.navbar.scrolled .language-divider {
    color: var(--text-dark);
}

.navbar-controls-group {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

/* ==================== LANGUAGE SWITCHER MOBILE ==================== */
.language-switcher-mobile {
    display: none;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 1.2rem;
    }

    .navbar.scrolled {
        padding: 1rem 1.2rem;
    }

    .navbar-container {
        gap: 0;
        width: 100%;
    }

    .navbar-logo-group {
        gap: 0.6rem;
    }

    .navbar-logo {
        height: 3rem;
    }

    .navbar-typeface {
        display: none;
    }

    .navbar-nav-group {
        display: none;
    }

    .navbar-controls-group {
        display: none;
    }

    .language-switcher {
        display: none;
    }

    .language-switcher-mobile {
        display: flex;
    }

    .navbar-mobile-controls {
        display: flex;
        z-index: 1001;
        gap: 0.8rem;
        align-items: center;
    }

    .navbar-hamburger {
        display: flex;
    }

    .navbar-hamburger-icon {
        height: 1.8rem;
        width: 1.8rem;
    }

    .navbar button.cta {
        display: none;
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: var(--primary-blue);
    color: var(--primary-off-white);
    padding: 8rem 3rem 4rem 3rem;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    display: flex;
    gap: 9.6rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 42rem;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 600;
    line-height: 1.25;
    font-family: 'Prompt', sans-serif;
    margin-bottom: 1.6rem;
}

.hero-subtext {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Prompt', sans-serif;
    margin-bottom: 2.8rem;
}

.hero-content .cta {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 24px;
    font-weight: 500;
    font-size: 1.2rem;
    font-family: 'Prompt', sans-serif;
    cursor: pointer;
    width: fit-content;
    text-align: center;
    transition: background-color 0.3s ease;
}

.hero-content .cta:hover {
    background-color: var(--secondary-yellow);
}

.hero-image {
    width: 64rem;
    height: 51.2rem;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .hero-image {
        width: 48rem;
        height: 38.4rem;
    }

    .hero-container {
        gap: 6rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-subtext {
        font-size: 1.2rem;
    }

    .hero-image {
        width: 100%;
        height: auto;
        max-width: 40rem;
    }

    .hero {
        padding: 10rem 2rem 3rem 2rem;
        min-height: auto;
    }
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 4rem 3rem;
    margin-top: 8rem;
    background-color: var(--primary-off-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-group {
    display: flex;
    gap: 16rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 8rem;
    width: 100%;
}

.feature-group.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    width: 36rem;
    height: 36rem;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    max-width: 48rem;
}

.feature-heading {
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    font-family: 'Prompt', sans-serif;
}

.highlight {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
}

.feature-text {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--medium-gray);
    line-height: 1.6;
    font-family: 'Prompt', sans-serif;
}

@media (max-width: 1024px) {
    .feature-group,
    .feature-group.reverse {
        gap: 8rem;
    }

    .feature-image {
        width: 28rem;
        height: 28rem;
    }

    .feature-heading {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .feature-group,
    .feature-group.reverse {
        flex-direction: column;
        gap: 4rem;
        margin-bottom: 8rem;
    }

    .feature-content {
        text-align: center;
    }

    .feature-image {
        width: 100%;
        height: auto;
        max-width: 28rem;
    }

    .feature-heading {
        font-size: 2.2rem;
        line-height: 1.5;
    }

    .feature-text {
        font-size: 1.4rem;
    }
}

/* ==================== SERVICES SECTION ==================== */
/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 8rem 3rem;
    background-color: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-heading {
    font-size: 3.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-family: 'Prompt', sans-serif;
}

.services-subtext {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    color: var(--medium-gray);
    margin-bottom: 6.4rem;
    font-family: 'Prompt', sans-serif;
}

.services-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.service-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-blue);
    padding: 0.8rem 1.8rem;
    border-radius: 2.4rem;
    font-weight: 500;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Prompt', sans-serif;
}

.service-btn:hover {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
}

.service-btn.active {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.4s ease-in-out;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    animation: fadeOut 0.4s ease-in-out;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3.2rem 2rem;
    justify-content: center;
}

.service-item {
    background-color: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    width: 32rem;
}

.service-item:hover .service-image {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 32rem;
    height: 24rem;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-descriptor {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    font-family: 'Prompt', sans-serif;
}

.powered-by-container {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.powered-by-text {
    text-align: center;
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.tools-container {
    display: flex;
    justify-content: center;
}

.tools-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-card {
    background-color: var(--primary-off-white);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .services-row {
        gap: 2.4rem 2rem;
    }

    .service-item {
        width: 24rem;
    }

    .service-image {
        width: 24rem;
        height: 18rem;
    }

    .services-heading {
        font-size: 4.8rem;
    }

    .services-subtext {
        font-size: 2.4rem;
        margin-bottom: 6rem;
    }
}

@media (max-width: 768px) {
    .services-heading {
        font-size: 3.2rem;
    }

    .services-subtext {
        font-size: 1.8rem;
        margin-bottom: 4rem;
    }

    .services-buttons {
        gap: 1rem;
        margin-bottom: 4rem;
    }

    .service-btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.2rem;
    }

    .services-row {
        gap: 2rem;
    }

    .service-item {
        width: 20rem;
    }

    .service-image {
        width: 20rem;
        height: 15rem;
    }
}


/* ==================== FAQ SECTION ==================== */
.faq {
    padding: 4rem 3rem;
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 4.8rem;
}

.faq-heading {
    font-family: 'Prompt', sans-serif;
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.faq-subtext {
    font-family: 'Prompt', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.95;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    justify-items: center;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.faq-item {
    max-width: 48rem;
    border-bottom: 1.5px solid rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
    padding-bottom: 2.4rem;
}

.faq-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    gap: 1.6rem;
}

.faq-header-row > div {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.faq-number {
    font-family: 'Prompt', sans-serif;
    font-size: 2rem;
    font-weight: 500;
}

.faq-question {
    font-family: 'Prompt', sans-serif;
    font-size: 2rem;
    font-weight: 500;
}

.faq-arrow {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
    margin-top: 4.8rem;
    transition: transform 0.3s ease;
    user-select: none;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.expanded .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
    padding: 0;
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

.faq-item.expanded .faq-answer {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

.faq-answer-text {
    font-family: 'Prompt', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .faq-heading {
        font-size: 2.2rem;
    }

    .faq-subtext {
        font-size: 1.2rem;
    }

    .faq-number,
    .faq-question {
        font-size: 1.4rem;
    }

    .faq-answer-text {
        font-size: 1.2rem;
    }

    .faq-header-row {
        gap: 1rem;
    }

    .faq-arrow {
        width: 1.6rem;
        height: 1.6rem;
    }
}

/* ==================== COST PREDICTION SECTION ==================== */
.cost-prediction {
    padding: 4rem 3rem;
    background-color: var(--primary-off-white);
    max-width: 100%;
    margin: 0 auto;
}

.cost-prediction-container {
    max-width: 1200px;
    margin: 4rem auto;
}

.cost-prediction-heading {
    font-family: 'Readex Pro', sans-serif;
    font-size: 3.6rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.cost-prediction-subtext {
    font-family: 'Prompt', sans-serif;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--medium-gray);
    margin-bottom: 4rem;
}

.cost-prediction-form {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 54rem);
    gap: 2.4rem;
}

.form-row.single {
    grid-template-columns: 110.4rem;
}

.form-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-label {
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-left: 1.2rem;
    margin-bottom: -1.2rem;
    position: relative;
    z-index: 1;
    width: fit-content;
    background-color: var(--primary-off-white);
    padding: 0 0.4rem;
}

.required {
    color: #E74C3C;
    margin-left: 0.2rem;
}

.optional {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-left: 0.2rem;
    font-weight: 400;
}

.form-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 5.4rem;
    padding: 1.6rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.8rem;
    background-color: white;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.form-box:focus-within {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.form-select-text {
    font-family: 'Readex Pro', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #9CA3AF;
    flex: 1;
}

.form-box.active .form-select-text {
    color: var(--text-dark);
}

.form-arrow {
    width: auto;
    height: 0.8rem;
    margin-left: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.form-box.active .form-arrow {
    transform: rotate(180deg);
}

.form-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #D1D5DB;
    border-top: none;
    border-radius: 0 0 0.8rem 0.8rem;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-height: 20rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.form-dropdown.hidden {
    display: none;
}

.dropdown-option {
    padding: 1.2rem 1.6rem;
    font-family: 'Readex Pro', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:hover {
    background-color: #F0F4FF;
}

.dropdown-option.selected {
    background-color: rgba(30, 108, 255, 0.1);
    color: var(--primary-blue);
    font-weight: 500;
}

.dropdown-option[data-disabled="true"] {
    color: #9CA3AF;
    cursor: default;
    pointer-events: none;
}

#additional-services-container {
    display: contents;
}

#additional-services-container .form-row {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-box-wrapper {
    position: relative;
}

.cost-estimation-note {
    margin-top: 3.2rem;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 1.6rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.cost-prediction-result {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue);
}

.cost-prediction-submit {
    min-width: 110.4rem;
    min-height: 4.8rem;
    background-color: var(--yellow-accent);
    color: var(--primary-off-black);
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
}

.cost-prediction-submit:hover {
    background-color: var(--secondary-yellow);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row.single {
        grid-template-columns: 1fr;
    }

    .cost-prediction-heading {
        font-size: 2.4rem;
    }

    .cost-prediction-subtext {
        font-size: 1.2rem;
    }

    .form-label {
        font-size: 1rem;
    }

    .form-box {
        height: 4.5rem;
        padding: 1.2rem;
    }

    .form-select-text {
        font-size: 1.2rem;
    }

    .form-arrow {
        height: 1.2rem;
    }

    .cost-prediction-submit {
        min-width: 100%;
        padding: 1rem;
        font-size: 1.2rem;
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--primary-blue);
    color: var(--primary-off-white);
    padding: 4rem 3rem;
}

.footer-heading-container {
    text-align: center;
    margin-bottom: 3.2rem;
}

.footer-heading {
    font-size: 3.2rem;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.footer-cta {
    display: block;
    border-radius: 2.4rem;
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-family: 'Prompt', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 auto 3rem auto;
    transition: background-color 0.3s ease;
    margin-bottom: 3.2rem;
}

.footer-cta:hover {
    background-color: var(--secondary-yellow);
}

.footer-nav-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 100rem;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.footer-nav-section h3 {
    font-size: 1.6rem;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-nav-item {
    font-size: 1.6rem;
    font-family: 'Readex Pro', sans-serif;
    font-weight: 300;
    color: var(--primary-off-white);
    opacity: 1;
    transition: font-weight 0.3s ease;
    cursor: pointer;
}

.footer-nav-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: font-weight 0.3s ease;
}

.footer-nav-item a:hover {
    font-weight: 500;
}

.footer-nav-item:hover {
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-nav-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-items: start;
    }

    .footer-heading {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-nav-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem 1rem;
        justify-items: start;
    }

    .footer-nav-section h3 {
        font-size: 1.4rem;
    }

    .footer-nav-item {
        font-size: 1.4rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }
}

/* ==================== UTILITIES ==================== */
.cta {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta:hover {
    background-color: var(--secondary-yellow);
}
