/* ============================================
   nfrti X - Combined Styles
   Clean, responsive, single CSS file
   Last Updated: 2025-01-08 16:30 UTC
   ============================================ */

/* ========================================
   CSS VARIABLES & ROOT SETTINGS
   ======================================== */
:root {
    --nfrti-green: #017E3A;
    --nfrti-yellow: #FFD700;
    --nfrti-light-green: #017E3A;
    --header-height: 80px;
    --desktop-max-width: 1400px;
    --desktop-content-width: 1200px;
    --slider-speed: 0.8s;
    --slider-gap: 40px;
    color-scheme: light only;
}

html {
    color-scheme: light only;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    color-scheme: light only;
}

/* ========================================
   GLOBAL BASE STYLES - Mobile First
   ======================================== */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
.font-inter {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-heading {
    font-family: 'Kalam', cursive;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

h1 {
    font-size: 1.875rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem;
}

/* ========================================
   CUSTOM COLORS & UTILITIES
   ======================================== */
.text-nfrti-green {
    color: var(--nfrti-green);
}

.bg-nfrti-green {
    background-color: var(--nfrti-green);
}

.border-nfrti-green {
    border-color: var(--nfrti-green);
}

.hover\:bg-nfrti-green:hover {
    background-color: var(--nfrti-green);
}

.hover\:text-nfrti-green:hover {
    color: var(--nfrti-green);
}

.focus\:ring-nfrti-green:focus {
    --tw-ring-color: var(--nfrti-green);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-green {
    background-color: rgba(1, 126, 58, 0.1);
    color: var(--nfrti-green);
}

.badge-yellow {
    background-color: rgba(255, 215, 0, 0.1);
    color: #d97706;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

header.header-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

header nav {
    flex-wrap: nowrap;
    align-items: center;
}

header nav a {
    white-space: nowrap;
}

header nav > div:first-child,
header nav .flex.items-center.gap-3 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-right: 2rem !important;
}

#header-logo,
header img[alt="nfrti X"] {
    height: 2.5rem !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 40px !important;
    min-height: 2.5rem !important;
}

#header-mascot {
    height: 4rem;
    width: auto;
}

#mobile-menu-btn {
    display: block;
}

#mobile-menu {
    transition: all 0.3s ease;
}

.logo-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 15px);
    transform: translateY(-50%);
    background: #FCD34D;
    color: #1F2937;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
    pointer-events: none;
}

.logo-tooltip:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #FCD34D;
}

#header-logo:hover + .logo-tooltip {
    display: block !important;
}

/* ========================================
   MASCOT ANIMATIONS
   ======================================== */
.floating-mascot {
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mascot-speech-bubble {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FCD34D;
    color: #1F2937;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
}

.mascot-speech-bubble:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #FCD34D;
}

.mascot-speech-bubble.bg-white {
    background: white;
    color: #374151;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mascot-speech-bubble.bg-white:after {
    border-top-color: white;
}

#header-speech {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    white-space: nowrap;
}

#header-speech:after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #FCD34D;
}

/* ========================================
   BUTTONS & CTA
   ======================================== */
button {
    transition: all 0.3s ease;
}

.flex.gap-4 {
    flex-direction: column;
    gap: 1rem;
}

a.bg-nfrti-green,
a.border-2 {
    width: 100%;
    text-align: center;
}

.cta-btn {
    background-color: #017E3A;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 48px;
    white-space: nowrap;
}

.hover-text {
    display: none;
}

.cta-btn:hover {
    background-color: #FBBF03;
}

.cta-btn:hover .default-text {
    display: none;
}

.cta-btn:hover .hover-text {
    display: inline;
}

#mobile-menu a[href="#contact"] {
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#mobile-menu a[href="#contact"] .hover-text {
    display: none;
}

#mobile-menu a[href="#contact"]:hover {
    background-color: #FBBF03 !important;
}

#mobile-menu a[href="#contact"]:hover .default-text {
    display: none;
}

#mobile-menu a[href="#contact"]:hover .hover-text {
    display: inline;
}

/* ========================================
   FORM ELEMENTS
   ======================================== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--nfrti-green);
    box-shadow: 0 0 0 3px rgba(1, 126, 58, 0.1);
}

/* ========================================
   HOME SECTION
   ======================================== */
#home {
    min-height: 100vh;
    padding-top: calc(80px + 2rem);
    padding-bottom: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

