/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('./fonts/SpaceGrotesk-Regular.ttf') format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('./fonts/SpaceGrotesk-Medium.ttf') format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('./fonts/SpaceGrotesk-SemiBold.ttf') format("truetype");
    font-weight: 600;
}

@font-face {
    font-family: 'SpaceGrotesk';
    src: url('./fonts/SpaceGrotesk-Bold.ttf') format("truetype");
    font-weight: 700;
}

/* CSS Variables */
:root {
    --primary-color: #F1803A;
    --secondary-color: #131C0D;
    --body-color: #F5F5F0;
    --light-bg: #FEFFFB;
    --text-dark: #101828;
    --text-gray: #364153;
    --orange-dark: #F47E3E;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'SpaceGrotesk', sans-serif;
    background-color: white;
    padding-top: 0;
    margin: 0;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Scroll animations */
.scroll-animate {
    opacity: 1;
    transform: translateY(80px);
    transition: transform 0.6s ease-out;
}

.scroll-animate.visible {
    transform: translateY(0);
}

/* Staggered animation delays for cards */
.scroll-animate.visible .col-lg-4:nth-child(1) .value-card,
.scroll-animate.visible .col-lg-4:nth-child(1) .service-card {
    animation: slideUp 0.5s ease-out forwards;
}

.scroll-animate.visible .col-lg-4:nth-child(2) .value-card,
.scroll-animate.visible .col-lg-4:nth-child(2) .service-card {
    animation: slideUp 0.5s ease-out 0.1s forwards;
}

.scroll-animate.visible .col-lg-4:nth-child(3) .value-card,
.scroll-animate.visible .col-lg-4:nth-child(3) .service-card {
    animation: slideUp 0.5s ease-out 0.2s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
    }
    to {
        transform: translateY(0);
    }
}

.value-card,
.service-card {
    transform: translateY(40px);
}

