/* ============================================
   SISU INVESTMENT HOLDINGS - HOMEPAGE STYLES
   ============================================
   TABLE OF CONTENTS:
   1. Reset & Base Styles
   2. CSS Variables
   3. Navigation
   4. Hero Section
   5. Discover Sisu Section
   6. Categories Section
   7. Footer
   8. Responsive Design
   ============================================ */

/* ============================================
   1. RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    background: #FFFFFF;
    min-height: 100%;
}

body.hero-active {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   2. CSS VARIABLES
   ============================================ */
:root {
    /* Official Brand Colors */
    --midnight-blue: #191970;
    --charcoal: #333333;
    --emerald-green: #2E8B57;
    --platinum: #E5E4E2;
    --twilight-blue: #3030AF;

    /* Primary Colors (Currently Used) */
    --primary-green: #52B788;
    --primary-teal: #40916C;
    --primary-navy: #1B365D;

    /* Text Colors */
    --text-dark: #2D3748;
    --text-light: #718096;
    --text-gray: #6B7280;

    /* Base Colors */
    --white: #FFFFFF;
    --overlay: rgba(255, 255, 255, 0.85);
}

/* ============================================
   3. NAVIGATION
   ============================================ */
/* Navigation styles moved to layout/navbar.css */

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image Slider */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateX(100%) scale(1.5);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.background-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.background-slide.fade-out {
    opacity: 0;
    transform: translateX(0) scale(1);
    transition: opacity 1.5s ease-in-out;
}

/* Hero Overlay - REMOVED for clean background */
.hero-overlay {
    display: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 136px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(20vh, 35vh, 35vh);
    animation: fadeInUp 1s ease-out 0.5s both;
    transition: opacity 0.3s ease-out;
}