#home .container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#home .flex.flex-col.lg\:flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: clamp(1rem, 3vw, 3rem);
}

#home .flex.flex-col.lg\:flex-row > div:first-child {
    flex: 1;
    min-width: 0;
}

#home .flex.flex-col.lg\:flex-row > div:last-child {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home img,
#hero-mascot {
    max-width: 100%;
    height: auto;
    width: 100%;
    display: block;
    object-fit: contain;
}

/* ========================================
   HERITAGE SECTION
   ======================================== */
#heritage {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.heritage-title {
    text-align: center;
    margin-bottom: 0.75rem;
    padding: 0 20px;
    flex-shrink: 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.heritage-title h2 {
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 0.5rem;
}

.heritage-background-container {
    position: relative;
    background-image: url('https://i.ibb.co/cSykX6HC/Picsart-25-11-21-10-16-07-770.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    min-height: 500px;
    flex: 1;
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.heritage-background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

#heritage .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.heritage-text-container {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    width: 100%;
    order: 1;
    margin: 0 1rem;
    z-index: 2;
}

.heritage-text-1,
.heritage-text-2,
.heritage-text-3 {
    position: relative;
    width: 100%;
    max-width: 100%;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    margin: 0;
    transition: all 0.3s ease;
    cursor: default;
}

.heritage-text-1 p,
.heritage-text-2 p,
.heritage-text-3 p {
    color: #111827;
    margin: 0;
    text-align: justify;
}

.heritage-text-1:hover,
.heritage-text-2:hover,
.heritage-text-3:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.95);
}

.heritage-background-image {
    display: none;
}

.heritage-image-wrapper {
    display: none;
}

.heritage-mascot-overlay {
    position: absolute;
    bottom: 8%;
    left: 1%;
    width: 480px;
    height: auto;
    z-index: 5;
}

.heritage-mascot-overlay img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.heritage-image-wrapper .heritage-mascot-overlay {
    display: none;
}

.heritage-mascot-desktop {
    display: none !important;
}

.heritage-text-4 {
    position: absolute;
    bottom: 3%;
    left: 3%;
    max-width: 100%;
    width: fit-content;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
    z-index: 10;
    white-space: nowrap;
    background-color: rgba(243, 244, 246, 0.85);
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#heritage + #problem {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#problem {
    margin-top: 0 !important;
    padding-top: 2rem !important;
}

/* ========================================
   SLIDER SECTION (PROBLEM SECTION)
   ======================================== */
