@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

@font-face {
    font-family: 'Adieu';
    src: url('../fonts/Adieu/Adieu-Regular.otf') format('opentype');
}

:root {
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --cyan-950: 
    ;
    --cyan-900: #164e63;
    --text-size-base: 1em;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--cyan-950);
    color: #333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 19.2px;
}

/* Above the fold wrapper */
.above-fold-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--cyan-950) 0%, var(--cyan-950) 90%, #08202A 90%, #08202A 100%);
}

.hero-container {
    position: relative;
    flex: 0.9; /* Reduced by 10% to bring content below further up */
    margin: 0 auto;
    padding: 0.5em 0;
    width: 90%;
    max-width: 81.575em;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-container > * {
    transform: translateY(40%); /* Move content down 40% within container */
}

.hero-title {
    font-family: 'Adieu', sans-serif;
    color: white;
    font-size: 2.25em;
    margin-bottom: 0.157em; /* Decreased by 30% from 0.224em */
}

.hero-subtitle {
    color: white;
    font-size: 1em;
    max-width: 32.375em;
    margin: 0 auto 2em; /* Increased spacing before buttons */
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.625em;
    margin-bottom: 0;
}

.customer-logos-container {
    position: relative;
    width: 100%;
    padding: 0.5em 0;
    display: flex;
    justify-content: center;
    background: var(--cyan-950);
    flex-shrink: 0;
}

/* Testimonials section */
.testimonials-section {
    position: relative;
    width: 100%;
    max-width: 81.575em;
    margin: 0 auto;
    padding: 0.5em 0 0.75em 0; /* Increased bottom padding by 50% */
    height: 4.95em; /* Increased by 10% from 4.5em */
    overflow: hidden;
    background: var(--cyan-950);
    flex-shrink: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-container {
    display: flex;
    gap: 1.2em;
    padding: 0 2em;
    width: max-content;
    animation: scroll 60s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    width: 19.8em; /* Increased by 10% from 18em */
    height: 3.3em; /* Increased by 10% from 3em */
    flex-shrink: 0;
    padding: 1em;
    border-radius: 10px;
    background: #173A44;
    border: 1px solid rgba(156, 163, 175, 0.1);
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.testimonials-container:hover {
    animation-play-state: paused;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    background: rgba(242, 139, 80, 0.05);
    border-color: rgba(242, 139, 80, 0.2);
}

.testimonial-text {
    font-size: 0.75em;
    line-height: 1.4;
    font-style: italic;
}

.testimonial-attribution {
    font-size: 0.7em;
    display: flex;
    align-items: baseline;
}

.testimonial-author {
    font-family: 'Adieu', sans-serif;
    font-weight: 600;
    color: #F2D8A7;
}

.testimonial-title {
    opacity: 0.7;
    margin-left: 0.4em;
}

.testimonial-title::before {
    content: "- ";
    margin-right: 0.2em;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.testimonials-section::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.testimonials-section {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}


@media (max-width: 1512px) {
    /* Responsive adjustments handled by relative positioning */
}

@media (max-width: 1440px) {
    body {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    body {
        font-size: 15px;
}
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .above-fold-wrapper {
        height: 100vh;
    }
    
    .hero-container {
        width: 95%;
        padding: 1em 2em; /* Increased left/right padding by 100% */
        overflow: hidden;
        box-sizing: border-box; /* Include padding in width calculation */
        height: auto; /* Auto height to fit content */
        min-height: auto; /* Override any inherited min-height */
    }
    
    .hero-container > * {
        transform: translateY(20%); /* Reduce vertical offset on mobile */
    }
    
    .hero-title {
        font-size: 2.7em; /* Increased by 20% from 2.25em */
        margin-bottom: 0.6em; /* Adjusted spacing on mobile */
    }
    
    .hero-subtitle {
        max-width: 100%; /* Allow full width on mobile */
    }
    
    
    .customer-logos-container {
        padding: 1.5em 0;
    }
    
    .testimonials-section {
        padding: 1.4em 0; /* Reduced by 30% from 2em */
    }
    
    .testimonials-container {
        padding: 0 1em;
        gap: 1em;
    }
    
    .testimonial-card {
        width: 16.94em; /* Increased by 10% from 15.4em */
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }
    
    .hero-container {
        padding: 1em 2em; /* Increased left/right padding by 100% */
        overflow: hidden;
        box-sizing: border-box; /* Include padding in width calculation */
        width: 100%; /* Use full width on smaller mobile */
        height: auto; /* Auto height to fit content */
        min-height: auto; /* Override any inherited min-height */
    }
    
    .hero-title {
        font-size: 2.7em; /* Increased by 20% from 2.25em */
        margin-bottom: 0.6em; /* Adjusted spacing on mobile */
    }
    
    .hero-subtitle {
        max-width: 100%; /* Allow full width on mobile */
    }
    
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5em;
        justify-content: center;
        flex-wrap: nowrap;
    }
    
    .hero-buttons .nav-button {
        font-size: 0.96em; /* Increased by 20% from 0.8em */
        padding: 0.84em 1.08em; /* Increased by 20% from 0.7em 0.9em */
        min-width: auto;
        flex: 1;
    }
}