/* Keyframe Animations */
@keyframes slideDown {
    from {
        transform: translateY(-150px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpFromHill {
    from {
        transform: translateY(350px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes grassSlideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

@keyframes fogSlideUp {
    from {
        transform: translateY(50px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes buttonFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Navigation Bar */
.navbar-quantech {
    position: fixed;
    top: 53px;
    left: 119px;
    right: 119px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    height: 74px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    z-index: 1000;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    animation: slideDown 1s ease-out forwards;
}

.navbar-quantech .nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.navbar-quantech .nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    height: 36px !important;
}

.nav-logo-text {
    height: 20px !important;
}

.nav-right {
    display: flex;
    align-items: center;
}

.navbar-quantech .nav-items {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-quantech .nav-button {
    flex-shrink: 0;
}

/* Scrolled and hidden classes removed - navbar is now always fixed */

.nav-items > a {
    font-family: 'SpaceGrotesk', sans-serif;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    transition: color 0.3s ease;
}

.nav-items > a:hover {
    color: var(--primary-color);
}

.nav-logo img {
    filter: brightness(0) invert(1);
}

/* White text for hero section */
.navbar-quantech.light-text {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar-quantech.light-text .nav-items > a {
    color: white;
}

.navbar-quantech.light-text .nav-items > a:hover {
    color: var(--primary-color);
}

.navbar-quantech.light-text .nav-button {
    background-color: #1A2E1F;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar-quantech.light-text .nav-button a {
    color: white;
}

.navbar-quantech.light-text .nav-button:hover {
    background-color: var(--primary-color);
}

.navbar-quantech.light-text .nav-button:hover a {
    color: black;
}

.navbar-quantech.light-text .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-logo a {
    list-style: none;
    text-decoration: none;
    display: flex;
}

.nav-button {
    background-color: #1A2E1F;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px;
    padding: 9px 12px;
}

.nav-button:hover {
    background-color: var(--primary-color);
}

.nav-button:hover a {
    color: black;
}

.nav-button a {
    display: block;
    color: white;
    text-decoration: none;
    font-family: 'SpaceGrotesk', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.mobile-nav-controls {
    display: none !important;
    align-items: center;
    gap: 15px;
}

.nav-button-mobile {
    background-color: var(--orange-dark);
    border: 1px solid var(--primary-color);
    border-radius: 14px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button-mobile:hover {
    background-color: var(--primary-color);
}

.nav-button-mobile:hover a {
    color: black;
}

.nav-button-mobile a {
    display: block;
    padding: 10px 20px;
    color: black;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: color 0.3s ease;
}

#hamburger-menu {
    font-size: 30px;
    color: white;
    cursor: pointer;
    display: none;
}

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(19, 28, 13, 0.98) 0%, rgba(26, 46, 31, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

#mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-items {
    text-align: center;
}

.mobile-nav-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-items ul li a {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 12px 20px;
    display: inline-block;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.mobile-nav-items ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav-button {
    position: relative;
    background-color: var(--primary-color);
    border: 1px solid var(--orange-dark);
    border-radius: 20px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-nav-button:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
}

.mobile-nav-button a {
    display: block;
    color: black;
    text-decoration: none;
    font-family: 'SpaceGrotesk', sans-serif;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    z-index: 2;
}

#hamburger-cross {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

#hamburger-cross:hover {
    color: var(--primary-color);
}


/* Mobile Menu */
@media only screen and (max-width: 1400px) {
    .navbar-quantech {
        top: 30px;
        left: 40px;
        right: 40px;
    }
}

@media only screen and (max-width: 1052px) and (min-width: 769px) {
    .navbar-quantech {
        top: 20px;
        left: 20px;
        right: 20px;
        padding: 0 15px;
        height: 64px;
        background-color: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-items {
        gap: 15px;
    }

    .nav-items > a {
        font-size: 16px;
        line-height: 24px;
    }

    .nav-button a {
        font-size: 16px;
        line-height: 24px;
    }

    .nav-button {
        height: auto;
        padding: 8px 12px;
    }

    .nav-logo-icon {
        height: 32px !important;
    }

    .nav-logo-text {
        height: 18px !important;
    }

    /* Keep desktop navigation visible at this breakpoint */
    .nav-right {
        display: flex;
    }

    /* Keep mobile menu hidden at this breakpoint */
    .mobile-nav-controls {
        display: none !important;
    }

    #hamburger-menu {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    /* Prevent horizontal scroll */
    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    main {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container,
    .row {
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar-quantech {
        top: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 20px;
        height: auto;
        min-height: 56px;
        border-radius: 40px;
        max-width: calc(100vw - 30px);
    }

    /* Hide desktop navigation */
    .nav-right {
        display: none !important;
    }

    /* Show mobile controls */
    .mobile-nav-controls {
        display: flex !important;
        gap: 12px;
    }

    #hamburger-menu {
        display: block !important;
        font-size: 26px;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    #hamburger-menu:hover {
        color: var(--primary-color);
    }

    .nav-button-mobile {
        padding: 12px 18px;
        min-height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-button-mobile a {
        font-size: 14px;
        line-height: 20px;
    }

    .nav-logo-icon {
        height: 28px !important;
    }

    .nav-logo-text {
        height: 16px !important;
    }
}

/* Hero Section */
.hero-section-figma {
    position: relative;
    background: linear-gradient(180deg, #E8A87C 0%, #F5C99B 50%, #F5E5D3 100%);
    min-height: 1020px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 204px;
    padding-bottom: 150px;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-base-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/hero-base.png');
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.hero-fog-layer {
    position: absolute;
    top: -56px;
    left: 0;
    width: 100%;
    height: 1020px;
    background-image: url('./images/hero-fog.png');
    background-size: cover;
    background-position: center center;
    z-index: 4;
    pointer-events: none;
    animation: fogSlideUp 1s ease-out 0.4s forwards;
}

.hero-grass-layer {
    position: absolute;
    top: 69px;
    left: 0;
    width: 100%;
    height: 1020px;
    background-image: url('./images/hero-grass-new.png');
    background-size: cover;
    background-position: center center;
    z-index: 5;
    pointer-events: none;
    animation: grassSlideUp 1.2s ease-out 0.2s forwards;
}

.hero-overlay-figma {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-text-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-text-container .container {
    position: relative;
}

.hero-button-container {
    position: absolute;
    top: 610px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    animation: buttonFadeIn 1s ease-out 1.5s forwards;
}

.hero-content-figma {
    padding: 14px 0;
    animation: slideUpFromHill 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
    opacity: 0;
}

.hero-content-figma h1 {
    font-family: 'Syne', sans-serif;
    font-size: 60px;
    font-weight: 500;
    color: white;
    line-height: 1;
    margin-bottom: 51px;
    max-width: 621px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -200px;
}

.hero-content-figma h1 strong {
    font-weight: 700;
}

.hero-content-figma p {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.625;
    max-width: 498px;
    margin-bottom: 56px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn-primary-figma {
    padding: 20px 35px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-family: 'SpaceGrotesk', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.hero-btn-primary-figma:hover {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Value Proposition Section */
.value-proposition {
    background-color: var(--light-bg);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 45px 45px 0 0;
    margin-top: -45px;
    position: relative;
    z-index: 10;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.value-card {
    padding: 40px 20px;
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: var(--orange-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
                0px 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.value-icon img {
    width: 32px;
    height: 32px;
}

.value-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.value-text {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.625;
    margin: 0;
}

/* Services Section */
.services-figma {
    background-color: var(--primary-color);
    border-radius: 45px 45px 0 0;
    margin-top: -45px;
    position: relative;
    z-index: 11;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.section-title-figma {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: var(--text-dark);
}

.service-card {
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0px 5px 0px 0px var(--secondary-color);
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.2;
}

.service-text {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.625;
    margin: 0;
}

/* Our Approach Section */
.approach-section {
    background-color: var(--light-bg);
    border-radius: 45px 45px 0 0;
    margin-top: -45px;
    position: relative;
    z-index: 12;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.section-title-approach {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: var(--text-dark);
}

.approach-subtitle {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-gray);
}

.approach-container {
    padding: 0 100px;
}

.approach-wrapper {
    background-color: var(--orange-dark);
    border-radius: 45px;
    padding: 70px 60px;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.approach-card {
    flex: 1;
}

.approach-card-title {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text-dark);
}

.approach-card-text {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: black;
    line-height: 1.5;
}

.approach-link {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.approach-link:hover {
    color: var(--orange-dark);
}

.approach-divider {
    width: 0;
    height: 186px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section-figma {
    background-color: var(--light-bg);
    padding-left: 86px;
    padding-right: 86px;
    border-radius: 45px 45px 0 0;
    margin-top: -45px;
    position: relative;
    z-index: 13;
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.contact-wrapper-figma {
    background-image: url('./images/contact-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 45px;
    padding: 80px 0;
    overflow: visible;
    position: relative;
    min-height: 792px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-container {
    max-width: 556px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form-container .mb-4 {
    margin-bottom: 25px !important;
}

.contact-form-container .mb-2 {
    margin-bottom: 5px !important;
}

.contact-title-figma {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 65px;
    line-height: 48px;
}

.contact-label {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: black;
    line-height: 28px;
    display: block;
}

.contact-input,
.contact-textarea {
    background-color: white;
    border: 1px solid black;
    border-radius: 14px;
    padding: 18px 30px;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    background-color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(19, 28, 13, 0.1);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #898989;
}

.contact-textarea {
    resize: vertical;
    min-height: 190px;
}

.contact-btn-submit {
    background-color: #131c0d;
    color: white;
    border: none;
    border-radius: 14px;
    padding: 20px 35px;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.contact-btn-submit:hover {
    background-color: var(--primary-color);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 28, 13, 0.2);
}


/* Footer */
.footer-figma {
    background-color: white;
    padding: 0 86px 0 86px;
}

.footer-wrapper {
    background-color: var(--secondary-color);
    border-radius: 45px 45px 0 0;
    padding: 55px 60px 50px;
}

.footer-social {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    justify-content: flex-start;
}

.footer-nav-links {
    margin-bottom: 27px;
}

.footer-nav-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
}

.footer-nav-horizontal li a {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    text-decoration: underline;
}

.footer-nav-horizontal li a:hover {
    color: var(--primary-color);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    align-items: flex-end;
}

.footer-nav li a {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    text-decoration: underline;
}

.footer-nav li a:hover {
    color: var(--primary-color);
}

.footer-social li a {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-social li a:hover {
    background-color: var(--primary-color);
}

.footer-contact-section {
    margin-bottom: 0;
}

.footer-contact-label {
    background-color: var(--primary-color);
    color: black;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 27px;
}

.footer-contact-info {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
}

.footer-contact-info p {
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-contact-info a {
    color: white;
    text-decoration: none;
}

.footer-contact-info a:hover {
    color: var(--primary-color);
}

.footer-subscription {
    background-color: var(--secondary-color);
    border: 1px solid white;
    border-radius: 14px;
    padding: 58px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-input {
    background-color: transparent;
    border: 1px solid white;
    border-radius: 14px;
    padding: 22px 35px;
    color: white;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    flex: 1;
    min-width: 0;
}

.footer-input:focus {
    background-color: transparent;
    border-color: white;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.footer-input::placeholder {
    color: white;
}

.footer-btn-subscribe {
    background-color: var(--orange-dark);
    color: black;
    border: none;
    border-radius: 14px;
    padding: 20px 35px;
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-btn-subscribe:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 50px 0;
}

.footer-copyright {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    margin: 0;
}

.footer-privacy-link {
    font-family: 'SpaceGrotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: white;
    text-decoration: underline;
}

.footer-privacy-link:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media only screen and (max-width: 1200px) {
    /* Approach Section - Tablet */
    .approach-container {
        padding: 0 20px;
    }

    .approach-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 50px 40px;
    }

    .approach-divider {
        width: 100%;
        height: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }

    /* General Section Spacing */
    .value-proposition,
    .services-figma,
    .approach-section,
    .contact-section-figma {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}

@media only screen and (max-width: 768px) {
    /* Hero Section Mobile Optimization */
    .hero-section-figma {
        min-height: 700px;
        padding-top: 120px;
        padding-bottom: 80px;
        background-position: 40% center;
    }

    .hero-base-layer,
    .hero-fog-layer,
    .hero-grass-layer {
        background-size: cover;
        background-position: center;
    }

    .hero-fog-layer {
        top: 0;
        height: 700px;
    }

    .hero-grass-layer {
        top: 0;
        height: 700px;
    }

    .hero-content-figma {
        padding: 10px 0;
    }

    .hero-content-figma h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-top: -80px;
        margin-bottom: 30px;
        max-width: 100%;
        padding: 0 20px;
    }

    .hero-content-figma p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .hero-button-container {
        top: auto;
        bottom: 100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-btn-primary-figma {
        padding: 16px 32px;
        min-height: 48px;
        font-size: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Typography - Section Titles */
    .section-title-figma,
    .section-title-approach,
    .contact-title-figma {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .value-title,
    .service-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .value-text,
    .service-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .approach-subtitle {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
    }

    /* Value Proposition Cards */
    .value-card {
        padding: 30px 15px;
    }

    /* Service Cards */
    .service-card {
        padding: 28px 24px;
    }

    .service-icon,
    .value-icon {
        width: 56px;
        height: 56px;
    }

    .service-icon img,
    .value-icon img {
        width: 28px;
        height: 28px;
    }

    /* Section Spacing */
    .value-proposition,
    .services-figma,
    .approach-section {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Approach Section */
    .approach-container {
        padding: 0;
    }

    .approach-wrapper {
        padding: 40px 30px;
        gap: 35px;
        border-radius: 35px;
    }

    /* Contact Section */
    .contact-section-figma {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .contact-wrapper-figma {
        padding: 60px 20px;
        min-height: 700px;
        border-radius: 35px;
    }

    .contact-form-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .contact-title-figma {
        font-size: 32px;
        margin-bottom: 40px;
        line-height: 40px;
    }

    .contact-label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .contact-input,
    .contact-textarea {
        font-size: 16px;
        padding: 16px 20px;
        border-radius: 12px;
        -webkit-appearance: none;
        appearance: none;
    }

    .contact-input {
        min-height: 52px;
    }

    .contact-input:focus,
    .contact-textarea:focus {
        border-width: 2px;
        padding: 15px 19px;
    }

    .contact-form-container .mb-4 {
        margin-bottom: 20px !important;
    }

    .contact-textarea {
        min-height: 160px;
        resize: none;
    }

    .contact-btn-submit {
        font-size: 18px;
        padding: 18px 30px;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer */
    .footer-figma {
        padding: 0 20px;
    }

    .footer-wrapper {
        padding: 40px 30px 35px;
        border-radius: 35px;
    }

    .footer-wrapper .row.mb-5 {
        margin-bottom: 35px !important;
    }

    .footer-wrapper .col-lg-3 {
        text-align: center;
        margin-bottom: 35px;
    }

    .footer-wrapper .col-lg-3 a[style] {
        justify-content: center;
    }

    .footer-nav-links {
        margin-bottom: 25px;
    }

    .footer-nav-horizontal {
        justify-content: center;
        gap: 15px 30px;
    }

    .footer-nav-horizontal li a {
        padding: 8px 5px;
        display: inline-block;
        font-size: 16px;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: 0;
        gap: 25px;
    }

    .footer-social li a {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .footer-contact-section {
        text-align: center;
    }

    .footer-contact-label {
        font-size: 18px;
        padding: 10px 18px;
    }

    .footer-contact-info {
        font-size: 16px;
    }

    .footer-contact-info p {
        margin-bottom: 15px;
    }

    .footer-divider {
        margin: 35px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px !important;
        text-align: center;
    }

    .footer-copyright,
    .footer-privacy-link {
        font-size: 16px;
    }
}

@media only screen and (max-width: 600px) and (min-width: 481px) {
    /* Hero Section - Large Mobile */
    .hero-section-figma {
        min-height: 650px;
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-fog-layer,
    .hero-grass-layer {
        height: 650px;
    }

    .hero-content-figma h1 {
        font-size: 32px;
        margin-top: -70px;
    }

    .hero-button-container {
        bottom: 90px;
    }

    /* Sections */
    .section-title-figma,
    .section-title-approach {
        font-size: 30px;
    }

    /* Approach Section */
    .approach-wrapper {
        padding: 35px 25px;
    }
}

@media only screen and (max-width: 480px) {
    /* Prevent horizontal scroll on extra small screens */
    .navbar-quantech {
        max-width: calc(100vw - 20px);
        left: 10px;
        right: 10px;
    }

    .hero-section-figma,
    .value-proposition,
    .services-figma,
    .approach-section,
    .contact-section-figma {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Hero Section - Extra Small Screens */
    .hero-section-figma {
        min-height: 600px;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-fog-layer,
    .hero-grass-layer {
        height: 600px;
    }

    .hero-content-figma h1 {
        font-size: 28px;
        margin-top: -60px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .hero-content-figma p {
        font-size: 16px;
        padding: 0 15px;
    }

    .hero-button-container {
        bottom: 80px;
    }

    .hero-btn-primary-figma {
        padding: 14px 25px;
        font-size: 16px;
    }

    /* Mobile Menu - Extra Small Screens */
    .mobile-nav-items ul li a {
        font-size: 20px;
    }

    .mobile-nav-button a {
        font-size: 18px;
    }

    /* Section Spacing */
    .value-proposition,
    .services-figma,
    .approach-section,
    .contact-section-figma {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .section-title-figma,
    .section-title-approach {
        font-size: 28px;
        margin-bottom: 30px !important;
    }

    .value-title,
    .service-title {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .value-text,
    .service-text {
        font-size: 14px;
        line-height: 1.7;
    }

    .value-card {
        padding: 25px 10px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon,
    .value-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }

    .service-icon img,
    .value-icon img {
        width: 24px;
        height: 24px;
    }

    .approach-subtitle {
        font-size: 15px;
        padding: 0 15px;
    }

    /* Container Spacing */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Approach Section */
    .approach-container {
        padding: 0;
    }

    .approach-wrapper {
        padding: 30px 20px;
        gap: 25px;
        border-radius: 30px;
    }

    .approach-card-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .approach-card-text {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* Contact Section */
    .contact-section-figma {
        padding-left: 15px;
        padding-right: 15px;
    }

    .contact-wrapper-figma {
        min-height: 600px;
        padding: 40px 15px;
        border-radius: 30px;
    }

    .contact-form-container {
        padding: 0 5px;
    }

    .contact-form-container .mb-4 {
        margin-bottom: 18px !important;
    }

    .contact-title-figma {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 36px;
    }

    .contact-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .contact-input,
    .contact-textarea {
        font-size: 16px;
        padding: 14px 18px;
        border-radius: 10px;
    }

    .contact-input {
        min-height: 50px;
    }

    .contact-input:focus,
    .contact-textarea:focus {
        padding: 13px 17px;
    }

    .contact-textarea {
        min-height: 140px;
    }

    .contact-btn-submit {
        font-size: 16px;
        padding: 16px 28px;
        min-height: 52px;
    }

    /* Footer */
    .footer-figma {
        padding: 0 15px;
    }

    .footer-wrapper {
        padding: 30px 20px 25px;
        border-radius: 30px;
    }

    .footer-wrapper .row.mb-5 {
        margin-bottom: 30px !important;
    }

    .footer-nav-horizontal {
        gap: 12px 20px;
        font-size: 15px;
    }

    .footer-nav-horizontal li a {
        padding: 6px 3px;
    }

    .footer-social {
        gap: 20px;
    }

    .footer-social li a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-contact-label {
        font-size: 16px;
        padding: 8px 16px;
        margin-bottom: 20px;
    }

    .footer-contact-info {
        font-size: 15px;
    }

    .footer-contact-info p {
        margin-bottom: 12px;
    }

    .footer-divider {
        margin: 30px 0;
    }

    .footer-copyright,
    .footer-privacy-link {
        font-size: 14px;
    }
}