.as-slider {
    --speed: var(--slider-speed);
    --gap: var(--slider-gap);
    
    background: rgb(251, 191, 3);
    position: relative;
    
    min-height: 100vh;
    
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: all 0.3s ease-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.as-slider.loaded {
    opacity: 1;
    transform: translateY(0);
}

.slider-content-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.as-changing-widget {
    transition: height 0.4s ease-in-out;
    height: auto;
    position: relative;
    min-height: auto;
    will-change: height;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@media (max-width: 767px) {
    .as-changing-widget {
        height: auto !important;
    }
    
    .slide-content {
        position: relative !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        display: block !important;
    }
    
    .slide-content:not(.currentUp):not(.currentDown) {
        display: none !important;
    }
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.slide-content.currentUp,
.slide-content.currentDown {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.slide-inner,
.slide-inner-reverse {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-side {
    width: 100%;
}

.content-card {
    backdrop-filter: blur(10px);
    height: 100%;
    padding: 1.5rem !important;
}

.mascot-side,
.slider-mascot,
.mascot-slide-left,
.mascot-slide-right {
    display: none !important;
}

.slide-content.prev {
    -webkit-animation: slideOutUp var(--speed) ease-out;
    animation: slideOutUp var(--speed) ease-out;
}

.slide-content.next {
    -webkit-animation: slideOutDown var(--speed) ease-out;
    animation: slideOutDown var(--speed) ease-out;
}

.slide-content.currentUp {
    -webkit-animation: slideInUp var(--speed) ease-out;
    animation: slideInUp var(--speed) ease-out;
}

.slide-content.currentDown {
    -webkit-animation: slideInDown var(--speed) ease-out;
    animation: slideInDown var(--speed) ease-out;
}

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

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

@-webkit-keyframes slideOutUp {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
}

@-webkit-keyframes slideOutDown {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    to {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
}

@-webkit-keyframes slideInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes slideInDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes mascotEnterRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes mascotEnterRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes mascotEnterLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes mascotEnterLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes mascotExit {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

@keyframes mascotExit {
    0% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
    }
}

.as-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.as-slider.loaded .as-bar {
    opacity: 1;
    transform: translateY(0);
}

.as-bar .dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.as-bar .dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    transform: scale(0);
    transition: transform 0.4s ease;
    border-radius: 50%;
}

.as-bar .dot:hover::before {
    transform: scale(1);
}

.as-bar .dot:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.as-bar .dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.as-bar .dot-number {
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.as-bar .dot.active .dot-number {
    color: #FCC003;
    transform: scale(1.1);
}

.as-slider-left,
.as-slider-right {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.as-slider.loaded .as-slider-left,
.as-slider.loaded .as-slider-right {
    opacity: 1;
    transform: translateY(0);
}

.as-slider-left {
    transition-delay: 0.4s;
}

.as-slider-right {
    transition-delay: 0.5s;
}

.as-slider-left:hover,
.as-slider-right:hover {
    background: white;
    border-color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.as-slider-left:active,
.as-slider-right:active {
    transform: translateY(0) scale(0.95);
    background: rgba(255, 255, 255, 0.9);
}

.as-slider-left i,
.as-slider-right i {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.3s ease;
}

.as-slider-left:hover i,
.as-slider-right:hover i {
    color: #FCC003;
}

#problem .text-center.mb-12 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

#problem .text-center.mb-12 h2 {
    text-align: left;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    flex: 1;
    order: 2;
}

#problem .text-center.mb-12::before {
    content: '';
    background-image: url('https://i.ibb.co/7q92zDb/Picsart-25-12-08-16-01-53-893.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    order: 1;
}

.as-slider:not(.loaded) * {
    animation: none !important;
}

.as-slider:not(.loaded) .slide-content:not(:first-child) {
    display: none;
}

/* ========================================
   CHART CONTAINER
   ======================================== */
.chart-container {
    position: relative;
    width: 100%;
    height: 300px !important;
}

/* ========================================
   ROI CALCULATOR
   ======================================== */
#roi-calculator input,
#roi-calculator select {
    font-size: 14px;
}

#roi-calculator button {
    font-size: 16px;
}

#roi-calculator .grid-cols-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#roi-calculator label {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

#roi-calculator input,
#roi-calculator select {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

#roi-calculator button {
    padding: 0.625rem;
    margin-top: 0.75rem;
}

#roi-results {
    animation: slideIn 0.5s ease-out;
}

#roi-results .grid-cols-3 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#roi-results .text-2xl {
    font-size: 1.25rem;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

#roi-results .text-center {
    padding: 0 0.5rem;
    min-width: 0;
}

#roi-calculation-bubble {
    position: absolute;
    top: 30px;
    left: 63%;
    transform: translateX(-50%);
    color: #1F2937;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    z-index: 10;
    background: transparent;
    padding: 0;
    text-decoration: none;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

#roi-calculation-bubble.calculating {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

#roi-calculation-bubble.calculating:after {
    display: none;
}

#roi-calculation-bubble:after {
    display: none;
}

.slide-inner-reverse .content-card {
    padding: 1.5rem !important;
}

.slide-inner-reverse .content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    padding-top: 14px;
}

.slide-inner-reverse .content-card p {
    margin-bottom: 1rem;
}

#roi-calculator {
    margin-bottom: 0;
}

#roi-calculator .grid {
    gap: 0.75rem;
}

.dots::after {
    content: '';
    animation: dots 1.2s steps(3, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    33%  { content: '.'; }
    66%  { content: '..'; }
    100% { content: '...'; }
}

@keyframes numberFlash {
    0%   { opacity: 1; }
    100% { opacity: 1; }
}

#calculating-numbers {
    font-size: 16px;
    font-weight: bold;
    animation: numberFlash 0.1s infinite;
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
#solution {
    padding: 1.5rem 0;
    height: auto;
    min-height: auto;
    max-height: none;
    display: flex;
    align-items: center;
    overflow: visible;
}

#solution .flex {
    flex-direction: column;
    gap: 1rem;
}

#solution .lg\:w-1\/2 {
    width: 100%;
}

#solution img,
#solution-mascot {
    max-width: 350px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
    margin: 0 auto;
    margin-bottom: 0.5rem;
}

