/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Import Geist font family from Google Fonts */
/* Import Geist font family removed (Moved to index.html for performance) */
@import url('tropicvolume-header.css');

body {
    font-family: 'Geist', sans-serif;
    font-weight: 200;
    /* ExtraLight 200 for general body content */
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
}

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

/* Full-width container override for gallery section */
#designs>.container {
    max-width: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Typography - Geist font family implementation */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    /* Bold 700 for main headings */
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: #333333;
    text-shadow: none;
}

/* Responsive adjustments for different heading sizes */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    /* Bold 700 for main headings */
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 500;
    /* Medium 500 for subheadings */
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #333333;
    font-weight: 200;
    /* ExtraLight 200 for general body content */
    line-height: 1.6;
    font-family: 'Geist', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img-responsive {
    width: clamp(140px, 18vw, 240px);
    /* Reduced to normal size */
    height: auto;
    aspect-ratio: 180.93398/22.711447;
    /* Maintain original SVG aspect ratio ~8:1 */
    transition: transform 0.3s ease;
}

.logo-img-responsive:hover {
    transform: scale(1.1);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    .logo-img-responsive {
        width: clamp(130px, 20vw, 200px);
    }
}

@media (max-width: 480px) {
    .logo-img-responsive {
        width: clamp(120px, 40vw, 180px);
    }
}

/* Tablet Portrait Logo Boost (768px - 1024px) */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .navbar {
        padding: 1rem 15px;
        /* Restore vertical padding to match Desktop */
    }

    .nav-logo {
        flex-shrink: 0;
        margin-right: 15px;
    }

    .logo-img-responsive {
        width: 200px !important;
        /* ~25px Height */
        max-width: 40vw;
    }

    /* Menu fits comfortably with 240px logo */
    .nav-menu {
        gap: 1.2rem !important;
        /* Relaxed gap */
    }

    .nav-link {
        font-size: 0.95rem !important;
        /* Standard readable text */
        padding: 0.5rem 0.8rem !important;
        margin: -0.5rem -0.5rem !important;
    }
}

.nav-logo h2 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 1.1rem);
    /* Reduced by half */
    font-weight: 400;
    /* Regular 400 for primary title */
    color: #1e3a2a;
    margin: 0;
    letter-spacing: -0.02em;
    /* Removed text-transform: uppercase to allow proper "TropicVolume" case */
}

/* Special styling for TropicVolume title */
.nav-logo h2::first-letter {
    font-size: 1.2em;
}

/* Primary Title Styling - Geist Sans Regular 400 */
.nav-logo h2.seaweed-script {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Regular 400 for primary title */
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    /* Reduced by half */
    letter-spacing: 0.02em;
    /* Removed text-transform: uppercase to allow proper "TropicVolume" case */
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #1e3a2a;
    font-weight: 500;
    font-family: 'Geist', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e3a2a;
    background: #ffd93d;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
}

.nav-link.active {
    color: #1e3a2a;
    background: #ffd93d;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: -0.5rem -1rem;
    font-weight: 600;
}

.nav-link::after {
    display: none;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Carousel Layout */
.hero {
    --content-height: 500px;
    /* Base content height */
    --min-vh-multiplier: 0.8;
    /* 80% of viewport height */
    --max-vh-multiplier: 0.9;
    /* 90% of viewport height */

    min-height: min(calc(var(--max-vh-multiplier) * 100vh), max(var(--content-height), calc(var(--min-vh-multiplier) * 100vh)));
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 50%, #a8d8ea 100%);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 900;
    /* Lower than navbar z-index */
    z-index: 900;
    /* Lower than navbar z-index */
    margin-top: 0;
    /* Removed margin-top: 80px because it now sits below #landing-intro */

}

.hero-container {
    width: 100%;
    height: calc(100% - 80px);
    /* Account for navbar height */
    position: relative;
}

.hero-carousel {
    width: 100%;
    height: 100%;
    /* Was calc(100vh - 80px); but now it fills the section */

}

.hero-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    align-items: center;
    margin-top: 0;
    /* Remove any top margin that could cause overlap */
    position: relative;
    /* Ensure positioning context for absolute chevrons */
}


.hero-text-panel {
    background: linear-gradient(135deg, #1e3a2a, #2e8b57);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-right: 2rem;
    min-height: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-tagline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    flex-shrink: 0;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    flex-grow: 1;
    overflow-y: auto;
    max-height: 150px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Desktop-specific font size adjustments for Hero Slider text overflow */
@media (min-width: 1200px) {
    .hero-tagline {
        font-size: 2.3rem !important;
        /* Optimized for perfect fit within desktop cards */
    }

    .hero-description {
        font-size: 1.875rem !important;
        /* Reduced to 75% of previous size for desktop */
        line-height: 1.2 !important;
        /* Very minimal spacing between lines for desktop */
    }

}

.hero-description::-webkit-scrollbar {
    width: 4px;
}

.hero-description::-webkit-scrollbar-track {
    background: transparent;
}

.hero-description::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.hero-description::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-image-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-text-panel .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

/* Owl Carousel Customization */
.hero-carousel-nav.owl-nav {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-top: 20px;
    z-index: 10;
}

.hero-carousel-nav.owl-nav button {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin: 0 15px;
}

.hero-carousel-nav.owl-nav button:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

/* Hide all carousel dots */
.hero-carousel .owl-dots {
    display: none !important;
}

/* Font Awesome Chevron Positioning - Production Ready Sass Solution */
/* Targeting the actual chevron elements within hero carousel navigation */
.hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
.hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    transition: all 0.3s ease;
    pointer-events: none;
    /* Prevent interference with click events */
}

/* Left chevron - positioned to left edge of hero container */
.hero-carousel-nav.owl-nav button.owl-prev i.fas.fa-chevron-left {
    left: 20px;
    /* Position at left edge accounting for hero-content padding */
}

/* Right chevron - positioned to right edge of hero container */
.hero-carousel-nav.owl-nav button.owl-next i.fas.fa-chevron-right {
    right: 20px;
    /* Position at right edge accounting for hero-content padding */
}

/* Enhanced hover effects for better UX */
.hero-carousel-nav.owl-nav button:hover i.fas.fa-chevron-left,
.hero-carousel-nav.owl-nav button:hover i.fas.fa-chevron-right {
    color: #ffffff;
    transform: translateY(-50%) scale(1.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {

    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
        font-size: 1.5rem;
    }

    .hero-carousel-nav.owl-nav button.owl-prev i.fas.fa-chevron-left {
        left: 10px;
        /* Adjusted for mobile accounting for reduced padding */
    }

    .hero-carousel-nav.owl-nav button.owl-next i.fas.fa-chevron-right {
        right: 10px;
        /* Adjusted for mobile accounting for reduced padding */
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {

    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
        font-size: 1.8rem;
    }

    .hero-carousel-nav.owl-nav button.owl-prev i.fas.fa-chevron-left {
        left: 15px;
        /* Adjusted for tablet accounting for hero-content padding */
    }

    .hero-carousel-nav.owl-nav button.owl-next i.fas.fa-chevron-right {
        right: 15px;
        /* Adjusted for tablet accounting for hero-content padding */
    }
}

/* High DPI screen optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
        transition: none;
    }

    .hero-carousel-nav.owl-nav button:hover i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button:hover i.fas.fa-chevron-right {
        transform: translateY(-50%);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-left,
    .hero-carousel-nav.owl-nav button i.fas.fa-chevron-right {
        color: #ffffff;
        text-shadow: 0 0 2px #000000;
    }
}

/* Focus states for accessibility */
.hero-carousel-nav.owl-nav button:focus i.fas.fa-chevron-left,
.hero-carousel-nav.owl-nav button:focus i.fas.fa-chevron-right {
    outline: 2px solid #ffd93d;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Circular Knob/Dial Control */
.knob-indicator-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
}

.knob-indicator {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: 2px solid #2e8b57;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knob-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.knob-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 700;
}

.knob-value {
    font-size: 1.2rem;
    color: #2e8b57;
    font-weight: 800;
}

.knob-total {
    font-size: 0.8rem;
    color: #5a7d5a;
    opacity: 0.8;
}

.knob-marker {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #2e8b57;
    border-radius: 2px;
}

/* Responsive Design for Knob Indicator */
@media (max-width: 1200px) {
    .knob-indicator-container {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }

    .knob-value {
        font-size: 1rem;
    }

    .knob-total {
        font-size: 0.7rem;
    }

    .knob-marker {
        top: 4px;
        width: 3px;
        height: 6px;
    }
}

@media (max-width: 768px) {
    .knob-indicator-container {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .knob-value {
        font-size: 0.9rem;
    }

    .knob-total {
        font-size: 0.6rem;
    }

    .knob-marker {
        top: 3px;
        width: 2px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .knob-indicator-container {
        width: 35px;
        height: 35px;
        top: 8px;
        right: 8px;
    }

    .knob-value {
        font-size: 0.8rem;
    }

    .knob-total {
        font-size: 0.5rem;
    }

    .knob-marker {
        top: 2px;
        width: 2px;
        height: 4px;
    }
}

/* Button Styles (Preserved from original) */
.btn-primary.instant-design-btn {
    background: #ffd93d;
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
    font-size: 1.2rem;
    padding: 18px 35px;
    color: #1e3a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-primary.instant-design-btn:hover {
    background: #ffc93d;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.5);
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-family: 'Geist', sans-serif;
    color: #333333;
}

.btn-primary {
    background: #ffd93d;
    color: #1e3a2a;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    background: #ffc93d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}


/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #1e3a2a;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 0;
    color: #5a7d5a;
    font-size: 1.2rem;
}

/* Process section specific spacing */
#process .section-subtitle {
    margin-bottom: 0.125rem;
}

#process .step-selectors {
    margin-bottom: 0.5rem;
}

#process .minimal-slider-container .slider-title {
    margin-bottom: 0.125rem;
}

#process .minimal-slider-container .slide-text {
    margin-top: 0.125rem;
    padding: 0.375rem 0.75rem;
}


/* Unified Card System */
.unified-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Consistent dimensions */
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.unified-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}


.service-icon {
    font-size: 3rem;
    color: #ffd93d;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1e3a2a;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #5a7d5a;
    border-bottom: 1px solid #eee;
}

/* Landing Page Introduction Section */
#landing-intro {
    background-color: #ffffff;
    padding: 0;
    margin-top: 80px;
    /* Accounts for fixed navbar */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    /* Full page height minus navbar */
    position: relative;
    overflow: hidden;
}

.landing-text-container {
    font-family: 'Geist', sans-serif;
    font-size: clamp(1.5rem, 6vw, 2.6rem);
    /* Reduced min size for mobile safety */
    letter-spacing: -0.02em;
    position: relative;
    display: flex;
    /* Flexbox for better alignment */
    flex-direction: column;
    /* Stack vertically for lines */
    align-items: center;
    /* Horizontally center items */
    justify-content: center;
    /* Vertically center content initially */
    height: 100%;
    /* Force full height of parent */
    padding: 2rem 5%;
    /* Use percentage driven padding for safety */
    width: 100%;
    /* Take full width but center content */
    max-width: 1200px;
    /* Max constraint */
}

/* Landing Lines */
.landing-line {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center text content */
    margin-bottom: 1rem;
    white-space: nowrap;
    opacity: 0;
    /* Hidden initially, revealed by JS */
    position: relative;
    width: 100%;
}

@media (max-width: 1024px) {
    .landing-text-container {
        padding: 0 15px;
        /* Hard safety padding */
        width: 100%;
        overflow: hidden;
    }

    .landing-line {
        white-space: normal;
        /* Allow wrapping */
        flex-wrap: wrap;
        text-align: center;
        margin-bottom: 2rem;
        /* More space between wrapped blocks */
        width: 100%;
        line-height: 1.4;
    }

    /* Force spans to behave on mobile */
    .landing-prefix,
    .landing-highlight {
        max-width: 100%;
        word-wrap: break-word;
        /* Allow long words to break if necessary */
        display: inline;
        /* Reset from possible inline-block to flow naturally */
    }
}