.hero.transitioning-out .hero-title {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.hero.transitioning-out .cta-button {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero.transitioning-in .hero-title {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero.transitioning-in .cta-button {
    opacity: 1;
    transition: opacity 0.5s ease 0.2s;
}

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

@keyframes buttonSlideFromCenter {
    from {
        opacity: 0;
        transform: translateY(calc(-100vh + 35vh + 150px));
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: #4A5568;
    line-height: 1.3;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.title-line {
    opacity: 0;
    animation: fadeInSlide 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    display: block;
}

.title-line:nth-child(1) {
    animation-delay: 0.8s;
}

.title-line:nth-child(2) {
    animation-delay: 1.1s;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Highlight wrapper - contains animated words */
.highlight-wrapper {
    display: inline;
    position: relative;
    overflow: visible;
    vertical-align: baseline;
}

.highlight {
    font-weight: 400;
    display: inline-block;
    white-space: nowrap;
}

/* Gray word - first in cycle */
.word-gray {
    color: #4A5568;
    animation: wordCycle1 12s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

/* Green word - second in cycle */
.word-green {
    color: var(--primary-green);
    animation: wordCycle2 12s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    position: absolute;
    left: 0;
    top: 0;
}

/* Blue word - third in cycle */
.word-blue {
    color: var(--midnight-blue);
    animation: wordCycle3 12s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
    position: absolute;
    left: 0;
    top: 0;
}

/* Second line (Lasts) animates with delay */
.title-line:nth-child(2) .word-gray {
    animation: wordCycle1 12s cubic-bezier(0.25, 0.1, 0.25, 1) 6s infinite;
}

.title-line:nth-child(2) .word-green {
    animation: wordCycle2 12s cubic-bezier(0.25, 0.1, 0.25, 1) 6s infinite;
}

.title-line:nth-child(2) .word-blue {
    animation: wordCycle3 12s cubic-bezier(0.25, 0.1, 0.25, 1) 6s infinite;
}

/* Animation Cycle 1 - Gray: visible, slides up, comes back from top */
@keyframes wordCycle1 {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    8% {
        transform: translateY(-5px);
        opacity: 1;
    }
    12%, 22% {
        transform: translateY(0);
        opacity: 1;
    }
    24% {
        transform: translateY(-20px);
        opacity: 0;
    }
    25%, 88% {
        transform: translateY(-150%);
        opacity: 0;
    }
    92% {
        transform: translateY(-20px);
        opacity: 0;
    }
    94% {
        transform: translateY(0);
        opacity: 1;
    }
    95%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation Cycle 2 - Green: comes from bottom, pauses, goes down */
@keyframes wordCycle2 {
    0%, 22% {
        transform: translateY(150%);
        opacity: 0;
    }
    26% {
        transform: translateY(20px);
        opacity: 0;
    }
    28% {
        transform: translateY(0);
        opacity: 1;
    }
    32% {
        transform: translateY(-5px);
        opacity: 1;
    }
    36%, 55% {
        transform: translateY(0);
        opacity: 1;
    }
    59% {
        transform: translateY(20px);
        opacity: 0;
    }
    60%, 100% {
        transform: translateY(150%);
        opacity: 0;
    }
}

/* Animation Cycle 3 - Blue: comes from top, pauses, goes down */
@keyframes wordCycle3 {
    0%, 55% {
        transform: translateY(-150%);
        opacity: 0;
    }
    59% {
        transform: translateY(-20px);
        opacity: 0;
    }
    61% {
        transform: translateY(0);
        opacity: 1;
    }
    65% {
        transform: translateY(-5px);
        opacity: 1;
    }
    69%, 88% {
        transform: translateY(0);
        opacity: 1;
    }
    92% {
        transform: translateY(20px);
        opacity: 0;
    }
    93%, 100% {
        transform: translateY(150%);
        opacity: 0;
    }
}

/* Hero CTA Button */
.cta-button {
    background: var(--emerald-green);
    color: var(--white);
    border: none;
    padding: 0 2.5rem;
    height: 68px;
    font-family: 'DM Sans', sans-serif;
    font-size: 35px;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.25rem;
    margin-bottom: 60px;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    opacity: 0;
    animation: buttonSlideFromCenter 0.8s ease-out 1.5s forwards;
    overflow: hidden;
    text-decoration: none;
}

.cta-button .button-text-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

.cta-button .button-text-main,
.cta-button .button-text-hover {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-button .button-text-hover {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(50%);
    opacity: 0;
}

.cta-button:hover {
    background: var(--white);
    color: var(--emerald-green);
    border-color: var(--emerald-green);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.cta-button:hover .button-text-main {
    transform: translateY(-50%);
    opacity: 0;
}

.cta-button:hover .button-text-hover {
    transform: translateY(-50%);
    opacity: 1;
}

.cta-button:active {
    transform: scale(0.98);
}

.arrow-icon {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
    transform: translateY(4px);
}

.cta-button:hover .arrow-icon {
    color: var(--emerald-green);
    transform: translateY(6px);
}

/* ============================================
   5. DISCOVER SISU SECTION
   ============================================ */
.discover-section {
    background-color: #1B365D;
    background-image: url('../images/Mountain Overlay.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 4rem 136px 0 136px;
    z-index: 1;
}

.discover-section.transitioning-in .discover-content,
.discover-section.transitioning-in .discover-image {
    opacity: 0;
}

.discover-section.transitioning-out .discover-content,
.discover-section.transitioning-out .discover-image {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Responsive padding for discover section */
@media (max-width: 1024px) {
    .discover-section {
        padding: 0 4rem;
    }

    .discover-image {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .discover-section {
        padding: 0;
    }

    .discover-image {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .discover-section {
        padding: 0;
    }

    .discover-image {
        padding: 0;
    }
}

.discover-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: start;
}

.discover-content {
    color: var(--white);
    padding: 0;
    padding-right: 2rem;
    flex: 0 0 50%;
    max-width: 75%;
    width: 100%;
}

.discover-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 100vh;
}

.discover-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateX(-500px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.discover-section.visible .discover-title {
    opacity: 1;
    transform: translateX(0);
}

.discover-section.exit .discover-title {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Text Box with Quote */
.discover-text-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
    width: 100%;
    opacity: 0;
    transform: translateX(-500px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.discover-section.visible .discover-text-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.discover-section.exit .discover-text-wrapper {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.discover-text-box {
    border: 1px solid var(--white);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 0;
    background: transparent;
    flex: 1;
}

.discover-text-box p {
    font-size: clamp(0.95rem, 2vw + 0.25rem, 28px);
    font-family: 'DM Sans', sans-serif;
    line-height: clamp(1.5, 1.9, 1.9);
    color: var(--white);
    margin: 0;
}

.quote-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    padding-top: 0;
}

.quote-icon {
    width: clamp(32px, 3.5vw, 48px);
    height: auto;
}

/* Secondary CTA Button */
.cta-button-secondary {
    background: var(--emerald-green);
    color: var(--white);
    border: none;
    width: auto;
    min-width: 356px;
    height: 68px;
    padding: 0 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 35px;
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    overflow: visible;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-500px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.discover-section.visible .cta-button-secondary {
    opacity: 1;
    transform: translateX(0);
}

.discover-section.exit .cta-button-secondary {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.button-text-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-decoration: none !important;
}

.button-text-main,
.button-text-hover {
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
    text-decoration: none !important;
}

.button-text-hover {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    opacity: 0;
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--emerald-green);
    border-color: var(--emerald-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.cta-button-secondary:hover .button-text-main {
    transform: translateY(-100%);
    opacity: 0;
}

.cta-button-secondary:hover .button-text-hover {
    transform: translateY(0);
    opacity: 1;
}

.cta-button-secondary:active {
    transform: translateY(0);
}

.cta-button-secondary .arrow-icon {
    width: clamp(20px, 2vw, 35px);
    height: clamp(20px, 2vw, 35px);
    transition: all 0.3s ease;
    transform: translateY(4px);
    filter: brightness(0) invert(1);
}

.cta-button-secondary:hover .arrow-icon {
    filter: brightness(0) saturate(100%) invert(42%) sepia(28%) saturate(1156%) hue-rotate(107deg) brightness(92%) contrast(87%);
    transform: translateY(6px);
}

/* Discover Image */
.discover-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    flex: 1;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 530px;
    height: 85vh;
    margin-left: auto;
    margin-right: 0;
    overflow: hidden;
    border-radius: 0;
    opacity: 0;
    transform: translateY(200px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.discover-section.visible .image-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.discover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    padding: 0;
    display: block;
    transform: translateY(150px) scale(1.6);
    transition: transform 1.5s ease;
}

.discover-image img:hover {
    transform: translateY(0) scale(1.6);
}

/* Home Button Overlay */
.home-button {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) scale(0.625);
    transform-origin: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.home-button-box {
    background: var(--emerald-green);
    color: var(--white);
    width: 66px;
    height: 66px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.home-button-box .home-arrow-icon {
    width: 26px;
    height: 25px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    position: relative;
    filter: brightness(0) invert(1);
    transform: scale(1);
}

.home-button-text {
    color: var(--charcoal);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 24px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-button:hover {
    transform: translateX(-50%) scale(0.625);
}

.home-button:hover .home-button-box {
    background: var(--platinum);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
}

.home-button:hover .home-button-box .home-arrow-icon {
    transform: translateY(-150%) scale(1);
    opacity: 0;
}

.home-button-box::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 25px;
    background-image: url('../images/arrow-up.webp');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(150%) scale(1);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    filter: brightness(0) saturate(100%) invert(42%) sepia(28%) saturate(1156%) hue-rotate(107deg) brightness(92%) contrast(87%);
}

.home-button:hover .home-button-box::after {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ============================================
   6. CATEGORIES SECTION
   ============================================ */
.categories-section {
    background: var(--emerald-green);
    padding: 0 136px;
    height: 70px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.categories-slider {
    width: 100%;
    overflow: hidden;
}

.categories-track {
    display: flex;
    gap: 4rem;
    animation: slideLeft 20s linear infinite;
    width: fit-content;
}

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

.categories-track:hover {
    animation-play-state: paused;
}

.category-item {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 30px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* ============================================
   7. FOOTER
   ============================================ */
.footer {
    background: #1B2A5E;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    width: 100%;
    margin: 0;
    padding: 0 136px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Logo */
.footer-logo {
    height: 40px;
    margin-bottom: 2rem;
}

/* Contact Button */
.contact-button {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-green);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-icons a {
    color: var(--white);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-green);
}

/* Copyright & Legal */
.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2rem;
}

.legal-link {
    margin-top: 1rem;
}

.legal-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.legal-link a:hover {
    color: var(--primary-green);
}

/* ============================================
   8. RESPONSIVE DESIGN
   ============================================ */

/* Medium screens (between 768px and 1024px) */
@media (max-width: 1200px) {
    .discover-content {
        max-width: 85%;
    }

    .discover-text-wrapper {
        max-width: 100%;
    }
}

/* Large Tablet (1024px and below) */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 4rem;
        padding-top: clamp(20vh, 35vh, 35vh);
    }

    /* Discover Section for Large Tablets */
    .discover-section {
        min-height: 100vh;
        padding: 3rem 4rem;
    }

    .discover-container {
        flex-direction: row;
        align-items: center;
    }

    .discover-content {
        flex: 0 0 65%;
        max-width: 65%;
        width: 100%;
        padding-right: 2rem;
    }

    .discover-content-wrapper {
        height: auto;
        gap: 2.5rem;
        padding-bottom: 0;
    }

    .discover-image {
        display: flex;
        flex: 0 0 35%;
    }

    .image-wrapper {
        width: 100%;
        height: 70vh;
        max-width: 400px;
        margin-right: 2rem;
    }

    .discover-text-wrapper {
        max-width: 100%;
    }

    .discover-text-box {
        padding: 2rem;
    }

    .discover-text-box p {
        font-size: clamp(1.25rem, 2vw, 1.5rem);
        line-height: 1.7;
    }

    .discover-title {
        font-size: clamp(2rem, 4vw, 2.75rem);
        margin-bottom: 2rem;
    }

    .cta-button-secondary {
        margin-top: 2rem;
        font-size: clamp(1.25rem, 2vw, 1.75rem);
    }

    .categories-section {
        padding: 0 4rem;
        height: 70px;
    }

    .categories-track {
        gap: 3rem;
        animation: slideLeft 18s linear infinite;
    }

    .category-icon {
        width: 28px;
        height: 28px;
    }

    .footer-container {
        padding: 0 4rem;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 2rem;
        padding-top: 20vh;
    }

    .hero-title {
        font-size: 2rem;
        font-weight: 300;
        line-height: 1.3;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: clamp(1rem, 1.8vw, 1.25rem);
        margin-bottom: 100px;
        height: 56px;
    }

    .cta-button .arrow-icon {
        width: clamp(20px, 1.5vw, 28px);
        height: clamp(20px, 1.5vw, 28px);
    }

    .arrow-icon {
        width: 28px;
        height: 28px;
    }

    .nav-container {
        padding: 0 1rem;
    }

    /* Discover Section Responsive */
    .discover-section {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .discover-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .discover-content {
        order: 1;
        flex: 1;
        max-width: 100%;
        padding: 5rem 2rem 0 2rem;
    }

    .discover-image {
        order: 2;
        display: flex;
        width: 100%;
        margin: 0;
        flex: 1;
        padding: 0 2rem;
    }

    .discover-content-wrapper {
        height: auto;
        gap: 1.5rem;
        justify-content: center;
        padding-left: 0;
        padding-right: 0;
    }

    .image-wrapper {
        width: 100%;
        height: 60vh;
        max-width: 100%;
        margin: 0;
    }

    .discover-text-wrapper {
        max-width: 100%;
    }

    .discover-text-box {
        padding: 1.25rem;
    }

    .discover-text-box p {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        line-height: 1.6;
    }

    .discover-title {
        font-size: clamp(1.75rem, 3.5vw, 2.25rem);
        margin-bottom: 1rem;
    }

    .quote-icon {
        width: clamp(24px, 4vw, 32px);
    }

    .cta-button-secondary {
        margin-top: 1rem;
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        height: 56px;
        min-width: auto;
        width: auto;
        max-width: 100%;
    }

    .cta-button-secondary .arrow-icon {
        width: 24px;
        height: 24px;
    }

    .categories-section {
        padding: 0 2rem;
        height: 60px;
    }

    .categories-track {
        gap: 2.5rem;
        animation: slideLeft 15s linear infinite;
    }

    .category-item {
        font-size: 0.9rem;
    }

    .category-icon {
        width: 24px;
        height: 24px;
    }

    .footer-container {
        padding: 0 2rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .hero-content {
        padding-top: 25vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        font-weight: 300;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        margin-bottom: 80px;
        height: 52px;
    }

    .discover-container {
        flex-direction: column !important;
    }

    .discover-content {
        order: 1;
        max-width: 100%;
        padding: 6rem 1rem 0 1rem;
    }

    .discover-image {
        order: 2;
        display: flex !important;
        width: 100%;
        margin: 0;
        padding: 0 1rem;
    }
}

/* Small screen height (mobile landscape or short screens) */
@media (max-height: 700px) {
    .hero-content {
        padding-top: 15vh;
        justify-content: center;
        gap: 2rem;
    }

    .cta-button {
        margin-bottom: 60px;
    }

    .cta-button .arrow-icon {
        width: 20px;
        height: 20px;
    }

    .arrow-icon {
        width: 25px;
        height: 25px;
    }

    .navbar-logo-img {
        height: 35px;
    }
}

/* Extra small screen height */
@media (max-height: 600px) {
    .hero-content {
        padding-top: 10vh;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .cta-button {
        margin-bottom: 50px;
        height: 48px;
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Discover Section Mobile */
    .discover-section {
        padding: 0;
        min-height: auto;
        position: relative;
    }

    .discover-container {
        flex-direction: column;
    }

    .discover-content {
        max-width: 100%;
        padding-right: 0;
    }

    .discover-content-wrapper {
        height: auto;
        gap: 1.5rem;
        padding-bottom: 2rem;
        padding-left: 0;
        padding-right: 0;
    }

    .discover-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .discover-text-wrapper {
        max-width: 100%;
    }

    .discover-text-box {
        padding: 1.25rem;
    }

    .discover-text-box p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .quote-box {
        padding-left: 1rem;
    }

    .quote-icon {
        width: clamp(20px, 5vw, 28px);
    }

    .discover-image {
        display: flex !important;
        width: 100%;
        order: 2;
    }

    .discover-content {
        order: 1;
    }

    .image-wrapper {
        width: 100%;
        height: 50vh;
        max-width: 100%;
        margin: 0;
    }

    .discover-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Home Button - visible on mobile in top right */
    .home-button {
        display: flex !important;
        position: fixed;
        top: 120px;
        right: 1rem;
        left: auto;
        transform: none;
        z-index: 100;
    }

    .home-button-box {
        padding: 0.625rem;
    }

    .home-button-box .home-arrow-icon {
        width: 24px;
        height: 24px;
    }

    .home-button-box::after {
        width: 24px;
        height: 24px;
    }

    .home-button-text {
        font-size: 0.9rem;
    }

    .cta-button-secondary {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
        margin-top: 1rem;
        height: 52px;
        min-width: auto;
        width: auto;
        max-width: 100%;
    }

    .cta-button-secondary .arrow-icon {
        width: 20px;
        height: 20px;
    }

    .categories-section {
        padding: 0 1rem;
        height: 50px;
    }

    .categories-slider {
        max-width: 100%;
    }

    .categories-track {
        gap: 100vw;
        animation: slideLeftMobile 25s linear infinite;
    }

    @keyframes slideLeftMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100vw * 3 - 6rem));
        }
    }

    .category-item {
        font-size: 0.85rem;
        min-width: calc(100vw - 2rem);
        justify-content: center;
    }

    .category-icon {
        width: 20px;
        height: 20px;
    }

    .footer-container {
        padding: 0 1rem;
    }
}