/* ========================================
   INDUSTRY RECOGNITION CARDS
   ======================================== */
.industry-card {
    background: #646462;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 8px 8px 16px rgba(100, 100, 98, 0.3),
                -8px -8px 16px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.industry-card:hover {
    box-shadow: 12px 12px 24px rgba(100, 100, 98, 0.4),
                -12px -12px 24px rgba(255, 255, 255, 0.15),
                inset 2px 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.industry-card blockquote,
.industry-card p,
.industry-card .text-gray-800,
.industry-card .text-gray-700 {
    color: #fff !important;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

#contact .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#contact .md\:grid-cols-2 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer .grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========================================
   SECTION SPACING
   ======================================== */
section {
    scroll-margin-top: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
}

section .container {
    width: 100%;
    height: 100%;
}

#solution .container,
#contact .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   SECTION DOWN ARROW
   ======================================== */
.section-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    cursor: pointer;
    color: #017E3A;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    z-index: 50;
    user-select: none;
    transition: all 0.3s ease;
}

.section-down-arrow:hover {
    transform: translateX(-50%) scale(1.1);
}

@media (max-width: 767px) {
    .section-down-arrow {
        display: none;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #6B7280;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

/* ========================================
   DARK MODE PREVENTION
   ======================================== */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
    }
    
    html, body {
        background-color: #ffffff;
        color: #111827;
    }
}

/* ========================================
   TABLET STYLES (768px - 1023px)
   ======================================== */
@media (min-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    header nav > div:first-child,
    header nav .flex.items-center.gap-3 {
        margin-right: 2.5rem !important;
    }
    
    #header-logo,
    header img[alt="nfrti X"] {
        height: 2.75rem !important;
        min-height: 2.75rem !important;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #home img,
    #hero-mascot {
        max-width: 450px;
    }
    
    .heritage-title h2 {
        font-size: 2rem;
    }
    
    #heritage {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    #problem .text-center.mb-12 {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    #problem .text-center.mb-12 h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    #problem .text-center.mb-12::before {
        display: none;
    }
    
    .mascot-side {
        width: 250px !important;
        height: 250px !important;
        display: flex;
    }
    
    #problem {
        padding-top: 2rem !important;
    }
    
    .chart-container {
        height: 350px !important;
    }
    
    #solution img {
        max-width: 400px;
    }
    
    #contact .md\:grid-cols-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
    
    .md\:flex {
        display: flex !important;
    }
    
    .md\:hidden {
        display: none !important;
    }
    
    .mascot-speech-bubble {
        max-width: 300px;
        white-space: normal;
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 100%;
    }
    
    #solution .flex {
        flex-direction: column;
    }
    
    .mascot-side {
        width: 280px !important;
        height: 280px !important;
    }
}