/* Specific fix for Mobile Landscape text size */
@media (max-width: 1024px) and (orientation: landscape) {
    .landing-text-container {
        font-size: clamp(1.2rem, 3vw, 2.5rem);
        /* even smaller relative to width */
        padding: 1rem 2rem;
        width: 100%;
        overflow-x: hidden;
    }

    .landing-line {
        white-space: normal;
        /* Force wrapping on landscape */
        flex-wrap: wrap;
        width: 100%;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .landing-prefix,
    .landing-highlight {
        max-width: 100%;
        word-wrap: break-word;
        display: inline;
    }

    .landing-cta-btn {
        margin-top: 1rem;
        padding: 0.8rem 2rem;
    }
}

.landing-prefix {
    color: #333333;
    /* Dark Grey */
    font-weight: 200;
    /* Thin/ExtraLight */
    position: relative;
    z-index: 2;
    /* Text above highlight */
    margin-right: 0.3em;
}

.landing-highlight {
    color: #1e3a2a;
    /* Dark Green */
    font-weight: 400;
    /* Regular */
    position: relative;
    z-index: 2;
    /* Text above highlight */
    display: inline-block;
}

.landing-bar {
    position: absolute;
    width: 3px;
    height: 1.25em;
    background-color: #ffd93d;
    /* Brand Yellow */
    z-index: 1;
    /* Behind text (highlight mode) or Front (cursor mode) */
    pointer-events: none;
    display: none;
    /* Hide until JS starts */
}

/* Landing CTA Button */
.landing-cta-btn {
    margin-top: 2.5rem;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 217, 61, 0.4);
    opacity: 0;
    animation: landingBtnFade 1s ease 1s forwards;
}

/* Landing Mouse Scroll */
.landing-scroll {
    margin-top: 4rem;
    /* Position relative to content */
    margin-bottom: 0;
    /* Space from edge */
    text-align: center;
    color: #e0e0e0;
    /* Light Grey */
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    opacity: 0;
    /* Animated in */
    animation: landingBtnFade 1s ease 2s forwards;
    /* Appear after button */
}

.landing-scroll .mouse {
    width: 26px;
    height: 40px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    /* Light Grey Border */
    overflow: hidden;
    position: relative;
    margin: 0 auto 10px;
}

.landing-scroll .roll {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    margin-left: -2px;
    height: 4px;
    border-radius: 4px;
    background: #e0e0e0;
    /* Light Grey Dot */
    animation: mouseScroll 1s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
    z-index: 2;
}

.landing-scroll .rollshadow {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    margin-left: -2px;
    height: 4px;
    background: rgba(51, 51, 51, 0.3);
    border-radius: 4px;
    animation: mouseScroll 1s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate;
    animation-delay: 80ms;
    z-index: 1;
}

@keyframes mouseScroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(14px);
    }
}

/* Mobile adjust for scroll indicator */
@media (max-width: 900px) and (orientation: landscape) {
    .landing-scroll {
        display: none;
        /* Hide on constrained landscape heights */
    }
}

@keyframes landingBtnFade {
    to {
        opacity: 1;
    }
}

/* Adjust for mobile to allow wrapping if absolutely necessary */
@media (max-width: 768px) {
    .landing-text-container {
        flex-wrap: wrap;
        /* Allow wrapping on small screens */
        justify-content: center;
        text-align: center;
    }
}

.landing-txt1 {
    color: #333333;
    /* Dark Grey */
    font-weight: 400;
    /* Regular */
    position: relative;
    z-index: 2;
    /* Text above highlight */
    white-space: nowrap;
}

.landing-txt2 {
    color: #1e3a2a;
    /* Dark Green */
    font-weight: 700;
    /* Bold */
    margin-left: 0.3em;
    position: relative;
    z-index: 2;
    /* Text above highlight */
    display: inline-block;
    white-space: nowrap;
}

.landing-bar {
    position: absolute;
    /* Absolute relative to specific char or container? Ideally absolute to container but animated */
    /* We will control position via JS */
    width: 3px;
    height: 1.25em;
    /* Match line height */
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffd93d;
    /* Brand Yellow */
    z-index: 1;
    /* Behind text (highlight mode) or Front (cursor mode)? 
                   User said "Solid highlight behind the Dark green text"
                   So when it expands, it should be behind. But as a cursor it should be visible. 
                   We will toggle z-index or opacity via JS. */
    pointer-events: none;
}


.service-features li:last-child {
    border-bottom: none;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-image.placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    color: #2e8b57;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #5a7d5a;
}

/* Contact */
.minimal-contact {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.minimal-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-minimal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contact-item-minimal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #5a7d5a;
    font-size: 1.1rem;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    /* Medium 500 for contact info */
}

.contact-item-minimal i {
    color: #2e8b57;
    font-size: 1.3rem;
    width: 24px;
}

.contact-cta {
    font-size: 1.4rem;
    color: #1e3a2a;
    font-weight: 600;
    font-family: 'Geist', sans-serif;
    margin: 0;
    letter-spacing: 0.02em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
    justify-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Reduced from 2rem to 1rem */
    /* Enhanced dynamic height adjustment */
    height: auto;
    min-height: min-content;
    max-height: calc(100vh - 40px);
    /* Account for padding/margins */
    overflow-y: auto;
    /* Smooth height transitions */
    transition: min-height 0.3s ease, max-height 0.3s ease;
    /* Ensure proper content fitting */
    align-self: stretch;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #2e8b57;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #1e3a2a;
}

.contact-details p {
    color: #5a7d5a;
    word-wrap: break-word;
    max-width: 100%;
    margin: 0;
}

.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    width: 100%;
    max-width: none;
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Consistent dimensions with unified cards */
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Enhanced dynamic height adjustment system */
.contact-content-stacked {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: none;
    position: relative;
}

.contact-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Reduced from 1rem to 0.75rem */
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Regular weight for contact form */
    flex-grow: 1;
}

.contact-form-fullwidth {
    width: 100%;
}

.contact-info-fullwidth {
    width: 100%;
    background: linear-gradient(135deg, #f8faf4 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    /* Expand to full width of container */
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    /* Remove any potential bottom margin that might create space for footer */
    margin-bottom: 0;
}

/* Container adjustment for proper spacing */
.contact-content-stacked {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: none;
    position: relative;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .contact-info-fullwidth {
        padding: 1rem;
    }

    /* Ensure contact info stays at bottom within contact section */
    #contact .contact-info-fullwidth {
        position: sticky;
        bottom: 20px;
        z-index: 10;
    }

    /* Prevent overlap with other sections */
    #contact {
        position: relative;
        z-index: 1;
    }
}

/* Tablet and desktop - normal flow */
@media (min-width: 769px) {
    .contact-info-fullwidth {
        position: relative;
        bottom: auto;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .contact-info-fullwidth {
        padding: 1rem;
        border-radius: 0;
    }

    .contact-content-stacked {
        padding-bottom: 150px;
    }

    /* Ensure form elements are accessible above fixed card */
    .contact-form-fullwidth {
        position: relative;
        z-index: 50;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-info-fullwidth {
        padding: 1.25rem;
        border-radius: 15px 15px 0 0;
        margin: 0 auto;
        max-width: 90%;
    }

    .contact-content-stacked {
        padding-bottom: 180px;
    }
}

/* Desktop large screens */
@media (min-width: 1025px) {
    .contact-info-fullwidth {
        padding: 1.5rem;
        border-radius: 20px 20px 0 0;
        margin: 0 auto;
        max-width: 80%;
    }

    .contact-content-stacked {
        padding-bottom: 200px;
    }
}

/* Tablet Responsive Design - Comprehensive Implementation */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Navigation adjustments */
    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    /* Hero section optimization */
    .hero-content {
        padding: 0 15px;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
    }

    .hero-text-panel {
        padding: 2rem;
        min-height: auto;
        max-height: none;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-tagline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1.4rem;
        max-height: none;
        flex-grow: 1;
        overflow-y: auto;
        margin-bottom: 1rem;
    }

    .hero-text-panel .hero-buttons {
        margin-top: auto;
        flex-shrink: 0;
    }

    .hero-image {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }

    /* Services grid optimization */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Expertise grid optimization */
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* How It Works grid optimization */
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    /* Contact form optimization */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    /* Form elements optimization */
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px;
        font-size: 1rem;
    }

    /* Button sizing optimization */
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-primary.instant-design-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

    /* Card system optimization */
    .unified-card {
        padding: 1.25rem;
        min-height: 280px;
    }

    /* Footer optimization */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        padding: 0 30px;
    }

    /* Image carousel optimization */
    .slide-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        max-height: 300px;
    }

    /* Process section optimization */
    .step-selectors {
        gap: 1rem;
        padding: 0 15px;
    }

    .step-selector {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 15px;
    }

    .step-selector:not(:last-child)::after {
        right: -30px;
        font-size: 1.1rem;
    }
}

/* Smooth transitions for orientation changes */
.gallery-grid {
    transition: all 0.3s ease-in-out;
}

.mobile-carousel {
    transition: all 0.3s ease-in-out;
}


/* Enhanced gallery overlay and interaction styles */
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 42, 0.9));
    color: white;
    padding: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.gallery-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Enhanced gallery item styles */
.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: none;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Enhanced gallery grid layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0;
    padding: 20px;
    width: 100%;
}

/* Enhanced filter buttons */
.filter-btn {
    padding: 15px 30px;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    background: transparent;
    color: #2e8b57;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn:hover {
    background: #2e8b57;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 87, 0.3);
}

.filter-btn:focus {
    outline: none;
    background: #2e8b57;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.3);
}

.filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.2);
}

.filter-btn.active {
    background: #2e8b57;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.filter-btn.active:hover {
    background: #1e3a2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 42, 0.35);
}

.filter-btn.active:focus {
    background: #1e3a2a;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(30, 58, 42, 0.5);
}

.filter-btn.active:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(30, 58, 42, 0.25);
}

.filter-btn.secondary {
    border-color: #88c9a1;
    color: #5a7d5a;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.filter-btn.secondary:hover {
    background: #88c9a1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 201, 161, 0.3);
}

.filter-btn.secondary:focus {
    outline: none;
    background: #88c9a1;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(136, 201, 161, 0.3);
}

.filter-btn.secondary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(136, 201, 161, 0.2);
}

.filter-btn.secondary.active {
    background: #88c9a1;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(136, 201, 161, 0.3);
}

.filter-btn.secondary.active:hover {
    background: #5a7d5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 125, 90, 0.35);
}

.filter-btn.secondary.active:focus {
    background: #5a7d5a;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(90, 125, 90, 0.5);
}

.filter-btn.secondary.active:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(90, 125, 90, 0.25);
}

/* Enhanced gallery toggle for categories */
.gallery-toggle-container {
    display: flex;
    justify-content: center;
    margin: 0 0 1.5rem 0;
    /* Increased bottom margin for spacing */
    padding: 0;
}

.gallery-toggle {
    position: relative;
    display: inline-flex;
    background: #2e8b57;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
    border: 2px solid #1e3a2a;
}

.gallery-toggle-option {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    z-index: 1;
    position: relative;
    margin: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.gallery-toggle-option.active {
    background: #1e3a2a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 58, 42, 0.3);
    transform: translateY(-1px) scale(1.03);
}

.gallery-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2e8b57;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 0;
}

.gallery-toggle-option:first-child.active~.gallery-toggle-slider {
    transform: translateX(0);
}

.gallery-toggle-option:last-child.active~.gallery-toggle-slider {
    transform: translateX(100%);
}

.gallery-toggle-option:hover {
    background: rgba(30, 58, 42, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 58, 42, 0.25);
}

.gallery-toggle-option:focus {
    outline: none;
    background: rgba(30, 58, 42, 0.5);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 0 3px rgba(30, 58, 42, 0.3);
}

.gallery-toggle-option:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(30, 58, 42, 0.2);
}

