:root {
    --netflix-red: #e50914;
    --disney-blue: #113ccf;
    --youku-orange: #FF5000;
    --prime-blue: #00A8E1;
    --prime-blue: #00A8E1;
    --trueid-red: #ea0029;
    --western-gold: #FFD700;
    --bg-dark: #141414;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'line_seed_sans_th', sans-serif;
    background-color: #f5f5f5;
    background-image: none;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Better for long content */
    overflow-x: hidden;
    overflow-y: auto;
    transition: background-color 0.5s ease;
}

body.netflix-mode,
body.disney-mode,
body.youku-mode,
body.prime-mode,
body.trueid-mode,
body.western-mode {
    background-image: none;
    background-color: #f5f5f5;
}

body.western-mode {
    background-image: radial-gradient(circle at 50% 0%, #4a3b11 0%, #000000 100%);
}

.container {
    background: #fff;
    border: 2px solid #1976D2;
    border-radius: 20px;
    padding: 2.5rem;
    width: 90%;
    /* Responsive width */
    max-width: 450px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin: 100px 0 40px;
    /* Space for fixed header/bottom */
}

.brand-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.brand-btn {
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0.7;
    background: #f0f0f0;
    color: #555;
}

.brand-btn.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.brand-btn.netflix.active {
    background: var(--netflix-red);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.brand-btn.disney.active {
    background: var(--disney-blue);
    box-shadow: 0 0 20px rgba(17, 60, 207, 0.4);
}

.brand-btn.youku.active {
    background: linear-gradient(135deg, #2b94ff 0%, #ff2b8f 100%);
    /* Youku Gradient */
    box-shadow: 0 0 20px rgba(255, 43, 143, 0.4);
}

.brand-btn.prime.active {
    background: #00A8E1;
    box-shadow: 0 0 20px rgba(0, 168, 225, 0.4);
}

.brand-btn.trueid.active {
    background: var(--trueid-red);
    box-shadow: 0 0 20px rgba(234, 0, 41, 0.4);
}

.brand-btn.western.active {
    background: var(--western-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.back-nav {
    position: absolute;
    top: 90px;
    left: 20px;
    background: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333 !important;
    /* Force Dark Grey for visibility */
    /* Changed to Blue for contrast */
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    /* Increased Z-index */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid #e3f2fd;
    /* Light blue border */
}

.back-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.2);
    background: #fff;
    border-color: #1976D2;
    color: #1565C0;
}

.back-nav:hover .nav-icon {
    transform: translateX(-3px);
}

.nav-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}



.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.input-field {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    /* Fix padding issue */
    transition: border-color 0.3s ease;
}

.input-field:focus {
    border-color: #333;
    background: #fff;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    background: linear-gradient(45deg, #333, #555);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Netflix Button Style */
.netflix-mode .submit-btn {
    background: var(--netflix-red);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* Disney Button Style */
.disney-mode .submit-btn {
    background: var(--disney-blue);
    box-shadow: 0 4px 15px rgba(17, 60, 207, 0.4);
}

/* Youku Button Style - Gradient Blue to Red/Pink */
.youku-mode .submit-btn {
    background: linear-gradient(135deg, #2b94ff 0%, #ff2b8f 100%);
    box-shadow: 0 4px 15px rgba(255, 43, 143, 0.4);
}

/* Prime Button Style - Prime Blue */
.prime-mode .submit-btn {
    background: #00A8E1;
    box-shadow: 0 4px 15px rgba(0, 168, 225, 0.4);
}

.prime-mode .submit-btn {
    background: #00A8E1;
    box-shadow: 0 4px 15px rgba(0, 168, 225, 0.4);
}

/* TrueID Button Style */
.trueid-mode .submit-btn {
    background: var(--trueid-red);
    box-shadow: 0 4px 15px rgba(234, 0, 41, 0.4);
}

/* Western Button Style */
.western-mode .submit-btn {
    background: var(--western-gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.submit-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.result-area {
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    min-height: 100px;
    max-height: 350px;
    /* Limit height */
    overflow-y: auto;
    /* Scroll if too long */
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

/* Scrollbar styling for result area */
.result-area::-webkit-scrollbar {
    width: 6px;
}

.result-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.result-area::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.result-area::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.result-area.visible {
    display: block;
}

.otp-display {
    text-align: center;
}

.otp-code {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin: 10px 0;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.otp-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

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

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

/* Loader */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 3px solid #fff;
    width: 24px;
    height: 24px;
    -webkit-animation: spin 1s linear infinite;
    /* Safari */
    animation: spin 1s linear infinite;
    margin: 0 auto;
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* New Result Card Styles */
.result-card {
    background: white;
    /* Card is white as per image */
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    /* Center vertically */
    color: #333;
    /* Text color for white bg */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    /* Smooth rounded corners */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
}

.card-icon.netflix {
    background: #000;
}

.card-icon.disney {
    background: #001a4d;
}

.card-icon.disney img {
    /* Wikimedia logo is color PNG now, no filter needed */
    filter: none;
}

.card-icon.youku {
    background: #fff;
    border: 1px solid #eee;
}

.card-icon.prime {
    background: #000;
}

.card-icon.trueid {
    background: #fff;
    border: 1px solid #eee;
}

.card-icon.western {
    background: #000;
    border: 1px solid var(--western-gold);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-time {
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2px;
}

.card-code {
    display: none;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-top: 2px;
}

/* Let's show the code for utility */
.card-code {
    display: block;
}

.card-status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    white-space: nowrap;
}

.status-ready {
    background-color: #2e7d32;
    /* Darker green for white bg */
}

.status-expired {
    background-color: #c62828;
    /* Darker red for white bg */
}

.arrow {
    font-size: 0.8rem;
    color: #333;
    /* Dark arrow */
}

/* Button Disabled State */
.submit-btn.disabled {
    background: #666 !important;
    /* Grey out */
    cursor: not-allowed;
    opacity: 0.8;
    transform: none !important;
    filter: none !important;
}

/* Household Update Card Styles */
.card-content.link-type {
    display: block;
    width: 100%;
}

.household-header {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.household-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--netflix-red);
    color: white;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.household-btn:hover {
    background-color: #f6121d;
}

.household-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* =========================================
   New Design Updates - Landing Page & Header
   ========================================= */

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.header-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #333, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000;
    transition: width 0.3s;
}

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

/* Landing Page Grid */
.landing-container {
    width: 100%;
    max-width: 1000px;
    /* Reduced max-width for tighter layout */
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.hero-main-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to bottom, #333 30%, #555 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
    filter: none;
}

.hero-sub-title {
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-weight: 600;
    color: #666;
    margin-top: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

.section-title {
    font-size: 1.5rem;
    /* Smaller title */
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* Smaller min-width */
    gap: 20px;
    /* Smaller gap */
    width: 100%;
    justify-content: center;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Card Brand Themes */
.service-card.netflix:hover {
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.2);
}

.service-card.disney:hover {
    box-shadow: 0 15px 30px rgba(17, 60, 207, 0.2);
}

.service-card.youku:hover {
    box-shadow: 0 15px 30px rgba(255, 80, 0, 0.2);
}

.service-card.prime:hover {
    box-shadow: 0 15px 30px rgba(0, 168, 225, 0.2);
}

.service-card.trueid:hover {
    box-shadow: 0 15px 30px rgba(234, 0, 41, 0.2);
}

.service-card.western:hover {
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    width: 100%;
}

.card-icon-lg {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
}

.card-icon-lg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible */
}

/* Specific background tweaks for icons found online if needed, 
   but general black/dark bg works for most logos except maybe Youku which might need white */
.netflix .card-icon-lg {
    background: #000;
}

.disney .card-icon-lg {
    background: #001a4d;
}



.youku .card-icon-lg {
    background: #fff;
    border: 1px solid #ddd;
}

.prime .card-icon-lg {
    background: #fff;
}

.trueid .card-icon-lg {
    background: #fff;
}

.western .card-icon-lg {
    background: #000;
    border: 1px solid var(--western-gold);
}

.western .card-icon-lg span {
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Prime logo is usually dark on white or white on dark. The link used is dark text. */

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
    background: none;
    -webkit-text-fill-color: initial;
    text-transform: uppercase;
    text-align: center;
}

.card-features {
    display: none;
}

.card-action {
    display: none;
}

/* Service View (Hidden Form) */
#service-form-view {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.back-nav {
    position: absolute;
    top: 100px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
    z-index: 100;
}

.back-nav:hover {
    color: #fff;
}

/* Nav Icon Home */
.nav-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

/* Hide original components initially managed by JS/CSS state */
/* Hide original components initially managed by JS/CSS state */
/* .container modification removed as it was empty */

/* SVG Icons helpers */
.svg-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 12px 20px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .header-nav {
        gap: 15px;
    }

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

    .landing-container {
        padding: 80px 15px 40px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .container {
        padding: 2rem 1.5rem;
        margin: 80px 0 20px;
        width: 80%;
        /* Updated to 80% as requested */
    }

    .back-nav {
        top: 75px;
        left: 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        justify-content: center;
    }

    .header-brand {
        align-items: center;
        text-align: center;
    }

    .header-nav {
        display: none;
        /* Hide nav on very narrow screens or use burger */
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Single column on small mobile */
        max-width: 320px;
    }

    .otp-code {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .brand-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .brand-selector {
        gap: 10px;
        flex-wrap: wrap;
        /* Allow wrapping of buttons */
    }

    .result-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card-status {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* Slider Styles */
.content-slider-section {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.slider-container {
    width: 100%;
    max-width: 800px;
    height: 300px;
    /* Adjust height as needed */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-top: 20px;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
    font-size: 1.2rem;
}

.brand-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.header-nav {
    gap: 15px;
}

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

.landing-container {
    padding: 80px 15px 40px;
}

.section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.container {
    padding: 2rem 1.5rem;
    margin: 80px 0 20px;
    width: 80%;
    /* Updated to 80% as requested */
}

.back-nav {
    top: 75px;
    left: 15px;
    font-size: 0.9rem;
}
}

@media (max-width: 480px) {
    .main-header {
        justify-content: center;
    }

    .header-brand {
        align-items: center;
        text-align: center;
    }

    .header-nav {
        display: none;
        /* Hide nav on very narrow screens or use burger */
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* Single column on small mobile */
        max-width: 320px;
    }

    .otp-code {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .brand-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .brand-selector {
        gap: 10px;
        flex-wrap: wrap;
        /* Allow wrapping of buttons */
    }

    .result-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .card-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card-status {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* Slider Styles */
.content-slider-section {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.slider-container {
    width: 100%;
    max-width: 800px;
    height: 300px;
    /* Adjust height as needed */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    margin-top: 20px;
}

.slider-wrapper {
    display: flex;
    /* Horizontal layout */
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
    /* Smooth snapping */
    cursor: grab;
}

.slide-item {
    min-width: 100%;
    /* Each slide takes full width */
    height: 100%;
    /* Remove absolute positioning and opacity logic */
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    /* Prevent text selection while dragging */
}

/* Remove active class dependency for visibility */
.slide-item.active {
    /* No opacity change needed, handled by transform */
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
}

@media (max-width: 768px) {
    .slider-container {
        height: 200px;
    }
}

/* =========================================
   Responsive Navigation & Hamburger Menu
   ========================================= */

/* Header Styles - Overwrite/Ensure correct positioning */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.header-brand {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #333, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #000;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #000;
    transition: width 0.3s;
}

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

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
    /* Push to right if needed, though justify-between handles it */
}

/* Ensure spans are visible */
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333 !important;
    /* Force color */
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    transition: right 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
}

.mobile-nav-link {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-header {
        padding: 15px 20px;
    }
}