@media (max-width: 767px) {
    .md\:hidden {
        display: block !important;
    }
    
    .md\:flex {
        display: none !important;
    }
    
    #home {
        padding-top: calc(80px + 1rem);
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    #home .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    #home .flex.flex-col.lg\:flex-row {
        flex-direction: column;
        gap: 0;
        position: relative;
    }
    
    #home .lg\:w-1\/2:last-child {
        display: block !important;
        width: 100% !important;
        position: relative;
        order: 1;
        margin: 0;
        padding: 0;
    }
    
    #home .flex.justify-center {
        display: flex !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    #home #hero-mascot {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    #home .flex.flex-col.lg\:flex-row > div:first-child {
        position: relative;
        width: 100%;
        z-index: 10;
        order: 2;
        padding: 0;
        margin-top: clamp(-75%, -60vw, -50%);
    }
    
    #home h1 {
        display: block;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.5rem !important;
        text-align: center;
        line-height: 1.3;
        background: rgba(255, 255, 255, 0.5);
        padding: 1rem 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        border-radius: 12px 12px 0 0;
    }
    
    #home h1::before {
        display: none;
    }
    
    #home h1 .title-text {
        display: block;
        text-align: center;
    }
    
    #home p.text-xl {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-align: center;
        color: #1F2937;
        background: rgba(255, 255, 255, 0.5);
        padding: 1rem 1rem 1.5rem 1rem;
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        border-radius: 0 0 12px 12px;
    }
    
    #home p.text-lg {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        text-align: center;
        background: white;
        padding: 0 1rem;
    }
    
    #home .flex.gap-4 {
        justify-content: center;
        margin-bottom: 0;
        flex-direction: row;
        gap: 0.5rem;
        background: white;
        padding: 0 1rem;
    }
    
    #home .flex.gap-4 a {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
        flex: 1;
        max-width: 160px;
    }
    
    #home .flex.gap-8 {
        gap: 0.75rem;
        margin-top: 0;
        margin-bottom: 0;
        justify-content: center;
        flex-wrap: wrap;
        background: white;
        padding: 0 1rem 0 1rem;
    }
    
    #home .flex.gap-8 > div {
        flex-direction: column;
        text-align: center;
        font-size: 0.8rem;
    }
    
    #home .flex.gap-8 .bg-\[#FBBF03\],
    #home .flex.gap-8 .bg-\[#017E3A\] {
        margin: 0 auto 0.25rem auto;
    }
    
    #heritage .heritage-title {
        margin-bottom: 0;
        margin-top: -3rem !important;
        padding: 0 1rem 0 1rem !important;
        position: relative;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    #heritage .heritage-title::before {
        content: '';
        background-image: url('https://i.ibb.co/ycn1Z8C1/Picsart-25-12-10-15-17-10-792.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 200px;
        height: 200px;
        flex-shrink: 0;
        order: 1;
    }
    
    #heritage .heritage-title h2 {
        margin-bottom: 0;
        font-size: 1.65rem;
        color: #111827;
        line-height: 1.3;
        flex: 1;
        order: 2;
        text-align: left;
    }
    
    .as-slider {
        padding: 0.75rem 0.75rem 1rem 0.75rem !important;
        min-height: auto !important;
    }
    
    #problem .text-center.mb-12 {
        margin-bottom: 0.75rem !important;
        padding-top: 0.5rem !important;
    }
    
    #problem .text-center.mb-12 h2 {
        font-size: 1.65rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
    }
    
    .chart-container {
        height: 380px !important;
        margin-bottom: 0.75rem !important;
    }
    
    .slider-content-wrapper {
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    .slide-inner {
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .as-bar {
        margin-top: 0.75rem !important;
        gap: 0.5rem !important;
    }
    
    .content-card {
        padding: 0.75rem !important;
    }
    
    .content-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    #problem .flex.justify-center.items-center {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .as-changing-widget {
        min-height: auto !important;
    }
    
    #solution {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 2rem 1rem !important;
        overflow: visible !important;
        display: block !important;
    }
    
    #solution .container {
        height: auto !important;
        max-height: none !important;
        display: block !important;
    }
    
    #solution .flex.flex-col.lg\:flex-row {
        gap: 1.5rem;
        display: block !important;
        height: auto !important;
    }
    
    #solution .lg\:w-1\/2 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    #solution .text-center.mb-8 {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    #solution .text-center.mb-8 h2 {
        text-align: left;
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.2;
        flex: 1;
        order: 2;
    }
    
    #solution .text-center.mb-8::before {
        content: '';
        background-image: url('https://i.ibb.co/3ZHs18z/Untitled-4.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        width: 160px;
        height: 160px;
        flex-shrink: 0;
        order: 1;
    }
    
    #solution .lg\:w-1\/2:first-child {
        display: none !important;
    }
    
    #solution img {
        margin-bottom: 0.5rem;
    }
    
    #solution p {
        margin-bottom: 1rem !important;
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    #solution p.text-lg {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    #solution .grid.grid-cols-1 {
        display: block !important;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    #solution .grid.grid-cols-1 > div {
        margin-bottom: 0.75rem;
        display: block;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    #solution .flex.items-start {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0;
        display: block !important;
        text-align: left !important;
    }
    
    #solution .flex.items-start span {
        display: none !important;
    }
    
    #solution .flex.items-start div {
        display: block;
        width: 100%;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left;
        font-size: 0.95rem;
    }
    
    .heritage-background-container {
        min-height: 450px;
    }
    
    .heritage-text-1,
    .heritage-text-2,
    .heritage-text-3 {
        font-size: 0.95rem;
        padding: 1rem;
        line-height: 1.5;
    }
    
    #contact .grid {
        display: flex;
        flex-direction: column;
    }
    
    #contact .grid > div:first-child {
        order: 2; /* Testimonials second */
    }
    
    #contact .grid > div:last-child {
        order: 1; /* Contact form first */
    }
    
    #heritage {
        min-height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .heritage-background-container {
        background-image: url('https://i.ibb.co/cSykX6HC/Picsart-25-11-21-10-16-07-770.jpg') !important;
        background-size: cover !important;
        background-position: center 35px !important; /* adjust this value as needed */
        background-repeat: no-repeat !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 0 1rem 3.5rem 1rem !important;      /* expands section a bit */
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 0 !important;
        position: relative !important;
    }
    
    .heritage-background-container::before {
        display: none !important;
    }
    
    #heritage .container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        z-index: 2 !important;
        height: auto !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .heritage-image-wrapper {
        display: none !important;
    }
    
    .heritage-background-image {
        display: none !important;
    }
    
    .heritage-image-wrapper .heritage-mascot-overlay {
        display: none !important;
    }
    
    .heritage-mascot-desktop {
        display: none !important;
    }
    
    .heritage-text-container {
        order: 1;
        margin-bottom: 0;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        width: 100%;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 1rem;
        z-index: 2;
    }
    
    .heritage-text-1,
    .heritage-text-2,
    .heritage-text-3 {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 1rem !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        border: none !important;
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    
    .heritage-text-1 p,
    .heritage-text-2 p,
    .heritage-text-3 p {
        color: #1F2937 !important;
        text-align: justify !important;
        margin: 0 !important;
        font-weight: normal !important;
        text-shadow: none !important;
    }
    
    .heritage-text-2 strong {
        font-weight: 700 !important;
    }
    
    .heritage-text-2 strong span {
        font-weight: 700 !important;
    }
}