.gallery-toggle-option.active {
    background: #1e3a2a;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(30, 58, 42, 0.3);
    transform: translateY(-1px) scale(1.03);
}

.gallery-toggle-option.active:hover {
    background: #1e3a2a;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(30, 58, 42, 0.35);
}

.gallery-toggle-option.active:focus {
    background: #1e3a2a;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 0 3px rgba(30, 58, 42, 1);
}

.gallery-toggle-option.active:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(30, 58, 42, 0.25);
}

/* Enhanced filter buttons container */
.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0 0 0;
    /* Increased top margin for spacing */
    padding: 0;
}

/* Category labels */
.category-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a2a;
    margin: 1.5rem 0 0.75rem 0;
    padding: 0.5rem 0;
    border-bottom: 2px solid #2e8b57;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-dropdown {
    position: relative;
    display: inline-block;
}

.category-dropdown select {
    padding: 15px 30px;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    background: white;
    color: #2e8b57;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232e8b57' stroke-width2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 50px;
}

.category-dropdown select:focus {
    outline: none;
    border-color: #ffd93d;
    box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
}


/* Mobile responsive adjustments */



/* Additional tablet breakpoint for 768px-992px range */
@media (min-width: 768px) and (max-width: 992px) {

    /* Container optimization */
    .container {
        padding: 0 15px;
    }

    /* Navigation logo sizing */
    .logo-img-responsive {
        width: clamp(125px, 15vw, 237.5px);
        /* Increased by 1.25x */
    }

    /* Hero section optimization */
    .hero-content {
        padding: 0 15px;
        gap: 1.5rem;
        height: auto;
        min-height: auto;
    }

    .hero-text-panel {
        padding: 1.5rem;
        min-height: auto;
        max-height: none;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .hero-tagline {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    /* Services grid optimization for 768px-992px range */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .hero-description {
        font-size: 1.2rem;
        max-height: none;
        flex-grow: 1;
        overflow-y: auto;
        margin-bottom: 1rem;
    }

    .hero-text-panel .hero-buttons {
        margin-top: auto;
        flex-shrink: 0;
    }

    .hero-image {
        height: auto;
        max-height: 350px;
        object-fit: contain;
    }

    /* Hero carousel controls */
    .hero-carousel-nav.owl-nav {
        padding: 15px 0;
        margin-top: 15px;
    }

    .hero-carousel .owl-nav button {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    /* Section spacing optimization */
    section {
        padding: 50px 0;
    }

    /* Typography optimization */
    h1 {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }

    h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }

    h3 {
        font-size: clamp(1.4rem, 2.8vw, 1.6rem);
    }

    p {
        font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    }
}

/* Ensure proper spacing and no overlap */
.contact-info-fullwidth .minimal-contact {
    margin-bottom: 0;
}

/* Accessibility: High contrast mode support */
@media (prefers-contrast: high) {
    .contact-info-fullwidth {
        background: #ffffff;
        border-top: 3px solid #2e8b57;
        box-shadow: 0 -5px 20px rgba(46, 139, 87, 0.3);
    }

    .contact-info-fullwidth .contact-item-minimal {
        color: #1e3a2a;
    }

    .contact-info-fullwidth .contact-item-minimal i {
        color: #2e8b57;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .contact-info-fullwidth {
        transition: none;
    }
}

/* Focus styles for keyboard navigation */
.contact-info-fullwidth:focus-within {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
}

/* Touch-friendly sizing for mobile */
@media (max-width: 480px) {
    .contact-info-fullwidth {
        padding: 0.75rem;
    }

    .contact-info-fullwidth .contact-item-minimal {
        font-size: 0.95rem;
    }

    .contact-info-fullwidth .contact-item-minimal i {
        font-size: 1.1rem;
    }

    .contact-content-stacked {
        padding-bottom: 130px;
    }
}

/* Ensure contact items are properly spaced */
.contact-info-minimal {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.contact-item-minimal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    /* Minimum touch target size */
    padding: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-separator {
    color: #5a7d5a;
    margin: 0 0.5rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 0.75rem;
    /* Reduced from 1rem to 0.75rem */
    width: 100%;
    font-family: 'Geist', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    /* Reduced from 15px to 12px */
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: border-color 0.3s ease;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Geist', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ffd93d;
}

.form-group textarea {
    resize: vertical;
    min-height: 50px;
    /* Reduced from 70px to 50px */
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Regular weight for textarea */
}

/* Placeholder styling for general form elements */
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Regular weight for placeholder text */
    color: #7f8c8d;
    opacity: 1;
    /* Ensure full opacity */
}

.hidden {
    display: none;
}


/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        background: linear-gradient(135deg, #0f1f15, #1e3a2a);
        border-top: 3px solid #ffd93d;
    }

    .footer-section h3 {
        color: #ffc93d;
    }

    .footer-section ul li a:hover {
        color: #ffc93d;
        text-decoration: underline;
    }

    .social-links a:hover {
        background: #ffd93d;
        color: #1e3a2a;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .footer-section ul li a,
    .social-links a {
        transition: none;
    }

    .footer-section ul li a:hover::before,
    .social-links a:hover {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
.footer-section ul li a:focus,
.social-links a:focus {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
    background: rgba(255, 217, 61, 0.2);
    border-radius: 4px;
}

/* Screen reader only text for social links */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
    max-width: none;
    padding: 0 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-section h3 {
    color: #ffd93d;
    margin-bottom: 1rem;
    font-family: 'Seaweed Script', cursive;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Geist', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer-section p {
    color: #ffffff;
    font-family: 'Geist', sans-serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    font-weight: 200;
    /* ExtraLight 200 for footer text */
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Geist', sans-serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
}

.footer-section ul li a:hover {
    color: #ffd93d;
    transform: translateX(8px);
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ffd93d, #ff9aa2);
    transform: translateY(-3px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(255, 217, 61, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    /* Medium weight for footer bottom */
    padding: 0 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    /* Medium weight for footer text */
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive Footer Design */
@media (max-width: 768px) {
    .footer {
        padding: 60px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 20px;
    }

    .footer-section {
        text-align: center;
        gap: 1.25rem;
    }

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

    .footer-section h4 {
        font-size: 1.3rem;
    }

    .footer-section p {
        font-size: 1rem;
    }

    .footer-section ul li a {
        font-size: 1rem;
        justify-content: center;
    }

    .footer-section ul li a::before {
        display: none;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .footer-bottom {
        padding: 0 20px;
    }

    .footer-bottom p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer-content {
        padding: 0 15px;
        gap: 2.5rem;
    }

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

    .footer-section h4 {
        font-size: 1.2rem;
    }

    .footer-section p {
        font-size: 0.95rem;
    }

    .footer-section ul li a {
        font-size: 0.95rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        z-index: 1000;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .designs-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Mobile layout - single column */
        gap: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Hero Slider Responsive Design - Tablet Landscape Optimization */
@media (max-width: 1199px) and (min-width: 993px) {
    .hero-content {
        max-width: 1000px;
        padding: 0 15px;
        grid-template-columns: 1fr 1fr;
        /* Maintain 2-column layout for tablet landscape */
    }
}

/* Hero Slider Responsive Design */
@media (max-width: 1199px) {
    .hero-content {
        max-width: 1000px;
        padding: 0 15px;
    }

    .hero-tagline {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text-panel {
        margin-right: 0;
        margin-bottom: 2rem;
        padding: 2rem;
        min-height: 420px;
        max-height: 420px;
    }

    .hero-image-panel {
        order: -1;
    }

    .hero-image {
        height: 400px;
    }

    .hero-carousel-nav.owl-nav {
        padding: 10px 0;
        margin-top: 10px;
    }

    .hero-carousel .owl-nav button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-carousel .owl-dots {
        bottom: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        --min-vh-multiplier: 0.7;
        /* 70% of viewport height */
        --max-vh-multiplier: 0.85;
        /* 85% of viewport height */
        --content-height: auto;
        /* Allow natural content height */
    }

    .hero-slide {
        height: auto;
        min-height: auto;
        padding: 40px 0;
        /* Reduced from 60px */
        align-items: flex-start;
        /* Top alignment for mobile */
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0 10px;
        margin-top: auto;
        margin-bottom: auto;
    }

    .hero-text-panel {
        padding: 1.25rem;
        /* Reduced from 1.5rem to 1.25rem */
        border-radius: 15px;
        min-height: auto;
        /* Remove fixed height to prevent scrollbar */
        max-height: none;
        height: auto;
        overflow: visible;
        /* Prevent scrollbar */
    }

    .hero-tagline {
        font-size: 1.4rem;
        /* Reduced from 1.6rem to 1.4rem */
        margin-bottom: 0.8rem;
        /* Reduced from 1rem to 0.8rem */
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.85rem;
        /* Reduced from 0.95rem to 0.85rem */
        max-height: none;
        /* Remove max-height to prevent scrollbar */
        overflow: visible;
        line-height: 1.4;
        /* Reduced from 1.5 to 1.4 */
        margin-bottom: 0.5rem;
        /* Added margin-bottom for spacing */
    }

    /* Move navigation arrows outside text area */
    .hero-carousel .owl-nav {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 1rem;
        /* Reduced from 1.5rem to 1rem */
        justify-content: center;
        gap: 0.75rem;
        /* Reduced from 1rem to 0.75rem */
    }

    .hero-carousel .owl-nav button {
        position: static;
        width: 40px;
        /* Reduced from 45px to 40px */
        height: 40px;
        /* Reduced from 45px to 40px */
        font-size: 1rem;
        /* Reduced from 1.1rem to 1rem */
    }

    .hero-carousel .owl-dots {
        bottom: 5px;
        /* Reduced from 10px to 5px */
    }

    .hero-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        margin-top: 1rem;
        /* Reduced from 1.5rem to 1rem */
        flex-direction: column;
        gap: 0.5rem;
        /* Reduced from 0.75rem to 0.5rem */
        justify-content: center;
        align-items: center;
    }

    .btn-primary.instant-design-btn,
    .btn-secondary {
        padding: 10px 20px;
        /* Reduced from 12px 25px to 10px 20px */
        font-size: 0.9rem;
        /* Reduced from 1rem to 0.9rem */
    }
}

/* Reduce vertical space between instant-design and designs sections for mobile */
.instant-design {
    padding: 40px 0;
    /* Reduced from 60px to 40px */
}

#designs {
    padding: 40px 0;
    /* Reduced from 60px to 40px */
}

/* Add gap between step-selector buttons and arrows for mobile */
.step-selector:not(:last-child)::after {
    right: -45px;
    /* Increased from -40px to -45px for mobile gap */
    font-size: 1.3rem;
    /* Slightly larger arrow for mobile visibility */
}

/* Center about-image placeholder for mobile */
.about-image.placeholder {
    margin: 0 auto;
    /* Center horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Desktop Enhancement */
@media (min-width: 1200px) {
    .hero {
        --min-vh-multiplier: 0.75;
        /* 75% of viewport height */
        --max-vh-multiplier: 0.88;
        /* 88% of viewport height */
    }
}

/* Center about-image placeholder for mobile */
.about-image.placeholder {
    margin: 0 auto;
    /* Center horizontally */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 480px) {
    .hero-slide {
        padding: 40px 0;
    }

    .hero-text-panel {
        padding: 1rem;
        border-radius: 12px;
        min-height: auto;
        /* Remove fixed height */
        max-height: none;
        height: auto;
        overflow: visible;
        /* Prevent scrollbar */
    }

    .hero-tagline {
        font-size: 1.4rem;
        /* Further reduced for mobile */
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.85rem;
        /* Smaller for mobile */
        max-height: none;
        /* Remove scrollbar */
        overflow: visible;
        line-height: 1.5;
    }

    .hero-image {
        height: 220px;
        /* Slightly smaller for mobile */
        border-radius: 12px;
    }

    /* Mobile navigation arrows positioning */
    .hero-carousel .owl-nav {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 1rem;
        justify-content: center;
        gap: 0.75rem;
    }

    .hero-carousel .owl-nav button {
        position: static;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-carousel .owl-dots {
        bottom: 8px;
    }

    .hero-carousel .owl-dot {
        width: 10px;
        height: 10px;
    }

    .hero-carousel .owl-dot.active {
        transform: scale(1.2);
    }

    .hero-buttons {
        margin-top: 1.25rem;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
    }

    .btn-primary.instant-design-btn,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-height: 40px;
    }
}

/* Fix gallery image white space while maintaining aspect ratio */
@media (max-width: 768px) {
    .mobile-gallery-slider .slider-slide img {
        width: 100%;
        /* Fill container width */
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
        display: block;
        background: transparent;
        /* Remove background color */
    }

    .mobile-gallery-slider .slider-slide {
        flex: 0 0 100%;
        /* Each slide takes full width */
        padding: 0 5px;
        /* Reduce side padding */
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .mobile-gallery-slider .slider-slide img {
        width: 100%;
        /* Fill container width */
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
    }

    .mobile-gallery-slider .slider-slide {
        flex: 0 0 100%;
        /* Each slide takes full width */
        padding: 0 3px;
        /* Minimal padding */
    }
}

/* Tablet-specific optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-text-panel {
        padding: 1.25rem;
        min-height: auto;
        /* Remove fixed height */
        max-height: none;
        height: auto;
        overflow: visible;
        /* Prevent scrollbar */
    }

    .hero-tagline {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        max-height: none;
        /* Remove scrollbar */
        overflow: visible;
        line-height: 1.5;
    }

    .hero-image {
        height: 300px;
    }

    /* Tablet navigation arrows positioning */
    .hero-carousel .owl-nav {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 1.5rem;
        justify-content: center;
        gap: 1rem;
    }

    .hero-carousel .owl-nav button {
        position: static;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn-primary.instant-design-btn,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 1rem;
        min-height: 48px;
    }
}

/* Accessibility enhancements - Focus indicators for keyboard navigation */
.hero-carousel .owl-nav button:focus {
    outline: 2px solid #ffd93d;
    outline-offset: 2px;
}

.hero-carousel .owl-dot:focus {
    outline: 2px solid #ffd93d;
    outline-offset: 2px;
}

/* Touch target optimization for mobile */
.btn-primary.instant-design-btn,
.btn-secondary {
    min-height: 44px;
    /* Minimum touch target size for accessibility */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Improved readability for small screens */
@media (max-width: 480px) {
    .hero-tagline {
        line-height: 1.3;
        /* Better line spacing for readability */
    }

    .hero-description {
        line-height: 1.5;
        /* Improved text spacing */
    }
}

/* Tablet readability optimization */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-tagline {
        line-height: 1.3;
    }

    .hero-description {
        line-height: 1.5;
    }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-text-panel {
        background: linear-gradient(135deg, #1e3a2a, #2e8b57);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .hero-carousel .owl-nav button,
    .hero-carousel .owl-dot,
    .hero-image {
        transition: none;
    }

    .hero-carousel .owl-nav button:hover,
    .hero-carousel .owl-dot:hover {
        transform: none;
    }
}

/* Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Instant Design Section */
.instant-design {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8faf4, #ffffff);
}

.ai-generator {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.generator-input {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: column;
    align-items: center;
}

.generator-input input {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.generator-input input:focus {
    outline: none;
    border-color: #ffd93d;
}

.result-container {
    margin-top: 2rem;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd93d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ai-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ai-result img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Form Validation */
.error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.success {
    color: #2e8b57;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

/* Multi-step Registration Form Styles */
.start-container {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.start-container .btn-primary.instant-design-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60px;
}

.start-note {
    color: #7f8c8d;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.registration-flow {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.registration-flow .form-step {
    width: 100%;
}

.registration-flow .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.registration-flow .form-group input,
.registration-flow .form-group textarea,
.registration-flow .form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin: 0;
    box-sizing: border-box;
}

/* Placeholder styling for registration flow forms */
.registration-flow .form-group input::placeholder,
.registration-flow .form-group textarea::placeholder,
.registration-flow .form-group select::placeholder {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    /* Regular weight for placeholder text */
    color: #7f8c8d;
    opacity: 1;
    /* Ensure full opacity */
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.form-select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: #ffd93d;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.consent-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10 px;
    margin-bottom: 1.5rem;
}

.consent-text h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.consent-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.consent-text li {
    margin-bottom: 0.5rem;
    color: #555;
}

.consent-text a {
    color: #ffd93d;
    text-decoration: none;
}

.consent-text a:hover {
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.upload-status {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.upload-status.error {
    color: #ffd93d;
}

.upload-status.success {
    color: #27ae60;
}

/* Form step transitions */
.form-step {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for forms */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.25rem;
        /* Reduced from 1.5rem to 1.25rem */
        margin: 0;
        width: 100%;
        /* Enhanced dynamic height on mobile */
        height: auto;
        min-height: min-content;
        max-height: calc(100vh - 40px);
        /* Maintain viewport constraint */
        align-self: stretch;
    }

    .contact-info {
        /* Enhanced dynamic height on mobile */
        max-height: calc(100vh - 40px);
        /* Maintain viewport constraint */
        align-self: stretch;
        gap: 0.75rem;
        /* Reduced from 1rem to 0.75rem for mobile */
    }

    .registration-flow {
        margin: 0 1rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }

    .form-step h3 {
        font-size: 1.5rem;
    }

    .consent-container {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 0.95rem;
    }
}


/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.explore-more-btn {
    background: transparent;
    color: #2e8b57;
    border: 2px solid #2e8b57;
}

.explore-more-btn:hover {
    background: #2e8b57;
    color: white;
    transform: translateY(-2px);
}

/* Expertise Section */
.expertise {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8faf4 0%, #ffffff 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    font-size: 3rem;
    color: #ffd93d;
    margin-bottom: 1rem;
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: #1e3a2a;
}

.expertise-card p {
    margin-bottom: 1.5rem;
    color: #5a7d5a;
}

.expertise-features {
    list-style: none;
    margin-top: 1.5rem;
}

.expertise-features li {
    padding: 0.5rem 0;
    color: #5a7d5a;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.expertise-features li:last-child {
    border-bottom: none;
}

/* Responsive adjustments for Expertise section */
@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .expertise-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .expertise-icon {
        font-size: 2.5rem;
    }

    .expertise-card h3 {
        font-size: 1.3rem;
    }

    .expertise-card p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .expertise-features li {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .expertise-card {
        padding: 1rem;
    }

    .expertise-icon {
        font-size: 2rem;
    }

    .expertise-card h3 {
        font-size: 1.2rem;
    }

    .expertise-card p {
        font-size: 0.95rem;
    }

    .expertise-features {
        margin-top: 1rem;
    }

    .expertise-features li {
        font-size: 0.9rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background: #ffffff;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    /* Ensure cards fill grid cells */
    min-width: 0;
    /* Prevent overflow */
}

.how-it-works-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 1);
}

.how-it-works-image.placeholder {
    height: 80px;
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.how-it-works-card:hover .how-it-works-image.placeholder {
    transform: scale(1.05);
}

.how-it-works-card h3 {
    margin-bottom: 0.75rem;
    color: #1e3a2a;
    font-size: 1.1rem;
}

.how-it-works-card p {
    color: #5a7d5a;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments for How It Works section */
@media (max-width: 1200px) {
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
    }
}

@media (max-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

@media (max-width: 480px) {
    .how-it-works-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .how-it-works-grid::-webkit-scrollbar {
        display: none;
    }

    .how-it-works-card {
        flex: 0 0 calc(100% - 2rem);
        scroll-snap-align: start;
        padding: 1rem;
        margin: 0 1rem;
    }

    .how-it-works-image.placeholder {
        height: 60px;
        font-size: 1.5rem;
    }

    /* Hide non-essential elements for mobile carousel */
    .how-it-works-card:not(:first-child) {
        opacity: 0.9;
    }
}

/* How It Works Slider Styles */
.how-it-works-slider-container {
    position: relative;
    margin-top: 2rem;
}

.how-it-works-step-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 1rem;
}

.how-it-works-step-indicators::-webkit-scrollbar {
    display: none;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.step-indicator.active {
    background: #ffd93d;
    border-color: #ffd93d;
    transform: scale(1.05);
}

.step-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 217, 61, 0.3);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2e8b57;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background: #1e3a2a;
    transform: scale(1.1);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #5a7d5a;
    text-align: center;
    transition: all 0.3s ease;
}

.step-indicator.active .step-label {
    color: #1e3a2a;
    font-weight: 600;
}

.how-it-works-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.how-it-works-slide {
    display: none;
}

.how-it-works-slide.active {
    display: block;
}

.slide-content {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    text-align: left;
}

.slide-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-image {
    display: block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.slide-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.slide-image:hover img {
    transform: scale(1.05);
}

.slide-content .slide-image.placeholder {
    height: 200px;
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 100%);
    color: white;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-content .slide-image:not(.placeholder) {
    height: auto;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
    /* Ensure proper image container behavior */
}

/* Remove any background/color styling that might interfere with actual images */
.slide-content .slide-image:not(.placeholder) {
    background: none;
    color: inherit;
    font-size: inherit;
    display: block;
    /* Ensure proper image container behavior */
}

/* Fix for slider images - ensure proper display and aspect ratio */
.slide-content .slide-image:not(.placeholder) img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.slide-content .slide-image:not(.placeholder):hover img {
    transform: scale(1.05);
}

.slide-content .slide-image img {
    width: 100%;
    height: auto;
    /* Change from 100% to auto to preserve aspect ratio */
    object-fit: contain;
    /* Change from cover to contain to show full image */
    transition: transform 0.3s ease;
    display: block;
    /* Ensure proper image display */
}

.slide-content .slide-image:hover img {
    transform: scale(1.05);
}

.slide-content .slide-image.placeholder {
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 100%);
    color: white;
    font-size: 2.5rem;
    display: flex;
    /* Keep flex for placeholders */
    justify-content: center;
    align-items: center;
}

/* Ensure actual images are not affected by placeholder styling */
.slide-content .slide-image:not(.placeholder) {
    background: none;
    color: inherit;
    font-size: inherit;
    display: block;
    /* Override flex display for actual images */
}

.slide-content h3 {
    margin-bottom: 1rem;
    color: #1e3a2a;
    font-size: 1.5rem;
}

.slide-content p {
    color: #5a7d5a;
    line-height: 1.6;
}

.how-it-works-slider-container .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.how-it-works-slider-container .slider-btn {
    width: 50px;
    height: 50px;
    background: #2e8b57;
    border: 2px solid #2e8b57;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.how-it-works-slider-container .prev-btn {
    margin-left: -70px;
}

.how-it-works-slider-container .next-btn {
    margin-right: -70px;
}

.how-it-works-slider-container .slider-btn:hover {
    background: #1e3a2a;
    transform: scale(1.1);
}

/* Tablet Responsive Design for Slider */
@media (min-width: 769px) and (max-width: 1024px) {
    .how-it-works-slider-container .prev-btn {
        margin-left: -55px;
    }

    .how-it-works-slider-container .next-btn {
        margin-right: -55px;
    }

    .how-it-works-slider-container .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .slide-content {
        padding: 1.25rem;
        margin: 0 0.75rem;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        max-height: 280px;
    }

    .slide-content .slide-image.placeholder {
        height: 180px;
        font-size: 2.2rem;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }

    .slide-content p {
        font-size: 0.95rem;
    }
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .how-it-works-step-indicators {
        gap: 1rem;
        margin-bottom: 2rem;
        justify-content: flex-start;
        padding: 0 0.5rem;
    }

    .how-it-works-slider-container .slider-controls {
        padding: 0 10px;
    }

    .how-it-works-slider-container .prev-btn {
        margin-left: -40px;
    }

    .how-it-works-slider-container .next-btn {
        margin-right: -40px;
    }

    .step-indicator {
        padding: 0.75rem;
        min-width: 80px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .slide-content {
        padding: 1.5rem;
        margin: 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        order: -1;
        /* Move image to top on mobile */
    }

    .slide-content .slide-image.placeholder {
        height: 150px;
        order: -1;
        /* Move placeholder to top on mobile */
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        /* Allow images to maintain their natural height */
    }

    .slide-content .slide-image.placeholder {
        height: 150px;
        /* Keep fixed height only for placeholders */
    }

    .slide-content .slide-image.placeholder {
        font-size: 2rem;
    }

    .slide-content h3 {
        font-size: 1.3rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .how-it-works-slider-container .slider-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .how-it-works-step-indicators {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        padding: 0 0.25rem;
    }

    .how-it-works-slider-container .slider-controls {
        padding: 0 5px;
    }

    .how-it-works-slider-container .prev-btn {
        margin-left: -20px;
    }

    .how-it-works-slider-container .next-btn {
        margin-right: -20px;
    }

    .step-indicator {
        padding: 0.5rem;
        min-width: 70px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .slide-content {
        padding: 1rem;
        margin: 0 0.5rem;
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        order: -1;
        /* Move image to top on mobile */
    }

    .slide-content .slide-image.placeholder {
        height: 120px;
        order: -1;
        /* Move placeholder to top on mobile */
    }

    .slide-content .slide-image:not(.placeholder) {
        height: auto;
        /* Allow images to maintain their natural height */
    }

    .slide-content .slide-image.placeholder {
        height: 120px;
        /* Keep fixed height only for placeholders */
    }

    .slide-content .slide-image.placeholder {
        font-size: 1.8rem;
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.85rem;
    }

    .how-it-works-slider-container .slider-btn {
        width: 40px;
        height: 40px;
    }
}

/* Test Image Section Styles */
.test-image-section {
    padding: 40px 0;
    background: #f8faf4;
    text-align: center;
}

.test-image-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.test-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.test-image-caption {
    color: #5a7d5a;
    font-size: 0.9rem;
    margin: 0;
}

/* Minimalist Image Slider Styles */
.minimal-slider-container {
    position: relative;
    width: 100%;
    margin: 3rem auto;
    padding: 0;
}

/* Step Selectors - Perfect Centering Across All Screen Sizes */
.step-selectors {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
    flex-wrap: nowrap;
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.step-selector {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #2e8b57;
    border-radius: 50%;
    color: #2e8b57;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
    margin: 0 20px;
}

/* Pure transparent arrow between steps - precise edge-to-edge connection */
.step-selector:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -40px;
    /* Position exactly at the outer edge of current button */
    top: 50%;
    transform: translateY(-50%);
    color: #2e8b57;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
    width: 40px;
    text-align: center;
    background: transparent;
}

.step-selector:hover {
    background: #2e8b57;
    color: white;
    transform: scale(1.1);
}

.step-selector.active {
    background: #2e8b57;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.minimal-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    display: none;
    padding: 20px;
    background: #ffffff;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.slider-slide.active {
    display: block;
}

/* Slide animations */
.slide-in-right {
    animation: slideInRight 0.5s ease-in-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-in-out forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.5s ease-in-out forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s ease-in-out forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slider-slide img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #2e8b57;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 0;
}

.slider-nav:hover {
    color: #1e3a2a;
    transform: translateY(-50%) scale(1.2);
}

.slider-nav.prev-btn {
    left: 0;
}

.slider-nav.next-btn {
    right: 0;
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .minimal-slider-container {
        padding: 0 15px;
        margin: 2rem auto;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
    }

    .minimal-slider {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .slider-nav {
        font-size: 1.8rem;
        padding: 0;
        top: calc(50% + 20px);
        /* Center to image, not text */
        z-index: 20;
    }

    .slider-nav.prev-btn {
        left: 10px;
    }

    .slider-nav.next-btn {
        right: 10px;
    }

    .slider-slide img {
        max-height: 200px;
        width: calc(100vw - 80px);
        /* Full width minus arrow space */
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }

    .minimal-slider-container .slide-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.3;
        padding: 0.875rem 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        max-width: 100%;
        margin: 1rem auto 0;
        background: #f8faf4;
        border-radius: 8px;
    }

    .minimal-slider-container .slider-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
        text-align: center;
        width: 100%;
    }

    .step-selector {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-selector:not(:last-child)::after {
        right: -17.5px;
        font-size: 1rem;
        width: 35px;
    }
}

@media (max-width: 480px) {
    .minimal-slider-container {
        padding: 0 10px;
        margin: 1.5rem auto;
    }

    .slider-nav {
        font-size: 1.5rem;
        padding: 0;
        top: calc(50% + 15px);
        /* Center to image, not text */
    }

    .slider-nav.prev-btn {
        left: 0;
    }

    .slider-nav.next-btn {
        right: 0;
    }

    .slider-slide img {
        max-height: 180px;
        width: calc(100vw - 60px);
        /* Full width minus arrow space */
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }
}

/* Slider Text Styles */
.minimal-slider-container .slide-text {
    margin-top: 0.125rem;
    padding: 0.375rem 0.75rem;
    background: #f8faf4;
    border-radius: 8px;
    color: #2e8b57;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile responsive text - 2 lines */
@media (max-width: 768px) {
    .minimal-slider-container .slide-text {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.3;
        padding: 0.875rem 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
    }
}

/* Slider Title Styles */
.minimal-slider-container .slider-title {
    text-align: center;
    margin-bottom: 0.125rem;
    color: #1e3a2a;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Slider Titles Container */
.minimal-slider-container .slider-titles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

/* Slide Descriptions Container */
.minimal-slider-container .slide-descriptions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.25rem;
    flex-wrap: nowrap;
}

/* Individual title and text items */
.minimal-slider-container .slider-title,
.minimal-slider-container .slide-text {
    display: none;
    max-width: none;
    width: 100%;
    text-align: center;
}

.minimal-slider-container .slider-title.active,
.minimal-slider-container .slide-text.active {
    display: block;
}

/* Reduce slide padding to minimum */
.minimal-slider-container .slider-slide {
    padding: 5px 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .minimal-slider-container {
        margin-bottom: 1rem;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
        padding-top: 2rem;
    }

    .minimal-slider {
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .slider-slide img {
        max-height: 200px;
        width: calc(100vw - 80px);
        /* Full width minus arrow space */
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }

    .minimal-slider-container .slide-text {
        font-size: 0.95rem;
        padding: 0.5rem;
        margin-top: 0.25rem;
        background: #f8faf4;
        border-radius: 8px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.4;
    }

    .minimal-slider-container .slider-title {
        font-size: 1.3rem;
        margin-bottom: 0.125rem;
        padding: 0 1rem;
        text-align: center;
        width: 100%;
        color: #1e3a2a;
        font-weight: 700;
    }

    .step-selector {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 0.5rem;
    }

    .step-selectors {
        padding: 0 15px;
        justify-content: space-between;
        gap: 0;
    }

    .step-selector {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin: 0 15px;
        flex-shrink: 0;
    }

    .step-selector:not(:last-child)::after {
        right: -30px;
        /* Adjusted for 35px button size */
        font-size: 1rem;
        width: 30px;
    }

    /* Ensure proper containment within viewport */
    .minimal-slider-container * {
        box-sizing: border-box;
    }

    /* Remove excess whitespace below slider */
    .minimal-slider-container::after {
        content: '';
        display: block;
        height: 0;
        clear: both;
    }
}

@media (max-width: 480px) {
    .minimal-slider-container {
        padding: 0 10px;
        margin: 1.5rem auto;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
        padding-top: 1.5rem;
    }

    .minimal-slider {
        width: 100%;
        max-width: 100vw;
    }

    .slider-slide img {
        max-height: 200px;
        width: calc(100vw - 50px);
        /* Full width minus arrow space */
        margin: 0 auto;
        object-fit: contain;
        display: block;
    }

    .minimal-slider-container .slide-text {
        font-size: 0.85rem;
        padding: 0.75rem;
        margin-top: 0.5rem;
        background: #f8faf4;
        border-radius: 8px;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        line-height: 1.3;
    }

    .minimal-slider-container .slider-title {
        font-size: 1.2rem;
        margin-bottom: 0.125rem;
        padding: 0 0.875rem;
        text-align: center;
        width: 100%;
        color: #1e3a2a;
        font-weight: 700;
    }

    .slider-nav {
        font-size: 1.5rem;
        padding: 0;
        top: calc(50% + 15px);
        z-index: 20;
    }

    .slider-nav.prev-btn {
        left: 5px;
    }

    .slider-nav.next-btn {
        right: 5px;
    }

    .step-selector {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 0 0.25rem;
    }

    .step-selectors {
        padding: 0 10px;
        justify-content: space-between;
        gap: 0;
    }

    .step-selector {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin: 0 10px;
        flex-shrink: 0;
    }

    .step-selector:not(:last-child)::after {
        right: -20px;
        /* Adjusted for 30px button size */
        font-size: 0.9rem;
        width: 20px;
    }

    /* Ensure proper containment and eliminate overlap */
    .minimal-slider-container * {
        box-sizing: border-box;
        max-width: 100%;
    }

    /* Remove excess whitespace below slider */
    .minimal-slider-container::after {
        content: '';
        display: block;
        height: 0;
        clear: both;
    }

    /* Prevent text overlap */
    .minimal-slider-container .slider-title,
    .minimal-slider-container .slide-text {
        position: relative;
        z-index: 10;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Consultation Form Modal Styles */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10000;
        backdrop-filter: blur(5px);
    }

    .modal-content {
        background: white;
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
        width: 90%;
        max-width: 500px;
        padding: 2rem;
        position: relative;
        animation: modalSlideIn 0.3s ease-out;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translateY(-50px) scale(0.9);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid #f0f0f0;
    }

    .modal-header h3 {
        color: #1e3a2a;
        font-size: 1.8rem;
        font-weight: 700;
        margin: 0;
    }

    .modal-close {
        background: none;
        border: none;
        font-size: 2rem;
        color: #666666;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
    }

    .modal-close:hover {
        color: #ff6b6b;
    }



    .consultation-form,
    .otp-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group {
        margin-bottom: 0;
    }

    .consultation-form input,
    .otp-form input {
        width: 100%;
        padding: 15px;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        font-size: 1rem;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        font-family: 'Geist', sans-serif;
        font-weight: 400;
        /* Regular weight for form inputs */
    }

    /* Placeholder styling for consultation form inputs */
    .consultation-form input::placeholder,
    .otp-form input::placeholder {
        font-family: 'Geist', sans-serif;
        font-weight: 400;
        /* Regular weight for placeholder text */
        color: #7f8c8d;
        opacity: 1;
        /* Ensure full opacity */
    }

    .consultation-form input:focus,
    .otp-form input:focus {
        outline: none;
        border-color: #ffd93d;
        box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
    }

    .form-error {
        color: #ff6b6b;
        font-size: 0.9rem;
        margin-top: 0.5rem;
        display: none;
    }

    .form-error.visible {
        display: block;
    }

    .form-note {
        font-size: 0.9rem;
        color: #7f8c8d;
        margin-top: 0.5rem;
        line-height: 1.4;
    }

    .form-submit-btn {
        background: #ffd93d;
        color: #1e3a2a;
        border: none;
        padding: 15px 30px;
        border-radius: 10px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
        width: 100%;
    }

    .form-submit-btn:hover {
        background: #ffc93d;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 217, 61, 0.4);
    }

    .form-submit-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    .otp-input-container {
        display: flex;
        gap: 1rem;
        justify-content: center;
        margin: 1rem 0;
    }

    .otp-input {
        width: 50px;
        height: 50px;
        text-align: center;
        font-size: 1.2rem;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        transition: border-color 0.3s ease;
    }

    .otp-input:focus {
        outline: none;
        border-color: #ffd93d;
        box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.1);
    }

    .otp-timer {
        text-align: center;
        color: #7f8c8d;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .otp-resend {
        color: #ffd93d;
        text-decoration: none;
        cursor: pointer;
        font-weight: 600;
    }

    .otp-resend:hover {
        text-decoration: underline;
    }

    .success-modal {
        text-align: center;
        padding: 2rem;
    }

    .success-icon {
        font-size: 4rem;
        color: #2e8b57;
        margin-bottom: 1rem;
    }

    .success-message {
        font-size: 1.2rem;
        color: #1e3a2a;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .success-close-btn {
        background: #ffd93d;
        color: #1e3a2a;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .success-close-btn:hover {
        background: #ffc93d;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
    }

    /* Responsive Modal Styles */
    @media (max-width: 768px) {
        .modal-content {
            padding: 1.5rem;
            margin: 1rem;
            width: calc(100% - 2rem);
        }

        .modal-header h3 {
            font-size: 1.5rem;
        }

        .consultation-form,
        .otp-form {
            gap: 1rem;
        }

        .consultation-form input,
        .otp-form input {
            padding: 12px;
            font-size: 0.95rem;
        }

        .otp-input-container {
            gap: 0.5rem;
        }

        .otp-input {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        .form-submit-btn {
            padding: 12px 25px;
            font-size: 1rem;
        }

        .success-icon {
            font-size: 3rem;
        }

        .success-message {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 480px) {
        .modal-content {
            padding: 1rem;
            margin: 0.5rem;
            width: calc(100% - 1rem);
        }

        .modal-header h3 {
            font-size: 1.3rem;
        }

        .consultation-form input,
        .otp-form input {
            padding: 10px;
            font-size: 0.9rem;
        }

        .otp-input-container {
            gap: 0.25rem;
        }

        .otp-input {
            width: 35px;
            height: 35px;
            font-size: 0.9rem;
        }

        .form-submit-btn {
            padding: 10px 20px;
            font-size: 0.95rem;
        }

        .success-icon {
            font-size: 2.5rem;
        }

        .success-message {
            font-size: 1rem;
        }

        .success-close-btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
    }
}

/* Image Counter Component Styles */
.image-counter {
    background: linear-gradient(135deg, #2e8b57 0%, #88c9a1 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.counter-display {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.generated-count {
    color: #ffd93d;
    font-size: 2.2rem;
}

.total-limit {
    color: #ffffff;
    opacity: 0.9;
}

.counter-separator {
    margin: 0 0.25rem;
    opacity: 0.7;
}

.counter-label {
    margin-left: 0.75rem;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.remaining-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.remaining-count {
    font-weight: 600;
    color: #ffd93d;
}

.limit-warning {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    animation: pulseWarning 2s infinite;
}

.limit-warning i {
    color: #ef4444;
    font-size: 1.5rem;
}

.limit-warning-text {
    font-size: 1rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
}

@keyframes pulseWarning {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

/* Responsive Design for Image Counter */
@media (max-width: 768px) {
    .image-counter {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .counter-display {
        font-size: 1.7rem;
        flex-wrap: wrap;
    }

    .generated-count {
        font-size: 1.8rem;
    }

    .counter-label {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .remaining-text {
        font-size: 1rem;
    }

    .limit-warning {
        padding: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .limit-warning i {
        font-size: 1.3rem;
    }

    .limit-warning-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-counter {
        padding: 1rem;
        margin: 1rem 0;
    }

    .counter-display {
        font-size: 1.5rem;
    }

    .generated-count {
        font-size: 1.6rem;
    }

    .counter-label {
        font-size: 0.9rem;
    }

    .remaining-text {
        font-size: 0.95rem;
    }

    .limit-warning {
        padding: 0.5rem;
    }

    .limit-warning-text {
        font-size: 0.85rem;
    }
}


/* Image Processor Styles */
#cropping-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#cropping-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#cropping-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#cropping-modal .modal-header h3 {
    margin: 0;
    color: #2c5530;
    font-weight: 600;
}

#cropping-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

#cropping-modal .modal-close:hover {
    color: #ff6b6b;
}

#cropping-modal .cropping-canvas-container {
    position: relative;
    margin: 1rem 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

#cropping-modal canvas {
    display: block;
    max-width: 100%;
    max-height: 400px;
    margin: 0 auto;
}

#cropping-modal .cropping-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

#cropping-modal .cropping-slider {
    width: 100%;
    margin: 0.5rem 0;
}

#cropping-modal .cropping-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

#cropping-modal .cropping-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#cropping-modal .cropping-btn-primary {
    background: #2e8b57;
    color: white;
}

#cropping-modal .cropping-btn-primary:hover {
    background: #1e3a2a;
    transform: translateY(-2px);
}

#cropping-modal .cropping-btn-secondary {
    background: #e0e0e0;
    color: #333;
}

#cropping-modal .cropping-btn-secondary:hover {
    background: #ccc;
    transform: translateY(-2px);
}

#cropping-modal .cropping-status {
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

#cropping-modal .cropping-status.error {
    color: #ff6b6b;
}

#cropping-modal .cropping-status.success {
    color: #2e8b57;
}

#cropping-modal .cropping-instructions {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

#cropping-modal .cropping-instructions ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

#cropping-modal .cropping-instructions li {
    margin-bottom: 0.25rem;
}


/* Design Gallery Styles */
.designs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.design-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.design-card img {
    width: 100%;
    height: auto;
    /* Allow natural height to maintain aspect ratio */
    object-fit: contain;
    /* Scale image to fit container */
    aspect-ratio: 4/3;
    display: block;
    transition: transform 0.3s ease;
}

.design-card:hover img {
    transform: scale(1.05);
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 42, 0.9));
    color: white;
    padding: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.design-card:hover .design-overlay {
    opacity: 1;
    transform: translateY(0);
}

.design-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.design-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.design-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* High DPI screen optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .filter-btn {
        border-width: 2.5px;
        font-weight: 700;
    }

    .filter-btn.secondary {
        border-width: 2.5px;
        font-weight: 700;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .filter-btn,
    .filter-btn.secondary {
        transition: none;
    }

    .filter-btn:hover,
    .filter-btn:focus,
    .filter-btn:active,
    .filter-btn.secondary:hover,
    .filter-btn.secondary:focus,
    .filter-btn.secondary:active {
        transform: none;
    }
}

/* Error and Empty States */
.no-results,
.error-state {
    text-align: center;
    padding: 3rem;
    color: #5a7d5a;
}

.no-results i,
.error-state i {
    font-size: 3rem;


    margin-bottom: 0.5rem;
    color: #2e8b57;
}

.no-results p,
.error-state p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Gallery Loading States */
.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #5a7d5a;
}

.gallery-loading i {
    font-size: 2rem;
    margin-right: 1rem;
    animation: spin 1s linear infinite;
}

/* Gallery Grid Layout - Full Width */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Allow natural height to maintain aspect ratio */
    object-fit: contain;
    /* Scale image to fit container */
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 42, 0.9));
    color: white;
    padding: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.gallery-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}


.filter-btn {
    padding: 8px 16px;
    border: 2px solid #2e8b57;
    border-radius: 8px;
    background: transparent;
    color: #2e8b57;
    font-weight: 600;
    font-size: 0.9rem;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 0;
        padding: 0;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h4 {
        font-size: 1.1rem;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .filter-btn {
        width: auto;
        padding: 12px 24px;
        text-align: center;
        font-size: 1rem;
    }

    .category-dropdown {
        width: 200px;
    }

    .category-dropdown-content {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Mobile touch optimizations for gallery toggle */
    .gallery-toggle-option {
        padding: 18px 32px;
        font-size: 1.2rem;
        min-width: 140px;
        min-height: 60px;
        margin: 8px;
        border-radius: 12px;
    }

    .gallery-toggle-option:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-overlay {
        padding: 0.75rem;
    }

    .gallery-overlay h4 {
        font-size: 1rem;
    }

    .gallery-tags {
        gap: 0.25rem;
    }

    .gallery-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .filter-btn {
        width: auto;
        padding: 12px 24px;
        max-width: 200px;
        font-size: 1rem;
    }

    .category-dropdown {
        width: 100%;
        max-width: 200px;
    }
}


/* Gallery Grid Layout - Full Width */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for default view */
    gap: 15px;
    margin: 0;
    padding: 20px;
    width: 100%;
}

/* Desktop Collapsible Sections */
@media (min-width: 769px) {
    .gallery-grid.collapsed {
        max-height: 600px;
        /* Show 2 rows initially */
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .gallery-grid.expanded {
        max-height: none;
    }

    .show-more-btn {
        display: block;
        margin: 20px auto;
        padding: 10px 20px;
        background: #2e8b57;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-family: 'Geist', sans-serif;
        font-weight: 600;
        transition: background-color 0.3s ease;
    }

    .show-more-btn:hover {
        background: #1e3a2a;
    }

    .show-more-btn:focus {
        outline: 3px solid #ffd93d;
        outline-offset: 2px;
    }
}

/* When filtered, use auto-fill for variable number of images */
.gallery-grid.filtered {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: none;
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Allow natural height to maintain aspect ratio */
    object-fit: contain;
    /* Scale image to fit container */
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 58, 42, 0.9));
    color: white;
    padding: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.gallery-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Error and Empty States */
.no-results,
.error-state {
    text-align: center;
    padding: 3rem;
    color: #5a7d5a;
}

.no-results i,
.error-state i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #2e8b57;
}

.no-results p,
.error-state p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Gallery Loading States */
.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #5a7d5a;
}

.gallery-loading i {
    font-size: 2rem;
    margin-right: 1rem;
    animation: spin 1s linear infinite;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 12px;
        margin: 0;
        padding: 15px;
        width: 100%;
    }

    .gallery-grid.filtered {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .gallery-item img {
        height: auto;
        aspect-ratio: 4/3;
    }


    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h4 {
        font-size: 1.1rem;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .filter-btn {
        width: auto;
        padding: 12px 24px;
        text-align: center;
        font-size: 1rem;
    }

    .category-dropdown {
        width: 200px;
    }

    .category-dropdown-content {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0;
        padding: 12px;
        width: 100%;
    }

    .gallery-grid.filtered {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: auto;
        aspect-ratio: 4/3;
    }


    .gallery-overlay {
        padding: 0.75rem;
    }

    .gallery-overlay h4 {
        font-size: 1rem;
    }

    .gallery-tags {
        gap: 0.25rem;
    }

    .gallery-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }

    .filter-btn {
        width: auto;
        padding: 12px 24px;
        max-width: 200px;
        font-size: 1rem;
    }

    .category-dropdown {
        width: 100%;
        max-width: 200px;
    }
}

/* Mobile Gallery Slider Styles - Enhanced for Touch Optimization */
.mobile-gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 1rem 0;
    display: none;
    touch-action: pan-y pinch-zoom;
}

.mobile-gallery-slider .slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    will-change: transform;
}

.mobile-gallery-slider .slider-slide {
    flex: 0 0 100%;
    /* Each slide takes full width */
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.mobile-gallery-slider .slider-slide img {
    width: 100%;
    height: auto;
    /* Allow natural height to maintain aspect ratio */
    object-fit: contain;
    /* Scale image to fit container */
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    background: #f8f9fa;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

.mobile-gallery-slider .slider-slide img:hover {
    transform: scale(1.05);
}

.mobile-gallery-slider .slider-slide:active img {
    cursor: grabbing;
    transform: scale(0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced touch feedback for mobile */
.mobile-gallery-slider .slider-slide {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    touch-action: manipulation;
}

/* Active state for better visual feedback */
.mobile-gallery-slider .slider-slide:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Touch-friendly navigation buttons */
.mobile-gallery-slider .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.4rem;
    color: #2e8b57;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-gallery-slider .slider-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mobile-gallery-slider .slider-nav:active {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.mobile-gallery-slider .prev-btn {
    left: 15px;
}

.mobile-gallery-slider .next-btn {
    right: 15px;
}

/* Enhanced dot indicators for better touch targets */
.mobile-gallery-slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 1.5rem;
    padding: 0 15px;
}

.mobile-gallery-slider .slider-dot {
    width: 16px;
    height: 16px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    position: relative;
}

.mobile-gallery-slider .slider-dot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.3s ease;
}

.mobile-gallery-slider .slider-dot.active {
    background: #2e8b57;
    transform: scale(1.4);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.4);
}

.mobile-gallery-slider .slider-dot:hover {
    background: #88c9a1;
    transform: scale(1.3);
}

.mobile-gallery-slider .slider-dot:active {
    transform: scale(1.2);
    background: #1e3a2a;
    transition: transform 0.1s ease;
}

/* Swipe gesture enhancements */
.mobile-gallery-slider .slider-track {
    cursor: grab;
}

.mobile-gallery-slider .slider-track:active {
    cursor: grabbing;
}

/* Performance optimizations for mobile */
.mobile-gallery-slider .slider-slide img {
    /* Lazy loading handled via HTML loading="lazy" attribute */
    /* Decoding handled via HTML decoding="async" attribute */
    background: #f8f9fa;
    transition: opacity 0.3s ease;
}

/* Progressive image loading enhancement */
.mobile-gallery-slider .slider-slide img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mobile-gallery-slider .slider-slide img[loading="lazy"].loaded {
    opacity: 1;
}

/* Responsive image optimization */
@media (max-width: 768px) {
    .mobile-gallery-slider .slider-slide img {
        max-width: 100vw;
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
        height: auto;
        aspect-ratio: 4/3;
    }
}

/* Mobile Gallery Horizontal Carousel Styles */
@media (max-width: 768px) {
    .mobile-carousel {
        position: relative;
        width: 100%;
    }

    .carousel-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 15px;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        scroll-behavior: smooth;
    }

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-track {
        display: flex;
        gap: 15px;
        width: max-content;
    }

    .carousel-slide {
        flex: 0 0 100%;
        /* Each slide takes full screen width */
        max-width: 100vw;
        /* Constrain to viewport width */
        scroll-snap-align: start;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        cursor: pointer;
        flex-shrink: 0;
    }

    .carousel-slide:hover {
        transform: scale(1.02);
    }


    .carousel-slide img {
        width: 100%;
        /* Fit container width */
        height: auto;
        /* Maintain aspect ratio */
        max-height: 70vh;
        /* Constrain height to 70% of viewport height */
        object-fit: contain;
        /* Scale to fit container */
        aspect-ratio: 4/3;
        display: block;
        transition: transform 0.3s ease;
    }

    .carousel-slide:hover img {
        transform: scale(1.05);
    }

    /* Hide desktop grid on mobile */
    .gallery-grid.desktop-grid {
        display: none;
    }

    /* Show mobile carousel on mobile */
    .gallery-grid.mobile-carousel {
        display: flex;
    }
}

/* Tablet Portrait Carousel Styles */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .mobile-carousel {
        position: relative;
        width: 100%;
        display: flex;
    }

    .carousel-wrapper {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding: 12px;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        scroll-behavior: smooth;
        position: relative;
    }

    .carousel-wrapper::-webkit-scrollbar {
        display: none;
    }

    .carousel-track {
        display: flex;
        gap: 12px;
        width: max-content;
    }

    .carousel-slide {
        flex: 0 0 calc(50% - 6px);
        /* 2 slides per view in portrait */
        max-width: calc(50% - 6px);
        scroll-snap-align: start;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        cursor: pointer;
        flex-shrink: 0;
        height: auto;
    }

    .carousel-slide:hover {
        transform: scale(1.02);
    }

    .carousel-slide img {
        width: 100%;
        /* Fit container width */
        height: auto;
        /* Maintain aspect ratio */
        max-height: 50vh;
        /* Reduced height to fit screen better */
        object-fit: cover;
        /* Scale to fit container */
        aspect-ratio: 4/3;
        display: block;
        transition: transform 0.3s ease;
    }

    .carousel-slide:hover img {
        transform: scale(1.05);
    }

    /* Navigation arrows for tablet portrait */
    .carousel-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: bold;
        color: #2e8b57;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .carousel-nav-arrow:hover {
        background: #2e8b57;
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

    .carousel-nav-arrow.prev {
        left: 15px;
    }

    .carousel-nav-arrow.next {
        right: 15px;
    }

    /* Hide desktop grid on tablet portrait */
    .gallery-grid.desktop-grid {
        display: none;
    }

    /* Show mobile carousel on tablet portrait */
    .gallery-grid.mobile-carousel {
        display: flex;
    }
}

/* Dedicated Tablet Portrait Gallery Component */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .tablet-portrait-gallery {
        position: relative;
        width: 100%;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
        margin: 0;
    }

    .tablet-portrait-gallery::-webkit-scrollbar {
        display: none;
    }

    .tablet-gallery-container {
        display: flex;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
        position: relative;
    }

    .tablet-gallery-track {
        display: flex;
        gap: 0;
        width: max-content;
    }

    .tablet-gallery-item {
        flex: 0 0 100vw;
        /* Full viewport width for each image */
        max-width: 100vw;
        scroll-snap-align: start;
        border-radius: 0;
        overflow: hidden;
        background: white;
        transition: transform 0.3s ease;
        cursor: pointer;
        flex-shrink: 0;
        height: auto;
        position: relative;
    }

    .tablet-gallery-item:hover {
        transform: scale(1.01);
    }

    .tablet-gallery-item img {
        width: 100vw;
        /* Full viewport width */
        height: auto;
        /* Maintain aspect ratio */
        max-height: 80vh;
        /* Limit height while maintaining aspect ratio */
        object-fit: contain;
        /* Scale to fit container while maintaining aspect ratio */
        display: block;
        transition: transform 0.3s ease;
    }

    .tablet-gallery-item:hover img {
        transform: scale(1.02);
    }

    /* Navigation arrows positioned relative to gallery container */
    .tablet-portrait-gallery {
        position: relative;
        overflow-x: auto;
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .tablet-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        font-weight: bold;
        color: #2e8b57;
        cursor: pointer;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        border: 2px solid rgba(46, 139, 87, 0.2);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .tablet-nav-arrow:hover {
        background: #2e8b57;
        color: white;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

    .tablet-nav-arrow.prev {
        left: 10px;
    }

    .tablet-nav-arrow.next {
        right: 10px;
    }

    /* Ensure gallery items don't interfere with arrows */
    .tablet-gallery-item {
        z-index: 1;
        position: relative;
    }

    /* Ensure arrows stay within viewport bounds */
    @media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
        .tablet-nav-arrow.prev {
            left: 5px;
        }

        .tablet-nav-arrow.next {
            right: 5px;
        }
    }

    /* Hide other gallery layouts on tablet portrait */
    .gallery-grid.desktop-grid,
    .gallery-grid.mobile-carousel {
        display: none !important;
    }

    /* Show tablet portrait gallery */
    .gallery-grid.tablet-portrait-gallery {
        display: flex !important;
    }
}

/* Enhanced touch optimization for smaller screens */
@media (max-width: 480px) {
    .mobile-carousel {
        gap: 10px;
        padding: 10px;
        position: relative;
        overflow: hidden;
    }

    /* Scroll indicators to show there are more images */
    .mobile-carousel::before,
    .mobile-carousel::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 40px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
        pointer-events: none;
        z-index: 5;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

    .mobile-carousel::before {
        left: 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), transparent);
    }

    .mobile-carousel::after {
        right: 0;
        background: linear-gradient(270deg, rgba(255, 255, 255, 0.8), transparent);
    }

    /* Hide indicators when at edges */
    .mobile-carousel.at-start::after,
    .mobile-carousel.at-end::before {
        opacity: 0.3;
    }

    .carousel-slide {
        flex: 0 0 100%;
        /* Each slide takes full screen width */
        max-width: 100vw;
        /* Constrain to viewport width */
        scroll-snap-align: start;
        position: relative;
    }

    .carousel-slide img {
        width: 100%;
        /* Fit container width */
        height: auto;
        /* Maintain aspect ratio */
        max-height: 60vh;
        /* Smaller max height for mobile */
        object-fit: contain;
        /* Scale to fit container */
        aspect-ratio: 4/3;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Navigation arrows */
    .carousel-nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: #2e8b57;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .carousel-nav-arrow:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .carousel-nav-arrow.prev {
        left: 5px;
    }

    .carousel-nav-arrow.next {
        right: 5px;
    }

    /* Swipe hint animation */
    .carousel-slide:first-child::after {
        content: '← Swipe for more →';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        opacity: 0;
        animation: swipeHint 3s ease-in-out 2s infinite;
        z-index: 15;
        pointer-events: none;
    }


    @keyframes swipeHint {

        0%,
        100% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.9);
        }

        50% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
    }
}

/* High DPI optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .mobile-gallery-slider .slider-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced data mode */
@media (prefers-reduced-data: reduce) {
    .mobile-gallery-slider .slider-slide img {
        filter: blur(1px);
        transition: filter 0.3s ease;
    }

    .mobile-gallery-slider .slider-slide img.loaded {
        filter: none;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 480px) {
    .mobile-gallery-slider .slider-slide {
        flex: 0 0 100%;
        /* Each slide takes full width */
        padding: 0 10px;
    }

    .mobile-gallery-slider .slider-slide img {
        width: 100%;
        /* Fill container width */
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
        height: 240px;
        object-fit: cover;
        /* Fill container without white space */
        border-radius: 12px;
    }

    .mobile-gallery-slider .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .mobile-gallery-slider .prev-btn {
        left: 8px;
    }

    .mobile-gallery-slider .next-btn {
        right: 8px;
    }

    .mobile-gallery-slider .slider-dots {
        gap: 10px;
        margin-top: 1.25rem;
    }

    .mobile-gallery-slider .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* High DPI screen optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .mobile-gallery-slider .slider-nav {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .mobile-gallery-slider .slider-dot {
        width: 14px;
        height: 14px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .mobile-gallery-slider .slider-track {
        transition: transform 0.1s ease;
    }

    .mobile-gallery-slider .slider-slide img {
        transition: none;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-image-container {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    margin: 0 auto;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    max-width: 600px;
}

.lightbox-caption h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.lightbox-caption p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Enhanced Touch-Friendly Lightbox Styles */
.lightbox-modal {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(8px);
    z-index: 10000;
    touch-action: manipulation;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-image-container {
    position: relative;
    max-width: 95%;
    max-height: 85vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    cursor: grab;
    transition: transform 0.3s ease;
}

.lightbox-image-container img:active {
    cursor: grabbing;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1.5rem;
    max-width: 600px;
    padding: 0 20px;
}

.lightbox-caption h3 {
    margin-bottom: 0.75rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.lightbox-caption p {
    opacity: 0.9;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Enhanced Swipe Gestures for Mobile */
.lightbox-image-container {
    overflow: hidden;
}

.lightbox-image-container img {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Touch-friendly navigation enhancements */
@media (hover: none) and (pointer: coarse) {
    .lightbox-nav {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        background: rgba(255, 255, 255, 0.4);
    }

    .lightbox-close {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        background: rgba(255, 255, 255, 0.3);
    }

    .lightbox-nav:hover,
    .lightbox-close:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.4);
    }

    .lightbox-nav:active,
    .lightbox-close:active {
        background: rgba(255, 255, 255, 0.6);
        transform: scale(0.95);
    }
}

/* Performance optimizations for mobile */
.lightbox-modal {
    will-change: opacity;
}

.lightbox-image-container img {
    will-change: transform;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .lightbox-image-container img {
        transition: none;
    }

    .lightbox-nav,
    .lightbox-close {
        transition: none;
    }
}


@media (max-width: 480px) {
    .mobile-gallery-slider .slider-slide img {
        width: 100%;
        /* Fill container width */
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
        height: 180px;
        object-fit: cover;
        /* Fill container without white space */
    }

    .lightbox-content {
        padding: 15px;
    }

    .lightbox-nav {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        background: rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .lightbox-caption h3 {
        font-size: 1.3rem;
    }

    .lightbox-caption p {
        font-size: 1.1rem;
    }

    /* Enhanced touch feedback */
    .lightbox-nav:active,
    .lightbox-close:active {
        background: rgba(255, 255, 255, 0.7);
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }

    /* Prevent text selection on touch */
    .lightbox-nav,
    .lightbox-close {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

@media (max-width: 480px) {
    .mobile-gallery-slider .slider-slide img {
        width: 100%;
        /* Fill container width */
        height: auto;
        /* Allow natural height to maintain aspect ratio */
        object-fit: contain;
        /* Scale image to fit container */
        height: 180px;
        object-fit: cover;
        /* Fill container without white space */
    }

    .lightbox-content {
        padding: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .lightbox-caption h3 {
        font-size: 1.3rem;
    }

    .lightbox-caption p {
        font-size: 1rem;
    }
}

/* Footer Section */
.footer {
    background: linear-gradient(135deg, #1e3a2a 0%, #2e8b57 100%);
    padding: 2rem 0;
    color: white;
    border-top: 3px solid #ffd93d;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.footer-link:hover {
    color: #ffd93d;
    transform: translateY(-2px);
    background: rgba(255, 217, 61, 0.1);
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd93d;
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.footer-copyright {
    text-align: center;
    margin-top: 1rem;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Responsive Footer Design */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 3rem;
    }

    .footer-content {
        padding: 0 15px;
        gap: 1.25rem;
    }

    .footer-links {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .footer-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.8rem;
    }

    .footer-copyright p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
        margin-top: 2rem;
    }

    .footer-content {
        padding: 0 10px;
        gap: 1rem;
    }

    .footer-links {
        gap: 0.75rem;
    }

    .footer-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .footer {
        background: linear-gradient(135deg, #0f1f15, #1e3a2a);
        border-top: 3px solid #ffd93d;
    }

    .footer-link {
        color: #ffffff;
    }

    .footer-link:hover {
        color: #ffc93d;
        background: rgba(255, 217, 61, 0.2);
    }

    .footer-copyright p {
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .footer-link,
    .footer-link::before {
        transition: none;
    }

    .footer-link:hover {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
.footer-link:focus {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
    background: rgba(255, 217, 61, 0.2);
    border-radius: 4px;
}

/* Tablet Touch Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {

    /* Enhanced touch targets for tablets */
    .filter-btn,
    .filter-btn.secondary {
        padding: 16px 28px;
        font-size: 1.1rem;
        min-width: 110px;
        min-height: 55px;
        margin: 6px;
        border-width: 2.5px;
        border-radius: 10px;
    }

    /* Improved touch feedback for interactive elements */
    .btn,
    .btn-primary,
    .btn-secondary,
    .form-submit-btn,
    .slider-btn,
    .step-selector,
    .nav-link {
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .btn:active,
    .btn-primary:active,
    .btn-secondary:active,
    .form-submit-btn:active,
    .slider-btn:active,
    .step-selector:active,
    .nav-link:active {
        transform: scale(0.97);
    }

    /* Enhanced carousel touch controls */
    .hero-carousel .owl-nav button,
    .how-it-works-slider-container .slider-btn,
    .minimal-slider-container .slider-nav {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    /* Improved form element touch targets */
    .form-group input,
    .form-group textarea,
    .form-group select,
    .consultation-form input,
    .otp-form input {
        padding: 14px;
        font-size: 1rem;
        min-height: 50px;
    }

    /* Enhanced navigation touch targets */
    .nav-link {
        padding: 12px 18px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better touch feedback for cards and interactive elements */
    .unified-card,
    .expertise-card,
    .how-it-works-card,
    .design-card,
    .gallery-item {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .unified-card:active,
    .expertise-card:active,
    .how-it-works-card:active,
    .design-card:active,
    .gallery-item:active {
        transform: scale(0.98);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

    /* Improved button spacing for touch */
    .cta-buttons,
    .hero-buttons,
    .result-actions,
    .form-buttons {
        gap: 1rem;
    }

    /* Enhanced touch targets for mobile gallery */
    .mobile-gallery-slider .slider-nav,
    .mobile-gallery-slider .slider-dot {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* Better touch feedback for modal elements */
    .modal-close,
    .cropping-btn,
    .success-close-btn {
        min-width: 50px;
        min-height: 50px;
        font-size: 1.3rem;
    }

    /* Improved touch scrolling for tablets */
    .how-it-works-step-indicators,
    .step-selectors,
    .gallery-filters {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .how-it-works-step-indicators::-webkit-scrollbar,
    .step-selectors::-webkit-scrollbar,
    .gallery-filters::-webkit-scrollbar {
        display: none;
    }
}

/* Comprehensive Accessibility Enhancements */

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
}

/* Enhanced focus styles for interactive elements */
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.form-submit-btn:focus-visible,
.filter-btn:focus-visible,
.nav-link:focus-visible,
.slider-btn:focus-visible,
.step-selector:focus-visible,
.modal-close:focus-visible,
.cropping-btn:focus-visible,
.success-close-btn:focus-visible {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
    background-color: rgba(255, 217, 61, 0.1);
}

/* Form element focus styles */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible,
.consultation-form input:focus-visible,
.otp-form input:focus-visible {
    outline: 3px solid #ffd93d;
    outline-offset: 2px;
    border-color: #ffd93d;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #ffffff;
        color: #000000;
    }

    .navbar {
        background: #000000;
        color: #ffffff;
    }

    .nav-link,
    .btn,
    .btn-primary,
    .btn-secondary {
        border: 2px solid #000000;
    }

    .nav-link:hover,
    .btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        background: #000000;
        color: #ffffff;
    }

    .unified-card,
    .expertise-card,
    .how-it-works-card,
    .design-card,
    .gallery-item {
        border: 2px solid #000000;
        background: #ffffff;
        color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-carousel .owl-nav button,
    .hero-carousel .owl-dot,
    .hero-image,
    .unified-card,
    .expertise-card,
    .how-it-works-card,
    .design-card,
    .gallery-item,
    .btn,
    .btn-primary,
    .btn-secondary,
    .nav-link,
    .slider-btn,
    .step-selector {
        transition: none !important;
    }

    .hero-carousel .owl-nav button:hover,
    .hero-carousel .owl-dot:hover,
    .unified-card:hover,
    .expertise-card:hover,
    .how-it-works-card:hover,
    .design-card:hover,
    .gallery-item:hover,
    .btn:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .nav-link:hover,
    .slider-btn:hover,
    .step-selector:hover {
        transform: none !important;
    }
}

/* Screen reader optimized content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #ffd93d;
    color: #1e3a2a;
    padding: 8px;
    text-decoration: none;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* ARIA landmark roles visual indicators */
[role="banner"],
[role="navigation"],
[role="main"],
[role="contentinfo"],
[role="complementary"],
[role="search"] {
    position: relative;
}

[role="banner"]::before,
[role="navigation"]::before,
[role="main"]::before,
[role="contentinfo"]::before,
[role="complementary"]::before,
[role="search"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 217, 61, 0.3);
    z-index: 1000;
}

/* Enhanced form validation accessibility */
.form-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.form-error[aria-hidden="true"] {
    display: none;
}

.form-error[aria-hidden="false"] {
    display: block;
}

/* Accessible loading states */
.loading[aria-busy="true"] {
    position: relative;
}

.loading[aria-busy="true"]::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Accessible image alternatives */
img:not([alt]) {
    border: 2px dashed #ff6b6b;
}

/* Accessible data visualization */
[role="img"] {
    position: relative;
}

[role="img"]::after {
    content: attr(aria-label);
    position: absolute;
    bottom: -20px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[role="img"]:focus::after,
[role="img"]:hover::after {
    opacity: 1;
}

/* Accessible tooltips */
[aria-describedby] {
    position: relative;
}

[aria-describedby]::after {
    content: attr(aria-describedby);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

[aria-describedby]:focus::after,
[aria-describedby]:hover::after {
    opacity: 1;
}

/* Accessible modal dialogs */
.modal[aria-modal="true"] {
    z-index: 10000;
}

.modal[aria-modal="true"]:focus {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
}

/* Accessible carousel controls */
.carousel[aria-roledescription="carousel"] {
    position: relative;
}

.carousel[aria-roledescription="carousel"]:focus {
    outline: 3px solid #ffd93d;
    outline-offset: 3px;
}

/* Accessible tab panels */
[role="tablist"] {
    display: flex;
    gap: 1rem;
}

[role="tab"] {
    padding: 12px 24px;
    background: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

[role="tab"][aria-selected="true"] {
    background: #ffd93d;
    border-color: #1e3a2a;
    color: #1e3a2a;
}

[role="tabpanel"] {
    padding: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 6px;
    margin-top: 1rem;
}

/* Dual Slider System Styles */
.hero-desktop-slider,
.hero-mobile-slider {
    display: none;
    /* Initially hidden, managed by JavaScript */
}

.hero-desktop-slider {
    width: 100%;
    height: 100%;
}

.hero-mobile-slider {
    width: 100%;
    height: 100vh;
    /* Full viewport height for mobile */
    position: relative;
}

/* Desktop Slider Styles */
.hero-desktop-slider .hero-container {
    width: 100%;
    height: calc(100vh - 80px);
    /* Account for header height */
    position: relative;
}

.hero-desktop-slider .hero-carousel {
    width: 100%;
    height: 100%;
}

.hero-desktop-slider .hero-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-desktop-slider .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    align-items: center;
}

/* Mobile Slider Styles */
.hero-mobile-slider .mobile-hero-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-mobile-slider .mobile-hero-carousel {
    width: 100%;
    height: 100%;
}

.hero-mobile-slider .mobile-hero-slide {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.hero-mobile-slider .mobile-hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.hero-mobile-slider .mobile-hero-image {
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mobile-slider .mobile-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-mobile-slider .mobile-hero-text {
    text-align: center;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-mobile-slider .mobile-hero-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-mobile-slider .mobile-hero-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-mobile-slider .mobile-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

/* Ensure no bottom gap on mobile */
.hero-mobile-slider .mobile-hero-slide:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Remove any potential spacing issues */
.hero-mobile-slider .owl-stage-outer,
.hero-mobile-slider .owl-stage,
.hero-mobile-slider .owl-item {
    height: 100vh !important;
}

/* Desktop header spacing adjustment */
@media (min-width: 769px) {
    .hero-desktop-slider {
        display: block;
    }

    .hero-desktop-slider {
        padding-top: 80px;
        /* Header height compensation */
        min-height: calc(100vh - 80px);
    }
}

/* Mobile full-height adjustment */
@media (max-width: 768px) {
    .hero-mobile-slider {
        display: block;
    }

    .hero-mobile-slider {
        padding-top: 0;
        min-height: 100vh;
    }

    .hero-mobile-slider .mobile-hero-tagline {
        font-size: 1.5rem;
    }

    .hero-mobile-slider .mobile-hero-description {
        font-size: 0.9rem;
    }
}

.hero {
    padding-top: 0;
    min-height: 100vh;
}

.hero-mobile-slider .mobile-hero-tagline {
    font-size: 1.5rem;
}

.hero-mobile-slider .mobile-hero-description {
    font-size: 0.9rem;
}

/* Instant Design Modal Specifics - Global */
#instant-design-modal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    margin: 40px auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

/* Credits Modal Styles */
.credits-body {
    padding: 1rem 0;
}

.credit-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8faf4;
    border-radius: 12px;
    border-left: 4px solid #2e8b57;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-item:last-child {
    margin-bottom: 0;
}

.credit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.15);
}

.credit-item h4 {
    color: #1e3a2a;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    font-family: 'Geist', sans-serif;
}

.credit-item p {
    color: #2e8b57;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    font-family: 'Geist', sans-serif;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .credit-item {
        padding: 1rem;
    }

    .credit-item h4 {
        font-size: 1.1rem;
    }

    .credit-item p {
        font-size: 0.95rem;
    }
}