@media (max-width: 900px) {
    #home .flex.flex-col.lg\:flex-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    #home .flex.flex-col.lg\:flex-row > div:first-child {
        order: 2;
        flex: none;
        width: 100%;
    }
    
    #home .flex.flex-col.lg\:flex-row > div:last-child {
        order: 1;
        flex: none;
        width: 100%;
    }
    
    #home img,
    #hero-mascot {
        max-width: 400px;
        width: 100%;
        margin: 0 auto;
    }
    
    #home h1,
    #home p {
        text-align: center;
    }
    
    #home .flex.gap-4,
    #home .flex.gap-8 {
        justify-content: center;
    }
    
    #home .flex.gap-8 {
        gap: 1rem;
        margin-top: 0.5rem;
    }
}

@media (min-width: 901px) {
    #home .flex.flex-col.lg\:flex-row {
        flex-direction: row;
        gap: clamp(2rem, 4vw, 3rem);
    }
    
    #home .flex.flex-col.lg\:flex-row > div:first-child {
        order: 1;
        flex: 1;
    }
    
    #home .flex.flex-col.lg\:flex-row > div:last-child {
        order: 2;
        flex: 1;
    }
    
    #home h1,
    #home p {
        text-align: left;
    }
    
    #home .flex.gap-4,
    #home .flex.gap-8 {
        justify-content: flex-start;
    }
}

/* ========================================
   DESKTOP STYLES (1024px+)
   ======================================== */
@media (min-width: 1024px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: var(--desktop-content-width);
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    #problem,
    .as-slider {
        min-height: 100vh !important; /* Minimum viewport height */
        height: auto !important; /* Allow to grow naturally */
        max-height: none !important; /* No maximum constraint */
        overflow: visible !important; /* No scrollbar - expand naturally */
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    #problem .slider-content-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 1rem; /* Reduced to make more room for navigation */
        padding-bottom: 1rem; /* Add padding at bottom of content */
        overflow: visible; /* Allow content to overflow naturally */
    }
    
    #problem .flex.justify-center.items-center.gap-8 {
        position: relative;
        margin-top: 3rem; /* Increased from auto to create more space */
        padding-top: 2rem; /* Add padding above navigation */
        padding-bottom: 2rem;
        flex-shrink: 0; /* Keep navigation at bottom */
    }
    
    header nav {
        max-width: var(--desktop-max-width);
        margin: 0 auto;
        padding: 1rem 2rem;
    }
    
    header nav > div:first-child,
    header nav .flex.items-center.gap-3 {
        margin-right: 3rem !important;
    }
    
    #header-logo,
    header img[alt="nfrti X"] {
        height: 3rem !important;
        min-height: 3rem !important;
    }
    
    #header-mascot {
        height: 6rem;
    }
    
    header nav .hidden.md\:flex {
        display: flex !important;
        gap: 2rem;
        flex-wrap: nowrap;
    }
    
    #home {
        padding: calc(80px + 3rem) 0 4rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    #home .lg\:w-1\/2:last-child {
        display: flex !important;
    }
    
    #home h1 {
        display: block;
    }
    
    #home h1::before {
        display: none;
    }
    
    #home img,
    #hero-mascot {
        max-width: 550px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .flex.gap-4 {
        flex-direction: row;
        gap: 1rem;
    }
    
    a.bg-nfrti-green,
    a.border-2 {
        width: auto;
    }
    
    .cta-btn {
        min-width: 180px;
        max-width: 200px;
    }
    
    #heritage {
        min-height: 100vh;
        height: 100vh;
        padding-top: 2rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .heritage-title h2 {
        font-size: 3rem;
        color: #111827;
    }
    
    .heritage-background-container {
        background-image: url('https://i.ibb.co/cSykX6HC/Picsart-25-11-21-10-16-07-770.jpg') !important;
        background-size: contain !important;
        background-position: left bottom !important;
        background-repeat: no-repeat !important;
    }
    
    .heritage-background-container::before {
        display: none !important;
    }
    
    .heritage-mascot-desktop {
        display: block !important;
    }
    
    #heritage .container {
        position: relative;
        z-index: 1;
        height: 100%;
        display: block;
    }
    
    .heritage-text-container {
        position: static !important;
        display: contents !important;
    }
    
    .heritage-text-1 {
        position: absolute !important;
        top: 5% !important;
        left: 5% !important;
        right: auto !important;
        max-width: 260px !important;
        width: auto !important;
        font-size: 0.85rem !important;
        text-align: left !important;
        line-height: 1.25 !important;
        background-color: rgba(243, 244, 246, 0.85) !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        cursor: default;
    }
    
    .heritage-text-1 p {
        color: #000 !important;
        text-align: justify !important;
    }
    
    .heritage-text-2 {
        position: absolute !important;
        top: 62% !important;
        right: 8% !important;
        left: auto !important;
        max-width: 300px !important;
        width: auto !important;
        font-size: 0.95rem !important;
        text-align: justify !important;
        line-height: 1.25 !important;
        background-color: rgba(243, 244, 246, 0.85) !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        cursor: default;
    }
    
    .heritage-text-2 p {
        color: #000 !important;
        text-align: justify !important;
    }
    
    .heritage-text-3 {
        position: absolute !important;
        top: 20% !important;
        right: 12% !important;
        left: auto !important;
        max-width: 380px !important;
        width: auto !important;
        font-size: 0.95rem !important;
        text-align: justify !important;
        line-height: 1.25 !important;
        background-color: rgba(243, 244, 246, 0.85) !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
        cursor: default;
    }
    
    .heritage-text-3 p {
        color: #000 !important;
        text-align: justify !important;
    }
    
    .heritage-text-1:hover,
    .heritage-text-2:hover,
    .heritage-text-3:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }
    
    .as-slider {
        min-height: 100vh;
        padding: 4rem 0;
    }
    
    #problem {
        padding-top: 4rem !important;
    }
    
    #problem .text-center.mb-12 {
        display: block;
        text-align: center;
        margin-bottom: 3rem;
    }
    
    #problem .text-center.mb-12 h2 {
        text-align: center;
        font-size: 2.5rem;
    }
    
    #problem .text-center.mb-12::before {
        display: none;
    }
    
    .slider-content-wrapper {
        max-width: 1200px;
        width: 100%;
        padding: 0 2rem;
    }
    
    .slide-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 450px;
        gap: 3rem;
        max-width: 100%;
        -webkit-animation: slideIn var(--speed) ease-out;
        animation: slideIn var(--speed) ease-out;
    }
    
    .slide-inner-reverse {
        display: grid;
        grid-template-columns: 450px minmax(0, 1fr);
        direction: ltr;
    }
    
    .slide-inner-reverse .content-side {
        order: 2;
        padding: 2rem !important;
    }
    
    .slide-inner-reverse .mascot-side {
        order: 1;
    }
    
    .mascot-side,
    .slider-mascot,
    .mascot-slide-left,
    .mascot-slide-right {
        display: flex !important;
    }
    
    .mascot-side {
        align-items: center;
        justify-content: center;
        width: 450px !important;
        height: 450px !important;
        flex-shrink: 0;
        position: relative;
        background: transparent;
        border-radius: 12px;
    }
    
    .mascot-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .slider-mascot {
        opacity: 0;
        pointer-events: none;
        filter: none;
    }
    
    .slide-content.currentUp .mascot-slide-right .slider-mascot,
    .slide-content.currentDown .mascot-slide-right .slider-mascot {
        -webkit-animation: mascotEnterRight 0.8s ease-out forwards;
        animation: mascotEnterRight 0.8s ease-out forwards;
    }
    
    .slide-content.currentUp .mascot-slide-left .slider-mascot,
    .slide-content.currentDown .mascot-slide-left .slider-mascot {
        -webkit-animation: mascotEnterLeft 0.8s ease-out forwards;
        animation: mascotEnterLeft 0.8s ease-out forwards;
    }
    
    .slide-content.prev .slider-mascot,
    .slide-content.next .slider-mascot {
        -webkit-animation: mascotExit 0.6s ease-in forwards;
        animation: mascotExit 0.6s ease-in forwards;
    }
    
    .content-side {
        min-width: 0;
        max-width: 100%;
    }
    
    .content-card {
        padding: 2rem !important;
        max-width: 100%;
        width: 100%;
    }
    
    .chart-container {
        height: 400px !important;
        max-height: 400px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .chart-container canvas {
        max-height: 400px !important;
    }
    
    #roi-calculator .grid-cols-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    
    #roi-results .grid-cols-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
    
    #roi-results .text-2xl {
        font-size: 1.5rem;
    }
    
    .as-bar .dot {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .as-bar .dot-number {
        font-size: 18px;
    }
    
    .as-slider-left,
    .as-slider-right {
        width: 45px;
        height: 45px;
        border-width: 2px;
    }
    
    .as-slider-left i,
    .as-slider-right i {
        font-size: 18px;
    }
    
    #solution {
        padding: 2rem 0;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    
    #solution .container {
        max-width: 1200px;
        width: 100%;
    }
    
    #solution .flex {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }
    
    #solution .lg\:w-1\/2 {
        flex: 0 0 48%;
        width: 48%;
        max-width: 48%;
        min-width: 0;
    }
    
    #solution img,
    #solution-mascot {
        width: clamp(400px, 43vw, 500px);
        max-width: 500px;
    }
    
    #solution .grid.grid-cols-1 {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    #solution .bg-white\/10 {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    #contact {
        padding: 4rem 0;
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
    
    #contact .container {
        max-width: 1200px;
        width: 100%;
    }
    
    #contact .grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }
    
    .industry-card {
        max-width: 100%;
        width: 100%;
    }
    
    #contact form {
        max-width: 100%;
        width: 100%;
    }
    
    #contact .grid.grid-cols-1.md\:grid-cols-2 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
    
    footer .container {
        max-width: 1400px;
    }
    
    footer .grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 1201px) and (max-width: 1439px) {
    .slider-content-wrapper {
        max-width: 1150px;
    }
    
    .slide-inner {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 2.5rem;
    }
    
    .slide-inner-reverse {
        grid-template-columns: 420px minmax(0, 1fr);
    }
    
    .mascot-side {
        width: 420px !important;
        height: 420px !important;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {
    header nav .space-x-8 > * + * {
        margin-left: 1rem !important;
    }
    
    header nav .hidden.md\:flex {
        gap: 1rem !important;
    }
    
    header nav a {
        font-size: 14px;
        padding: 0 0.5rem;
    }
    
    .cta-btn {
        min-width: 140px;
        max-width: 160px;
        font-size: 14px;
        padding: 0.5rem 1rem;
    }
    
    header nav {
        padding: 1rem 1rem;
    }
    
    .slide-inner {
        grid-template-columns: 1fr 380px;
        gap: 30px;
    }
    
    .slide-inner-reverse {
        grid-template-columns: 380px 1fr;
    }
    
    .mascot-side {
        width: 380px !important;
        height: 380px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* ========================================
   LANDSCAPE MOBILE ORIENTATION
   ======================================== */
@media (orientation: landscape) and (max-height: 600px) {
    #home {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    
    #home img {
        max-width: 300px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .no-print,
    header,
    footer,
    .mascot-speech-bubble,
    button,
    #mobile-menu,
    .as-bar,
    .as-slider-left,
    .as-slider-right {
        display: none;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    section {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}