/* ============================================
   SLEEP SCIENCE WEBSITE - COMPLETE STYLES
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0c7bb3;
    --secondary-color: #2d3561;
    --accent-color: #87CEEB;
    --accent-light: #b0e0e6;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #b0cce7;
    --bg-white: #e0f2fe;
    --success-color: #0c7bb3;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--accent-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-link {
    color: #ffd700;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffed4e;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 1),
        0 0 25px rgba(255, 215, 0, 0.8),
        0 0 35px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: var(--transition);
}

/* ============================================
   ZOOM CONTROLS
   ============================================ */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    min-width: 40px;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-level {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 50px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.zoom-reset {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.zoom-reset:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
    border-color: rgba(255, 215, 0, 0.6);
}

.zoom-reset:active {
    transform: scale(0.95);
}

/* Responsive adjustments for zoom controls */
@media (max-width: 768px) {
    .zoom-controls {
        padding: 0.4rem 0.6rem;
        gap: 0.3rem;
    }
    
    .zoom-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .zoom-level {
        font-size: 0.85rem;
        min-width: 45px;
    }
    
    .zoom-reset {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-image: url("https://images.unsplash.com/photo-1531353826977-0941b4779a1c?fit=crop&w=1920&q=80");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,112C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.35) 15%, 
        rgba(0, 0, 0, 0.35) 85%, 
        rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin: 0 auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 20px;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.section.alt-bg {
    background: var(--bg-light);
}

/* ============================================
   RESOURCES SECTION BACKGROUND
   ============================================ */
#resources {
    background-image: url('https://images.unsplash.com/photo-1541781774459-bb2af2f05b55?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#resources .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SLEEP CYCLE SECTION
   ============================================ */
#cycle {
    background-image: url('https://images.unsplash.com/photo-1541781774459-bb2af2f05b55?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#cycle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

#cycle .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   MEDICATIONS SECTION BACKGROUND
   ============================================ */
#medications {
    background: url('https://tse3.mm.bing.net/th/id/OIP.sUAI-fNyb1hX3tXVTHTYbAHaEJ?r=0&rs=1&pid=ImgDetMain&o=7&rm=3') no-repeat center center / cover !important;
    position: relative;
}

#medications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#medications .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   SLEEP CYCLE CARDS
   ============================================ */
.cycle-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cycle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.cycle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.cycle-card.stage-1-light-sleep {
    background-image: url('https://images.pexels.com/photos/7445268/pexels-photo-7445268.jpeg?cs=srgb&dl=pexels-ekaterina-bolovtsova-7445268.jpg&fm=jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.cycle-card.stage-1-light-sleep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.cycle-card.stage-1-light-sleep > * {
    position: relative;
    z-index: 1;
}

.cycle-card.stage-2-stable-sleep {
    background-image: url('https://img.freepik.com/premium-photo/sleeping-woman-smile-bed-with-morning-nap-home-with-rest-feeling-calm-with-peace-house-bedroom-tired-female-person-relax-comfortable-pillow-with-blanket-dreaming-weekend_590464-209386.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.cycle-card.stage-2-stable-sleep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.cycle-card.stage-2-stable-sleep > * {
    position: relative;
    z-index: 1;
}

.cycle-card.stage-3-deep-sleep {
    background-image: url('https://media.istockphoto.com/id/1487080824/photo/beautiful-woman-sleeping-in-bed.jpg?s=612x612&w=0&k=20&c=newlkU5kxDfL0w_bbYjlksRawIhZRd7kBNuvbLMcpVo=');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.cycle-card.stage-3-deep-sleep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.cycle-card.stage-3-deep-sleep > * {
    position: relative;
    z-index: 1;
}

.cycle-card.rem-sleep-dream-sleep {
    background-image: url('https://www.realsimple.com/thmb/tn4tWFZIFtMyDbKMngnSz70idk8=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/three-best-sleeping-positions-GettyImages-1154041977-e89adfe8b68b493aaebed371381e078a.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.cycle-card.rem-sleep-dream-sleep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.cycle-card.rem-sleep-dream-sleep > * {
    position: relative;
    z-index: 1;
}

.cycle-card.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
}

.cycle-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cycle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cycle-features {
    list-style: none;
    text-align: left;
}

.cycle-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cycle-features li:last-child {
    border-bottom: none;
}

/* ============================================
   DURATION TABLE
   ============================================ */
.duration-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.duration-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.duration-table thead {
    background: var(--primary-color);
    color: white;
}

.duration-table th,
.duration-table td {
    padding: 1rem;
    text-align: left;
}

.duration-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.duration-table tbody tr:hover {
    background: var(--bg-light);
}

.highlight-value {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.warning-box h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.warning-list {
    list-style: none;
}

.warning-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

/* ============================================
   FOODS SECTION BACKGROUND
   ============================================ */
#foods {
    background: url('https://wallpapercat.com/w/full/e/0/1/2142758-2121x1414-desktop-hd-healthy-food-wallpaper.jpg') no-repeat center center / cover !important;
    position: relative;
}

#foods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#foods .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   MEDICATION CARDS - PREMIUM BUTTONS
   ============================================ */
.know-more-btn {
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    
    /* Visual Design */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    border: 2px solid transparent;
    box-shadow: 
        0 4px 15px rgba(12, 123, 179, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    white-space: nowrap;
    
    /* Animation */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    
    /* Accessibility */
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Button Content */
.know-more-btn .btn-text {
    position: relative;
    z-index: 2;
}

.know-more-btn .btn-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Ripple Effect Container */
.know-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

/* Animated Border Glow */
.know-more-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 52px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.3));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Hover State */
.know-more-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 
        0 8px 25px rgba(12, 123, 179, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.know-more-btn:hover::before {
    width: 400px;
    height: 400px;
}

.know-more-btn:hover::after {
    opacity: 1;
}

.know-more-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Active/Click State */
.know-more-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 2px 8px rgba(12, 123, 179, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

/* Focus State for Keyboard Accessibility */
.know-more-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(12, 123, 179, 0.3),
        0 4px 15px rgba(12, 123, 179, 0.3);
}

.know-more-btn:focus-visible {
    box-shadow: 
        0 0 0 3px rgba(12, 123, 179, 0.5),
        0 4px 15px rgba(12, 123, 179, 0.3);
}

/* Ripple Animation on Click */
@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

.know-more-btn.ripple::before {
    animation: ripple 0.6s ease-out;
}


/* ============================================
   FOODS COLUMN STYLES
   ============================================ */
.foods-column.good-foods {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid #4caf50;
}

.foods-column.good-foods .column-title {
    color: white;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 50%, #66bb6a 100%);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.foods-column.bad-foods {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid #f44336;
}

.foods-column.bad-foods .column-title {
    color: white;
    background: linear-gradient(135deg, #c62828 0%, #e53935 50%, #ef5350 100%);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.foods-column.bad-foods .food-item {
    border-left-color: #f44336;
}

.foods-column.bad-foods .food-item:hover {
    background: linear-gradient(135deg, #f1f8f9, #ffebee);
    border-left-color: #c62828;
}

.foods-column.bad-foods .food-info h4 {
    color: #c62828;
}

.food-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Different colors for each food item */
.foods-column.good-foods .food-item:nth-child(1) {
    border-left: 5px solid #FF6B6B;
}

.foods-column.good-foods .food-item:nth-child(2) {
    border-left: 5px solid #FFA500;
}

.foods-column.good-foods .food-item:nth-child(3) {
    border-left: 5px solid #FFD93D;
}

.foods-column.good-foods .food-item:nth-child(4) {
    border-left: 5px solid #6BCF7F;
}

.foods-column.good-foods .food-item:nth-child(5) {
    border-left: 5px solid #4ECDC4;
}

.foods-column.good-foods .food-item:nth-child(6) {
    border-left: 5px solid #95E1D3;
}

.foods-column.good-foods .food-item:nth-child(7) {
    border-left: 5px solid #F38181;
}

.foods-column.good-foods .food-item:nth-child(8) {
    border-left: 5px solid #AA96DA;
}

.foods-column.good-foods .food-item:nth-child(9) {
    border-left: 5px solid #FCBAD3;
}

.foods-column.good-foods .food-item:nth-child(10) {
    border-left: 5px solid #FFB6C1;
}

.foods-column.good-foods .food-item:nth-child(11) {
    border-left: 5px solid #DDA0DD;
}

.foods-column.good-foods .food-item:nth-child(12) {
    border-left: 5px solid #98D8C8;
}

.foods-column.good-foods .food-item:nth-child(13) {
    border-left: 5px solid #F7DC6F;
}

.foods-column.good-foods .food-item:nth-child(14) {
    border-left: 5px solid #BB8FCE;
}

.foods-column.good-foods .food-item:nth-child(15) {
    border-left: 5px solid #85C1E2;
}

.foods-column.good-foods .food-item:nth-child(16) {
    border-left: 5px solid #F8C471;
}

.foods-column.good-foods .food-item:nth-child(17) {
    border-left: 5px solid #82E0AA;
}

.foods-column.good-foods .food-item:nth-child(18) {
    border-left: 5px solid #F1948A;
}

.food-item:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.35);
    background: linear-gradient(135deg, #f1f8f9, #e8f5e9);
}

.food-emoji {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.15));
}

.food-info h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.food-info p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   EXERCISE SECTION BACKGROUND
   ============================================ */
#exercise {
    background: url('https://wallpaperaccess.com/full/1078038.jpg') no-repeat center center / cover !important;
    position: relative;
}

#exercise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#exercise .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   EXERCISE GRID
   ============================================ */
.exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.exercise-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.exercise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.exercise-card.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
}

.exercise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.exercise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.exercise-card p {
    color: var(--text-light);
}

.exercise-card.highlight p {
    color: white;
}

.exercise-card.brisk-walking-card {
    background-image: url('https://tse2.mm.bing.net/th/id/OIP.qDlllw665DAj_DlLgt_r6gHaDr?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.exercise-card.brisk-walking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.exercise-card.brisk-walking-card .exercise-icon,
.exercise-card.brisk-walking-card h3,
.exercise-card.brisk-walking-card p {
    position: relative;
    z-index: 1;
}

.exercise-card.brisk-walking-card .exercise-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.exercise-card.brisk-walking-card h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.8rem;
}

.exercise-card.brisk-walking-card p {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

.exercise-card.cycling-card {
    background-image: url('https://tse2.mm.bing.net/th/id/OIP.XWfvcvjLZbultKNf5-jP-QHaEK?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.exercise-card.cycling-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.exercise-card.cycling-card .exercise-icon,
.exercise-card.cycling-card h3,
.exercise-card.cycling-card p {
    position: relative;
    z-index: 1;
}

.exercise-card.cycling-card .exercise-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.exercise-card.cycling-card h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.8rem;
}

.exercise-card.cycling-card p {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

.exercise-card.swimming-card {
    background-image: url('https://static.stacker.com/s3fs-public/croppedshutterstock2025637433NNH8jpg.JPEG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.exercise-card.swimming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.exercise-card.swimming-card .exercise-icon,
.exercise-card.swimming-card h3,
.exercise-card.swimming-card p {
    position: relative;
    z-index: 1;
}

.exercise-card.swimming-card .exercise-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.exercise-card.swimming-card h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.8rem;
}

.exercise-card.swimming-card p {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

.exercise-card.yoga-card {
    background-image: url('https://tse1.mm.bing.net/th/id/OIP.bEEtPEXzDu88IlDCIvVUPQHaEK?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.exercise-card.yoga-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.exercise-card.yoga-card .exercise-icon,
.exercise-card.yoga-card h3,
.exercise-card.yoga-card p {
    position: relative;
    z-index: 1;
}

.exercise-card.yoga-card .exercise-icon {
    font-size: 4rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

.exercise-card.yoga-card h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.8rem;
}

.exercise-card.yoga-card p {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
}

.breathing-technique {
    line-height: 1.8;
}

/* ============================================
   SLEEP HYGIENE SECTION BACKGROUND
   ============================================ */
#hygiene {
    background: url('https://wallpapers.com/images/hd/moon-4k-full-moon-over-forest-cval4u1dyiy223ch.jpg') no-repeat center center / cover !important;
    position: relative;
}

#hygiene::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#hygiene .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   HYGIENE GRID
   ============================================ */
.hygiene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hygiene-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.hygiene-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hygiene-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hygiene-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.hygiene-card p {
    color: var(--text-light);
}

/* ============================================
   HYGIENE CARD BACKGROUND IMAGES
   ============================================ */
.hygiene-card.morning-sunlight-card {
    background-image: url('https://i.pinimg.com/736x/a8/60/6a/a8606aa52751e6a1a6d1804f3223b6f5.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.hygiene-card.morning-sunlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.hygiene-card.morning-sunlight-card .hygiene-icon,
.hygiene-card.morning-sunlight-card h3,
.hygiene-card.morning-sunlight-card p {
    position: relative;
    z-index: 1;
}

.hygiene-card.reduce-screen-card {
    background-image: url('https://geimshospital.com/wp-content/uploads/2025/09/How-to-Reduce-Screen-Time-1024x512.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.hygiene-card.reduce-screen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.hygiene-card.reduce-screen-card .hygiene-icon,
.hygiene-card.reduce-screen-card h3,
.hygiene-card.reduce-screen-card p {
    position: relative;
    z-index: 1;
}

.hygiene-card.fixed-schedule-card {
    background-image: url('https://th.bing.com/th/id/R.8479ae8fcbf4a3c5a03fd82f39f3e496?rik=bgITpSVjmy3l0Q&riu=http%3a%2f%2fthedailyhealthytip.com%2fwp-content%2fuploads%2f2018%2f03%2fsleeping-cycle.png&ehk=%2bZfrI6HSabpxV37bWo7SYosowF813EXqIJjee1%2fbHOE%3d&risl=&pid=ImgRaw&r=0');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: black;
    position: relative;
    overflow: hidden;
}

.hygiene-card.fixed-schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 15px;
    z-index: 0;
}

.hygiene-card.fixed-schedule-card .hygiene-icon,
.hygiene-card.fixed-schedule-card h3,
.hygiene-card.fixed-schedule-card p {
    position: relative;
    z-index: 1;
    color: black;
}

.hygiene-card.cool-bedroom-card {
    background-image: url('https://homedeviser.com/wp-content/uploads/2024/01/high-shine-metallics-and-Hollywood-glam-lighting.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.hygiene-card.cool-bedroom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.hygiene-card.cool-bedroom-card .hygiene-icon,
.hygiene-card.cool-bedroom-card h3,
.hygiene-card.cool-bedroom-card p {
    position: relative;
    z-index: 1;
}

.hygiene-card.dark-environment-card {
    background-image: url('https://i.pinimg.com/originals/84/44/e6/8444e6743f920605c065f267b46696d9.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.hygiene-card.dark-environment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.hygiene-card.dark-environment-card .hygiene-icon,
.hygiene-card.dark-environment-card h3,
.hygiene-card.dark-environment-card p {
    position: relative;
    z-index: 1;
}

/* ============================================
   LEARNING BOX
   ============================================ */
.learning-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.learning-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.learning-list {
    list-style: none;
    margin-bottom: 1rem;
}

.learning-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.learning-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.learning-warning {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--warning-color);
    color: #856404;
}

.nap-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.nap-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.nap-box p {
    font-size: 1.2rem;
}

/* ============================================
   MEDICATION GRID
   ============================================ */
.medication-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.medication-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.medication-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.medication-card ul {
    list-style: none;
}

.medication-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.medication-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.risks-box {
    background: #ffe6e6;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid var(--danger-color);
}

.risks-box h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border-left: 5px solid var(--warning-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

/* ============================================
   BENZODIAZEPINES SECTION
   ============================================ */
.medication-category {
    margin-bottom: 3rem;
}

.category-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.category-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benzodiazepine-info {
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.info-card.warning-card {
    background: #fff3cd;
    border-left: 5px solid var(--warning-color);
}

.info-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.limitations-list {
    list-style: none;
    margin-bottom: 1rem;
}

.limitations-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.limitations-list li::before {
    content: '✘';
    position: absolute;
    left: 0;
    color: var(--danger-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Limitation Items Color Variations */
.limitation-item-1 {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #ff6b6b;
}

.limitation-item-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #f093fb;
}

.limitation-item-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #4facfe;
}

.limitation-item-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #43e97b;
}

.limitation-item-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    border-left: 4px solid #fa709a;
}

.recommendation-note {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    font-size: 1.05rem;
}

.medication-image {
    margin: 2rem 0;
    text-align: center;
}

.medication-pill-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.medication-pill-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.specific-medications {
    margin-top: 2rem;
    text-align: center;
}

.specific-medications h4 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 1rem;
    font-weight: 700;
}

.meds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 1400px) {
    .meds-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1200px) {
    .meds-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.9rem;
    }
}

@media (max-width: 992px) {
    .meds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .meds-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

.med-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.med-card {
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-top: 3px solid;
    transition: var(--transition);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.med-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    z-index: 0;
}

.med-card > * {
    position: relative;
    z-index: 1;
}

.med-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.med-card h5 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-weight: bold;
    line-height: 1.2;
}

.med-card p {
    color: #000000;
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.med-card strong {
    display: block;
    margin-top: 0.4rem;
    margin-bottom: 0.15rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.med-card ul {
    margin: 0.2rem 0;
    padding-left: 0.8rem;
}

.med-card li {
    margin-bottom: 0.15rem;
    color: #000000;
    font-size: 0.7rem;
    line-height: 1.3;
}

.med-card-link:hover {
    text-decoration: none;
}

.know-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(12, 123, 179, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.know-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.know-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.know-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(12, 123, 179, 0.6);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.know-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ============================================
   BUTTON COLOR THEMES
   ============================================ */

/* Meloset - Purple Theme */
.know-more-btn.meloset-btn {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
    box-shadow: 
        0 4px 15px rgba(156, 39, 176, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.know-more-btn.meloset-btn:hover {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    box-shadow: 
        0 8px 25px rgba(156, 39, 176, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.know-more-btn.meloset-btn:focus {
    box-shadow: 
        0 0 0 3px rgba(156, 39, 176, 0.3),
        0 4px 15px rgba(156, 39, 176, 0.35);
}

/* Zolpidem - Blue Theme */
.know-more-btn.zolpidem-btn {
    background: linear-gradient(135deg, #1976d2, #1565c0);
    box-shadow: 
        0 4px 15px rgba(25, 118, 210, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.know-more-btn.zolpidem-btn:hover {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    box-shadow: 
        0 8px 25px rgba(25, 118, 210, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.know-more-btn.zolpidem-btn:focus {
    box-shadow: 
        0 0 0 3px rgba(25, 118, 210, 0.3),
        0 4px 15px rgba(25, 118, 210, 0.35);
}

/* Zopiclone - Green Theme */
.know-more-btn.zopiclone-btn {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    box-shadow: 
        0 4px 15px rgba(56, 142, 60, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.know-more-btn.zopiclone-btn:hover {
    background: linear-gradient(135deg, #2e7d32, #388e3c);
    box-shadow: 
        0 8px 25px rgba(56, 142, 60, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.know-more-btn.zopiclone-btn:focus {
    box-shadow: 
        0 0 0 3px rgba(56, 142, 60, 0.3),
        0 4px 15px rgba(56, 142, 60, 0.35);
}

/* Eszopiclone - Orange Theme */
.know-more-btn.eszopiclone-btn {
    background: linear-gradient(135deg, #f57c00, #ef6c00);
    box-shadow: 
        0 4px 15px rgba(245, 124, 0, 0.35),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.know-more-btn.eszopiclone-btn:hover {
    background: linear-gradient(135deg, #ef6c00, #f57c00);
    box-shadow: 
        0 8px 25px rgba(245, 124, 0, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15);
}

.know-more-btn.eszopiclone-btn:focus {
    box-shadow: 
        0 0 0 3px rgba(245, 124, 0, 0.3),
        0 4px 15px rgba(245, 124, 0, 0.35);
}

/* Meloset - Black Theme */
.med-card.meloset {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-top-color: #000000;
}

.med-card.meloset::before {
    background: #000000;
}

.med-card.meloset h5 {
    color: #000000;
}

.med-card.meloset strong {
    color: #000000;
}

/* Zolpidem - Black Theme */
.med-card.zolpidem {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-top-color: #000000;
}

.med-card.zolpidem::before {
    background: #000000;
}

.med-card.zolpidem h5 {
    color: #000000;
}

.med-card.zolpidem strong {
    color: #000000;
}

/* Zopiclone - Black Theme */
.med-card.zopiclone {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-top-color: #000000;
}

.med-card.zopiclone::before {
    background: #000000;
}

.med-card.zopiclone h5 {
    color: #000000;
}

.med-card.zopiclone strong {
    color: #000000;
}

/* Eszopiclone - Black Theme */
.med-card.eszopiclone {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-top-color: #000000;
}

.med-card.eszopiclone::before {
    background: #000000;
}

.med-card.eszopiclone h5 {
    color: #000000;
}

.med-card.eszopiclone strong {
    color: #000000;
}


/* ============================================
   KEY TAKEAWAYS
   ============================================ */
.takeaways-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.takeaways-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 0;
    border-radius: 15px;
}

.takeaways-box h3,
.takeaways-box .takeaways-grid,
.takeaways-box .takeaway-card {
    position: relative;
    z-index: 1;
}

.takeaways-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.takeaway-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
    position: relative;
}

.takeaway-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.takeaway-card.z-drugs-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.takeaway-card.z-drugs-card p {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.takeaway-card.z-drugs-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 204, 231, 0);
    border-radius: 10px;
    z-index: 0;
}

.takeaway-card.z-drugs-card > * {
    position: relative;
    z-index: 1;
}

.takeaway-card.z-drugs-card .takeaway-icon {
    font-size: 3rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.takeaway-card.z-drugs-card .highlight-green {
    color: #c2185b;
    background-color: #90EE90;
    font-weight: 700;
}

.takeaway-card.barbiturates-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.takeaway-card.barbiturates-card p {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.takeaway-card.barbiturates-card .takeaway-icon {
    font-size: 3rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.takeaway-card.barbiturates-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 204, 231, 0);
    border-radius: 10px;
    z-index: 0;
}

.takeaway-card.barbiturates-card > * {
    position: relative;
    z-index: 1;
}

.takeaway-card.antihistamines-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.takeaway-card.antihistamines-card p {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.takeaway-card.antihistamines-card .takeaway-icon {
    font-size: 3rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.takeaway-card.antihistamines-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 204, 231, 0);
    border-radius: 10px;
    z-index: 0;
}

.takeaway-card.antihistamines-card > * {
    position: relative;
    z-index: 1;
}

.takeaway-card.short-term-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.takeaway-card.short-term-card p {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.takeaway-card.short-term-card .takeaway-icon {
    font-size: 3rem;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
}

.takeaway-card.short-term-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(176, 204, 231, 0);
    border-radius: 10px;
    z-index: 0;
}

.takeaway-card.short-term-card > * {
    position: relative;
    z-index: 1;
}

.takeaway-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.takeaway-card p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.critical-warning {
    background: #ffe6e6;
    border-left: 5px solid var(--danger-color);
}

.critical-warning h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.critical-warning p {
    margin-bottom: 1rem;
    color: white;
}

.critical-warning p:last-child {
    margin-bottom: 0;
}

.warning-highlight {
    background: black;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--warning-color);
    margin-top: 1rem;
    font-weight: 500;
}

.warning-box.safety-warning-box {
    background-image: url('https://media.istockphoto.com/id/1453869658/vector/safety-first-vintage-rusty-metal-sign.jpg?b=1&s=170667a&w=0&k=20&c=nrQUxhxURKHqmuzvxFAkDlCbpDbL5yu1IaS_pSA7MM4=');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.warning-box.safety-warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 230, 230, 0);
    border-radius: 10px;
    z-index: 0;
}

.warning-box.safety-warning-box > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   SYMPTOMS GRID
   ============================================ */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.symptom-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-left: 4px solid var(--danger-color);
    transition: var(--transition);
}

.symptom-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.conditions-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.conditions-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
   ROUTINE SECTION BACKGROUND
   ============================================ */
#routine {
    background: url('../images/evening-routine-bg.jpg') no-repeat center center / cover !important;
    position: relative;
}

#routine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

#routine .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   ROUTINE TIMELINE
   ============================================ */
.routine-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.routine-phase {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.routine-phase:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Morning Routine Card with Background Image */
.routine-phase.morning-routine-card {
    background-image: url('https://images.squarespace-cdn.com/content/v1/5f0097caead12b7ccccaac20/1606524970356-2F23YIUSDMA62Q5UC62S/image-asset.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.routine-phase.morning-routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.routine-phase.morning-routine-card h3,
.routine-phase.morning-routine-card ul,
.routine-phase.morning-routine-card li {
    position: relative;
    z-index: 1;
}

/* Afternoon Routine Card with Background Image */
.routine-phase.afternoon-routine-card {
    background-image: url('https://i.pinimg.com/736x/79/34/c4/7934c4bb83c724ee0551c772deb2e646.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.routine-phase.afternoon-routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    z-index: 0;
}

.routine-phase.afternoon-routine-card h3,
.routine-phase.afternoon-routine-card ul,
.routine-phase.afternoon-routine-card li {
    position: relative;
    z-index: 1;
}

/* Evening Routine Card with Background Image */
.routine-phase.evening-routine-card {
    background-image: url('https://i.pinimg.com/originals/34/22/26/342226902b21810fbe977d48d2640c70.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.routine-phase.evening-routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    z-index: 0;
}

.routine-phase.evening-routine-card h3,
.routine-phase.evening-routine-card ul,
.routine-phase.evening-routine-card li {
    position: relative;
    z-index: 1;
}

/* Night Routine Card with Background Image */
.routine-phase.night-routine-card {
    background-image: url('https://tse4.mm.bing.net/th/id/OIP.BPXqc--5wNGNT0WmrHlGEgHaE5?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.routine-phase.night-routine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    z-index: 0;
}

.routine-phase.night-routine-card h3,
.routine-phase.night-routine-card ul,
.routine-phase.night-routine-card li {
    position: relative;
    z-index: 1;
}

.routine-phase h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.routine-phase ul {
    list-style: none;
}

.routine-phase li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.routine-phase li::before {
    content: '→';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.quote-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SLEEP TIMING SECTION BACKGROUND
   ============================================ */
#timing {
    background: url('https://wallpaperaccess.com/full/11614.jpg') no-repeat center center / cover !important;
    position: relative;
}

#timing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

#timing .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   TIMING COMPARISON
   ============================================ */
.systems-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.systems-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Circadian Systems Box with Background Image */
.circadian-systems-box {
    background-image: url('https://tse1.mm.bing.net/th/id/OIP.Nfd-_b2A1A1D6AsvReUmgAHaEc?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
}

.circadian-systems-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    z-index: 0;
}

.circadian-systems-box h3,
.circadian-systems-box .systems-grid,
.circadian-systems-box .system-card,
.circadian-systems-box .systems-note {
    position: relative;
    z-index: 1;
}

.circadian-systems-box h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    text-align: center;
}

.circadian-systems-box .system-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.circadian-systems-box .system-card h4 {
    color: #000000;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.circadian-systems-box .system-card p {
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.6;
}

.circadian-systems-box .systems-note {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.6);
    text-align: center;
    margin-top: 1.5rem;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.system-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.system-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.systems-note {
    text-align: center;
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.timing-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.timing-good,
.timing-bad {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.timing-good {
    background: #d4edda;
    border-left: 5px solid var(--success-color);
}

.timing-bad {
    background: #f8d7da;
    border-left: 5px solid var(--danger-color);
}

.timing-good h3,
.timing-bad h3 {
    margin-bottom: 1rem;
}

.social-jetlag-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--warning-color);
    position: relative;
    overflow: hidden;
}

.social-jetlag-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.fastcompany.com/image/upload/f_auto,q_auto,c_fit/fc/3048051-poster-p-1-new-evidence-that-you-should-let-your-employees-nap-at-work.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.social-jetlag-box > * {
    position: relative;
    z-index: 1;
}

.social-jetlag-box h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.jetlag-symptoms {
    list-style: none;
    margin-top: 1rem;
}

.jetlag-symptoms li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.jetlag-symptoms li::before {
    content: '😴';
    position: absolute;
    left: 0;
}

/* ============================================
   MEALS SECTION BACKGROUND
   ============================================ */
#meals {
    background: url('https://th.bing.com/th/id/R.cc448d5f5671547b078d3cc7ef9c93f2?rik=s7FmXgmD6BLYeQ&riu=http%3a%2f%2fgetwallpapers.com%2fwallpaper%2ffull%2f4%2fb%2f9%2f1184183-full-size-healthy-food-wallpaper-1920x1080-for-ipad.jpg&ehk=Ck5WmbeX6n5qzH6kGIQ0p3WjCZLIcvMC0TfVRjYMu74%3d&risl=&pid=ImgRaw&r=0') no-repeat center center / cover !important;
    position: relative;
}

#meals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

#meals .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   MEAL TIMELINE
   ============================================ */
.meal-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.meal-phase {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.meal-phase.breakfast-card {
    background-image: url('https://img.freepik.com/premium-photo/breakfast_1134901-3462.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.meal-phase.breakfast-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.meal-phase.breakfast-card h3,
.meal-phase.breakfast-card p,
.meal-phase.breakfast-card ul,
.meal-phase.breakfast-card li {
    position: relative;
    z-index: 1;
}

.meal-phase.lunch-card {
    background-image: url('https://media.istockphoto.com/id/1093258658/photo/aloo-kanda-poha-or-tarri-pohe-with-spicy-chana-masala-curry-selective-focus.jpg?s=170667a&w=0&k=20&c=F62fq4OHqZ9Vctm94klCFwt1M1WTnH3g2t7qq7E26vs=');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.meal-phase.lunch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    z-index: 0;
}

.meal-phase.lunch-card h3,
.meal-phase.lunch-card p,
.meal-phase.lunch-card ul,
.meal-phase.lunch-card li {
    position: relative;
    z-index: 1;
}

.meal-phase.dinner-card {
    background: url('https://i.pinimg.com/originals/95/82/66/958266655eecaf39373a419b5a19590b.jpg') no-repeat center center / cover;
    color: white;
    position: relative;
    overflow: hidden;
}

.meal-phase.dinner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 15px;
    z-index: 0;
}

.meal-phase.dinner-card h3,
.meal-phase.dinner-card p,
.meal-phase.dinner-card ul,
.meal-phase.dinner-card li {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.meal-phase:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.meal-phase.optional {
    border-top-color: var(--text-light);
    position: relative;
    background: transparent;
    background-image: url('https://diabesmart.in/cdn/shop/articles/what-are-healthy-indian-snack-options_1.png?v=1710154471');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.meal-phase.optional::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.meal-phase.optional > * {
    position: relative;
    z-index: 1;
}

.meal-phase.optional li {
    color: white;
}

.meal-time {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.meal-phase h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.meal-phase > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.meal-phase ul {
    list-style: none;
}

.meal-phase li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.meal-phase li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============================================
   CIRCADIAN SECTION BACKGROUND
   ============================================ */
#circadian {
    background: url('https://trinityhomecenterblog.com/wp-content/uploads/2023/03/Shutterstock_1742387501-1024x594.jpg') no-repeat center center / cover !important;
    position: relative;
}

#circadian::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

#circadian .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   CIRCADIAN BIOLOGY
   ============================================ */
.circadian-intro {
    background: white;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    text-align: center;
    overflow: hidden;
}

.circadian-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://primalnebula.com/wp-content/uploads/2024/02/MASTER.00_03_11_22.Still001-edited-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.circadian-intro h3,
.circadian-intro p {
    position: relative;
    z-index: 1;
}

.circadian-intro h3 {
    color: #ff0000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.circadian-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #ff0000;
}


.factors-grid {
    margin-top: 2rem;
}

.factors-grid h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.factor-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.factor-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.factor-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Factor Card Color Themes */
.factor-card.light-exposure {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #ff9800;
}

.factor-card.light-exposure h4 {
    color: #f57c00;
}

.factor-card.sleep-timing {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left-color: #9c27b0;
}

.factor-card.sleep-timing h4 {
    color: #7b1fa2;
}

.factor-card.exercise {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left-color: #4caf50;
}

.factor-card.exercise h4 {
    color: #2e7d32;
}

.factor-card.sirt1-nad {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left-color: #ffc107;
}

.factor-card.sirt1-nad h4 {
    color: #ff8f00;
}

.factor-card.time-restricted {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-left-color: #00bcd4;
}

.factor-card.time-restricted h4 {
    color: #0097a7;
}

.factor-card.avoid-light {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    border-left-color: #e91e63;
}

.factor-card.avoid-light h4 {
    color: #c2185b;
}

/* ============================================
   LIGHT THERAPY SECTION BACKGROUND
   ============================================ */
#light-therapy {
    background: url('https://moodcarehealth.com/wp-content/uploads/2024/12/light-therapy-for-anxiety-1-1024x585.jpg') no-repeat center center / cover !important;
    position: relative;
}

#light-therapy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    z-index: 0;
}

#light-therapy .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   LIGHT THERAPY
   ============================================ */
.light-info {
    background: url('https://circadianbluelight.com/wp-content/uploads/2024/09/circadian-rhythms-and-melatonin-function-1024x585.jpg') no-repeat center center / cover;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.light-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.light-info h3,
.light-info .light-path,
.light-info .light-step {
    position: relative;
    z-index: 1;
}

.light-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.light-path {
    display: grid;
    gap: 1.5rem;
}

.light-step {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.step-label {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

/* Step 1 - Blue Theme */
.light-step:nth-child(1) {
    border-left-color: #2196F3;
}

.light-step:nth-child(1) .step-label {
    background: #2196F3;
}

/* Step 2 - Purple Theme */
.light-step:nth-child(2) {
    border-left-color: #9C27B0;
}

.light-step:nth-child(2) .step-label {
    background: #9C27B0;
}

/* Step 3 - Green Theme */
.light-step:nth-child(3) {
    border-left-color: #4CAF50;
}

.light-step:nth-child(3) .step-label {
    background: #4CAF50;
}

.light-intensity {
    background: url('https://www.physicsforums.com/attachments/inverse-square-law-png.85986/') no-repeat center center / cover;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.light-intensity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.light-intensity h3,
.light-intensity .light-table {
    position: relative;
    z-index: 1;
}

.light-intensity h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.light-table {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.light-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.light-table td {
    padding: 1rem;
}

.light-table tr:hover {
    background: var(--bg-light);
}

.intensity-value {
    font-weight: bold;
    color: var(--accent-color);
}

.intensity-value.highlight {
    color: var(--success-color);
    font-size: 1.2rem;
}

.light-color {
    background: url('https://www.planetdj.com/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/i/n/intimidatorbeam140sre.jpg') no-repeat center center / cover;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.light-color::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.light-color h3,
.light-color > p,
.light-color .color-grid {
    position: relative;
    z-index: 1;
}

.light-color h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.light-color > p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.color-card {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.color-card.bad {
    background: #ffe6e6;
    border-left: 5px solid var(--danger-color);
}

.color-card.good {
    background: #d4edda;
    border-left: 5px solid var(--success-color);
}

.color-card.better {
    background: #fff3cd;
    border-left: 5px solid #ff9800;
}

.color-card.best {
    background: #fff3cd;
    border-left: 5px solid var(--warning-color);
}

.color-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.color-card ul {
    list-style: none;
    margin-top: 1rem;
}

.color-card li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.color-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.light-schedule {
    background: url('https://www.womansworld.com/wp-content/uploads/2024/08/what-is-core-sleep-tracking.jpg?w=1024&quality=86&strip=all') no-repeat center center / cover;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.light-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.light-schedule h3,
.light-schedule .schedule-timeline {
    position: relative;
    z-index: 1;
}

.light-schedule h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-timeline {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    align-items: center;
}

.schedule-item .time {
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-item .light-type {
    color: var(--accent-color);
}

.schedule-item .purpose {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============================================
   LIGHT SCHEDULE COLOR CODING
   ============================================ */
.schedule-item.morning-light {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
}

.schedule-item.daytime-light {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid #2196f3;
}

.schedule-item.evening-light {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 5px solid #ffc107;
}

.schedule-item.pre-bed-light {
    background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
    border-left: 5px solid #ff9800;
}

.schedule-item.sleep-dark {
    background: linear-gradient(135deg, #263238 0%, #37474f 100%);
    border-left: 5px solid #1a237e;
    color: white;
}

.schedule-item.sleep-dark .time {
    color: #ffeb3b;
}

.schedule-item.sleep-dark .light-type {
    color: #ff9800;
}

.schedule-item.sleep-dark .purpose {
    color: #b0bec5;
}

/* ============================================
   EXERCISE TIMING
   ============================================ */
.timing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.timing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.timing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timing-card.best {
    border-top: 5px solid var(--success-color);
}

.timing-card.good {
    border-top: 5px solid #ff9800;
}

.timing-card.safe {
    border-top: 5px solid var(--warning-color);
}

.timing-card.caution {
    border-top: 5px solid var(--danger-color);
}

.timing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.timing-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timing-label {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timing-card.best .timing-label {
    background: var(--success-color);
}

.timing-card.good .timing-label {
    background: #ff9800;
}

.timing-card.safe .timing-label {
    background: var(--warning-color);
}

.timing-card.caution .timing-label {
    background: var(--danger-color);
}

.timing-card ul {
    list-style: none;
    text-align: left;
}

.timing-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timing-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.exercise-types {
    margin-top: 3rem;
}

.exercise-types h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.type-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.type-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.type-card > p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.type-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.type-card li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.type-card li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.recommendation {
    background: var(--bg-light);
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* ============================================
   MEDICINE DURING SLEEP
   ============================================ */
.perspective-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.perspective {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.perspective.traditional {
    border-top: 5px solid var(--text-light);
}

.perspective.new {
    border-top: 5px solid var(--accent-color);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.perspective h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.perspective-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
}

.conditions-detailed {
    margin-bottom: 2rem;
}

.conditions-detailed h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.condition-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--accent-color);
}

.condition-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.condition-card ul {
    list-style: none;
}

.condition-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.condition-card li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.steroid-timing {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.steroid-timing h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.steroid-timing ul {
    list-style: none;
    margin-bottom: 1rem;
}

.steroid-timing li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.steroid-timing li::before {
    content: '💊';
    position: absolute;
    left: 0;
}

.melatonin-tip {
    background: #d4edda;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
    color: #155724;
}

/* ============================================
   RESOURCES
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.resource-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.resource-category:first-child {
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.resource-category:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.resource-category:first-child h3,
.resource-category:first-child .resource-item,
.resource-category:first-child h4,
.resource-category:first-child ul,
.resource-category:first-child li {
    position: relative;
    z-index: 1;
}

.resource-category:last-child {
    background-image: url('https://images.unsplash.com/photo-1511499767150-a48a237f0083?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.resource-category:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
    border-radius: 15px;
}

.resource-category:last-child h3,
.resource-category:last-child .product-grid,
.resource-category:last-child .product-item,
.resource-category:last-child h4,
.resource-category:last-child p {
    position: relative;
    z-index: 1;
}

.resource-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.resource-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.resource-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.resource-item h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.resource-item ul {
    list-style: none;
}

.resource-item li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #000000;
}

.resource-item li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.product-grid {
    display: grid;
    gap: 1rem;
}

.product-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-color);
}

.product-item.deep-sleep-roll-on {
    background-image: url('https://malaodlavande.com/486-popup_large/rollon-stick-cajevac.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.deep-sleep-roll-on::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.40);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.deep-sleep-roll-on h4,
.product-item.deep-sleep-roll-on p,
.product-item.deep-sleep-roll-on button {
    position: relative;
    z-index: 1;
}

.product-item.perytong-headphones {
    background-image: url('https://m.media-amazon.com/images/I/81i4GmJO5PL._AC_SL1500_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.perytong-headphones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.perytong-headphones h4,
.product-item.perytong-headphones p,
.product-item.perytong-headphones button {
    position: relative;
    z-index: 1;
}

.product-item.bjain-sleep-drops {
    background-image: url('https://tse4.mm.bing.net/th/id/OIP.ZnJFmc38DgHnD0P99WdB3gHaHa?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(176, 204, 231, 0.85);
    position: relative;
}

.product-item.bjain-sleep-drops::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.bjain-sleep-drops h4,
.product-item.bjain-sleep-drops p,
.product-item.bjain-sleep-drops button {
    position: relative;
    z-index: 1;
}

.product-item.ear-plugs {
    background-image: url('https://tse3.mm.bing.net/th/id/OIP.vzEAcsiFsOMOkOFO4Td71AHaEy?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(176, 204, 231, 0.85);
    position: relative;
}

.product-item.ear-plugs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.ear-plugs h4,
.product-item.ear-plugs p,
.product-item.ear-plugs button {
    position: relative;
    z-index: 1;
}

.product-item.white-noise-machine {
    background-image: url('https://th.bing.com/th/id/OIP.Tzj9ngqc8eH7PoUynUMt6AHaE7?r=0&o=7rm=3&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(176, 204, 231, 0.85);
    position: relative;
}

.product-item.white-noise-machine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.white-noise-machine h4,
.product-item.white-noise-machine p,
.product-item.white-noise-machine button {
    position: relative;
    z-index: 1;
}

.product-item.cervical-pillow {
    background-image: url('https://tse1.explicit.bing.net/th/id/OIP.OqheLpttNQiomvtOh2J7jgHaHa?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(176, 204, 231, 0.85);
    position: relative;
}

.product-item.cervical-pillow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.cervical-pillow h4,
.product-item.cervical-pillow p,
.product-item.cervical-pillow button {
    position: relative;
    z-index: 1;
}

.product-item.handheld-device {
    background-image: url('https://tse2.mm.bing.net/th/id/OIP.PnEEAJ8ZFT5v9lsZL4j43gHaG_?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    background-color: rgba(176, 204, 231, 0.85);
    position: relative;
}

.product-item.handheld-device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    pointer-events: none;
}

.product-item.handheld-device h4,
.product-item.handheld-device p,
.product-item.handheld-device button {
    position: relative;
    z-index: 1;
}

.product-item.sevenspace-headphones {
    background-image: url('https://m.media-amazon.com/images/I/81u2WM7P13L._AC_SL1500_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.sevenspace-headphones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 15px;
}

.product-item.sevenspace-headphones h4,
.product-item.sevenspace-headphones p,
.product-item.sevenspace-headphones button {
    position: relative;
    z-index: 1;
}

.product-item.valkyrie-eye-mask {
    background-image: url('https://m.media-amazon.com/images/I/81C+WjvPujL._SL1500_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.valkyrie-eye-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 15px;
}

.product-item.valkyrie-eye-mask h4,
.product-item.valkyrie-eye-mask p,
.product-item.valkyrie-eye-mask button {
    position: relative;
    z-index: 1;
}

.product-item.sleep-strips {
    background-image: url('https://tse4.mm.bing.net/th/id/OIP.7bGc0O2sZFgORgWZe1AwsgHaHa?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.sleep-strips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 15px;
}

.product-item.sleep-strips h4,
.product-item.sleep-strips p,
.product-item.sleep-strips button {
    position: relative;
    z-index: 1;
}

.product-item.magnesium-lotion {
    background-image: url('https://m.media-amazon.com/images/I/71zRBjJvF+L._SL1500_.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    background-color: transparent;
    position: relative;
}

.product-item.magnesium-lotion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 15px;
}

.product-item.magnesium-lotion h4,
.product-item.magnesium-lotion p,
.product-item.magnesium-lotion button {
    position: relative;
    z-index: 1;
}

.product-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.product-item p {
    color: #000000;
    font-size: 0.95rem;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.8rem;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 10px;
    border-left: 4px solid #ff9800;
}

.price-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   COMBINED BUNDLE PRODUCT STYLES
   ============================================ */
.product-item.combined-sleep-bundle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.product-item.combined-sleep-bundle::before {
    display: none;
}

.bundle-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.4);
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-item.combined-sleep-bundle h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.bundle-products {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.bundle-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.bundle-item:last-child {
    margin-bottom: 0;
}

.bundle-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.bundle-details {
    flex: 1;
}

.bundle-details strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.bundle-details p {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.bundle-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 1rem 0;
}

.bundle-price-tag {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.bundle-label {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bundle-price {
    display: block;
    color: #ff0000;
    font-size: 2rem;
    font-weight: 900;
    margin-top: 0.8rem;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(255, 0, 0, 0.5);
    letter-spacing: 1px;
}

.bundle-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.bundle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff8e53, #ff6b6b);
}

.bundle-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments for bundle */
@media (max-width: 768px) {
    .bundle-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        top: 5px;
        right: 5px;
    }
    
    .product-item.combined-sleep-bundle h4 {
        font-size: 1.1rem;
    }
    
    .bundle-products {
        padding: 1rem;
    }
    
    .bundle-icon {
        font-size: 2rem;
    }
    
    .bundle-details strong {
        font-size: 1rem;
    }
    
    .bundle-details p {
        font-size: 0.85rem;
    }
    
    .bundle-label {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
    
    .bundle-btn {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .bundle-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bundle-icon {
        font-size: 1.8rem;
    }
    
    .product-item.combined-sleep-bundle h4 {
        font-size: 1rem;
    }
    
    .bundle-details strong {
        font-size: 0.95rem;
    }
    
    .bundle-details p {
        font-size: 0.8rem;
    }
}

.sleep-music {
    background-image: url('https://images.unsplash.com/photo-1501386761578-eac5c94b800a?fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sleep-music::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 0;
}

.sleep-music .container,
.sleep-music h3,
.sleep-music .music-links,
.sleep-music .music-link {
    position: relative;
    z-index: 1;
}

.sleep-music h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.music-links {
    display: grid;
    gap: 1rem;
}

.music-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.music-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

/* Music Link Color Variations */
.music-link-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left-color: #667eea;
}

.music-link-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-left-color: #f093fb;
}

.music-link-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-left-color: #4facfe;
}

.music-link-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-left-color: #43e97b;
}

.music-link-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-left-color: #fa709a;
}

.music-link-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    border-left-color: #30cfd0;
}

.music-link-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-left-color: #a8edea;
}

.music-link-8 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-left-color: #ff9a9e;
}

.music-link-9 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-left-color: #ffecd2;
}

.music-icon {
    font-size: 1.5rem;
}

.priority-tips {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.priority-tips h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.priority-list {
    list-style: none;
    counter-reset: priority-counter;
    max-width: 600px;
    margin: 0 auto;
}

.priority-list li {
    counter-increment: priority-counter;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    position: relative;
    padding-left: 4rem;
}

.priority-list li::before {
    content: counter(priority-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 20px;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-quote {
    font-style: italic;
    opacity: 0.8;
    margin-top: 1rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

/* Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
.nav-logo {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 30px rgba(255, 215, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-logo:hover {
    color: #ffed4e;
    text-shadow: 
        0 0 15px rgba(255, 215, 0, 1),
        0 0 25px rgba(255, 215, 0, 0.8),
        0 0 35px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
}

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Mobile Devices (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    /* Box Breathing Wide Card */
    .breathing-exercise.wide-card {
        grid-column: span 1;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-logo {
        font-size: 0.9rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    /* Hero Section */
    .hero {
        padding: 150px 20px 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Sections */
    .section {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-intro {
        font-size: 1rem;
    }

    /* Cards and Grids */
    .cycle-container,
    .resources-grid,
    .meds-grid,
    .exercise-grid,
    .hygiene-grid,
    .routine-timeline,
    .meal-timeline,
    .systems-grid,
    .timing-comparison,
    .takeaways-grid,
    .factors-grid,
    .color-grid,
    .type-grid,
    .perspective-box,
    .symptoms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Breathing Exercises */
    .breathing-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .breathing-circle {
        width: 150px;
        height: 150px;
    }

    .breathing-steps {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Foods Grid */
    .foods-grid {
        grid-template-columns: 1fr;
    }

    /* Schedule Timeline */
    .schedule-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }

    .clock-arrow {
        transform: rotate(90deg);
    }

    .clock-diagram {
        flex-direction: column;
    }

    /* Modal */
    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-height: 85vh;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    /* Payment Section */
    .payment-buttons {
        grid-template-columns: 1fr;
    }

    .upi-pay-btn {
        padding: 1rem;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .back-btn {
        order: 2;
    }

    .submit-order-btn {
        order: 1;
    }

    /* Back to Top Button */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    /* Navigation */
    .nav-logo {
        font-size: 0.85rem;
    }

    .nav-menu {
        padding: 1.5rem;
    }

    /* Hero Section */
    .hero {
        padding: 120px 15px 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .hero-scroll {
        bottom: 20px;
    }

    /* Sections */
    .section {
        padding: 50px 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    /* Cards */
    .cycle-card,
    .med-card,
    .exercise-card,
    .hygiene-card,
    .routine-phase,
    .meal-phase,
    .factor-card,
    .timing-card,
    .type-card,
    .condition-card,
    .symptom-item,
    .info-card,
    .product-item {
        padding: 1.5rem 1rem;
    }

    /* Breathing Exercises */
    .breathing-exercise {
        padding: 1.5rem 1rem;
    }

    .breathing-circle {
        width: 120px;
        height: 120px;
    }

    .breathing-text {
        font-size: 1.2rem;
    }

    .breathing-timer {
        font-size: 1.5rem;
    }

    .btn-start,
    .btn-reset {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Modal */
    .modal-content {
        padding: 1.5rem 1rem;
        width: 98%;
        max-height: 90vh;
        border-radius: 15px;
    }

    .modal-content h2 {
        font-size: 1.3rem;
    }

    .modal-product-name {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    /* Payment Section */
    .payment-section {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    .payment-title {
        font-size: 1.1rem;
    }

    .upi-info {
        padding: 1rem;
    }

    .upi-id-display {
        flex-direction: column;
        gap: 0.5rem;
    }

    .upi-number {
        font-size: 1.2rem;
        padding: 0.4rem 0.8rem;
    }

    .copy-btn {
        padding: 0.4rem 0.8rem;
        font-size: 1rem;
    }

    .upi-pay-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .btn-icon {
        font-size: 1.5rem;
    }

    .btn-text {
        font-size: 0.9rem;
    }

    .proceed-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

    /* Form */
    .form-group {
        gap: 0.4rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }

    .submit-order-btn,
    .back-btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Foods */
    .food-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .food-emoji {
        font-size: 1.5rem;
    }

    /* Light Schedule */
    .schedule-item {
        padding: 0.8rem;
    }

    .schedule-item .time,
    .schedule-item .light-type,
    .schedule-item .purpose {
        font-size: 0.9rem;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Lists */
    ul, ol {
        padding-left: 1.2rem;
    }

    li {
        font-size: 0.95rem;
    }

    /* Tables */
    .light-table {
        font-size: 0.85rem;
    }

    .light-table td {
        padding: 0.7rem 0.5rem;
    }

    /* Quote Box */
    .quote-box {
        padding: 1.5rem;
        font-size: 1rem;
    }

    /* Warning Boxes */
    .warning-box,
    .critical-warning,
    .benzodiazepine-info {
        padding: 1rem;
    }

    /* Images */
    .medication-pill-image {
        max-width: 100%;
        height: auto;
    }
}

/* Extra Small Devices (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 1.2rem 0.8rem;
    }

    .nav-logo {
        font-size: 0.8rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .cycle-card,
    .med-card,
    .exercise-card,
    .hygiene-card {
        padding: 1.2rem 0.8rem;
    }
}

/* Landscape Mode on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 100px 20px 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 40px 15px;
    }

    .modal-content {
        max-height: 95vh;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .buy-now-btn,
    .upi-pay-btn,
    .submit-order-btn,
    .proceed-btn,
    .back-btn,
    .btn-start,
    .btn-reset,
    .copy-btn,
    .close-modal,
    .nav-toggle,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .buy-now-btn:hover,
    .upi-pay-btn:hover,
    .submit-order-btn:hover,
    .proceed-btn:hover {
        transform: none;
    }

    /* Improve button feedback */
    .buy-now-btn:active,
    .upi-pay-btn:active,
    .submit-order-btn:active,
    .proceed-btn:active {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Ensure crisp text on retina displays */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .buy-now-btn,
    .modal,
    .back-to-top,
    .hero-scroll {
        display: none;
    }

    body {
        background: white;
    }

    .section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}

/* ============================================
   BREATHING EXERCISES SECTION BACKGROUND
   ============================================ */
#breathing {
    background: url('https://wallpaperaccess.com/full/1245460.jpg') no-repeat center center / cover !important;
    position: relative;
}

#breathing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

#breathing .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   BREATHING EXERCISES
   ============================================ */
.breathing-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.breathing-exercise {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 5px solid var(--accent-color);
}

.breathing-exercise[data-technique="478"],
.breathing-exercise[data-technique="bhramari"],
.breathing-exercise[data-technique="threepart"] {
    background-image: url('https://tse1.explicit.bing.net/th/id/OIP.KWBaayItltT1dU3lxPF6OgHaE8?r=0&rs=1&pid=ImgDetMain&o=7&rm=3');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
}

.breathing-exercise[data-technique="diaphragmatic"] {
    background-image: url('https://news.stjohnwa.com.au/wp-content/uploads/2023/09/microsoftteams-image-10-1-scaled.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
}

.breathing-exercise[data-technique="alternate-nostril"],
.breathing-exercise[data-technique="buteyko"] {
    background-image: url('https://positiveaffirmationscenter.com/wp-content/uploads/2023/12/4-7-8-breathing-technique-image.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
}


.breathing-exercise[data-technique="478"]::before,
.breathing-exercise[data-technique="bhramari"]::before,
.breathing-exercise[data-technique="threepart"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    z-index: 0;
}

.breathing-exercise[data-technique="diaphragmatic"]::before,
.breathing-exercise[data-technique="alternate-nostril"]::before,
.breathing-exercise[data-technique="buteyko"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    z-index: 0;
}


.breathing-exercise[data-technique="478"] .exercise-header,
.breathing-exercise[data-technique="478"] .breathing-visualizer,
.breathing-exercise[data-technique="478"] .breathing-controls,
.breathing-exercise[data-technique="478"] .breathing-steps,
.breathing-exercise[data-technique="478"] .exercise-instructions,
.breathing-exercise[data-technique="bhramari"] .exercise-header,
.breathing-exercise[data-technique="bhramari"] .breathing-visualizer,
.breathing-exercise[data-technique="bhramari"] .breathing-controls,
.breathing-exercise[data-technique="bhramari"] .breathing-steps,
.breathing-exercise[data-technique="bhramari"] .exercise-instructions,
.breathing-exercise[data-technique="threepart"] .exercise-header,
.breathing-exercise[data-technique="threepart"] .breathing-visualizer,
.breathing-exercise[data-technique="threepart"] .breathing-controls,
.breathing-exercise[data-technique="threepart"] .breathing-steps,
.breathing-exercise[data-technique="threepart"] .exercise-instructions,
.breathing-exercise[data-technique="diaphragmatic"] .exercise-header,
.breathing-exercise[data-technique="diaphragmatic"] .breathing-visualizer,
.breathing-exercise[data-technique="diaphragmatic"] .breathing-controls,
.breathing-exercise[data-technique="diaphragmatic"] .breathing-steps,
.breathing-exercise[data-technique="diaphragmatic"] .exercise-instructions,
.breathing-exercise[data-technique="alternate-nostril"] .exercise-header,
.breathing-exercise[data-technique="alternate-nostril"] .breathing-visualizer,
.breathing-exercise[data-technique="alternate-nostril"] .breathing-controls,
.breathing-exercise[data-technique="alternate-nostril"] .breathing-steps,
.breathing-exercise[data-technique="alternate-nostril"] .exercise-instructions,
.breathing-exercise[data-technique="buteyko"] .exercise-header,
.breathing-exercise[data-technique="buteyko"] .breathing-visualizer,
.breathing-exercise[data-technique="buteyko"] .breathing-controls,
.breathing-exercise[data-technique="buteyko"] .breathing-steps,
.breathing-exercise[data-technique="buteyko"] .exercise-instructions {
    position: relative;
    z-index: 1;
}

.breathing-exercise:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.breathing-exercise.wide-card {
    grid-column: span 3;
}

.exercise-header {
    text-align: center;
    margin-bottom: 2rem;
}

.exercise-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.exercise-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.breathing-visualizer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    min-height: 250px;
}

.breathing-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(105, 233, 132, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.breathing-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    opacity: 0.3;
    z-index: -1;
    animation: pulse-ring 2s ease-out infinite;
}

.breathing-circle.active {
    animation: breathe 4s ease-in-out infinite;
}

.breathing-circle.inhale {
    transform: scale(1.3);
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

.breathing-circle.hold {
    transform: scale(1.3);
    background: linear-gradient(135deg, #FF9800, #FFC107);
}

.breathing-circle.exhale {
    transform: scale(1);
    background: linear-gradient(135deg, #2196F3, #03A9F4);
}

.breathing-circle.hum {
    transform: scale(1.2);
    background: linear-gradient(135deg, #9C27B0, #E91E63);
    animation: vibrate 0.5s ease-in-out infinite;
}

.circle-inner {
    text-align: center;
    color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}


.breathing-text {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.breathing-timer {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.breathing-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.btn-start,
.btn-reset {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-start {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    box-shadow: 0 4px 15px rgba(105, 233, 132, 0.4);
}

.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(105, 233, 132, 0.6);
}

.btn-start:active {
    transform: translateY(0);
}

.btn-start.running {
    background: linear-gradient(135deg, #f44336, #e91e63);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.btn-reset {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--text-light);
}

.btn-reset:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.breathing-steps {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.step.active {
    background: white;
    border-left-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.step-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.step-duration {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.exercise-instructions {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.exercise-instructions h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.exercise-instructions ol {
    list-style: none;
    counter-reset: instruction-counter;
}

.exercise-instructions li {
    counter-increment: instruction-counter;
    padding: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.exercise-instructions li::before {
    content: counter(instruction-counter);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

/* ============================================
   BREATHING ANIMATIONS
   ============================================ */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes vibrate {
    0%, 100% {
        transform: scale(1.2) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-2deg);
    }
    75% {
        transform: scale(1.2) rotate(2deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breathing-exercise {
    animation: fadeInUp 0.6s ease backwards;
}

.breathing-exercise:nth-child(1) {
    animation-delay: 0.1s;
}

.breathing-exercise:nth-child(2) {
    animation-delay: 0.2s;
}

.breathing-exercise:nth-child(3) {
    animation-delay: 0.3s;
}

.breathing-exercise:nth-child(4) {
    animation-delay: 0.4s;
}

.breathing-exercise:nth-child(5) {
    animation-delay: 0.5s;
}

.breathing-exercise:nth-child(6) {
    animation-delay: 0.6s;
}

.breathing-exercise:nth-child(7) {
    animation-delay: 0.7s;
}

.breathing-exercise:nth-child(8) {
    animation-delay: 0.8s;
}

/* ============================================
    BUY NOW BUTTONS
    ============================================ */
.buy-now-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(105, 233, 132, 0.4);
}

.buy-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(105, 233, 132, 0.6);
    background: linear-gradient(135deg, #4CAF50, var(--accent-light));
}

.buy-now-btn:active {
    transform: translateY(0);
}

/* ============================================
    ORDER MODAL
    ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-product-name {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.modal-product-name span {
    font-weight: bold;
    color: var(--accent-color);
}

/* ============================================
    ORDER FORM
    ============================================ */
#orderForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--bg-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(105, 233, 132, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-order-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.submit-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.submit-order-btn:active {
    transform: translateY(0);
}

/* ============================================
    PAYMENT SECTION
    ============================================ */
.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
}

.payment-title {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.upi-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.upi-id-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.upi-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.upi-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 1px;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
}

.copy-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.copy-btn:hover {
    background: var(--accent-light);
    transform: scale(1.1);
}

.copy-btn:active {
    transform: scale(0.95);
}

.payment-instruction {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.payment-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.upi-pay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.upi-pay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.upi-pay-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .payment-buttons {
        grid-template-columns: 1fr;
    }
    
    .upi-id-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .upi-number {
        font-size: 1.3rem;
    }
}

/* ============================================
    TWO-STEP MODAL FLOW
    ============================================ */
.step-content {
    animation: fadeIn 0.3s ease;
}

.step-content.hidden {
    display: none;
}

.payment-confirmation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--bg-light);
    text-align: center;
}

.confirmation-text {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.proceed-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    width: 100%;
}

.proceed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.proceed-btn:active {
    transform: translateY(0);
}

.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.back-btn {
    background: white;
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    border: 2px solid var(--bg-light);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.back-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .form-actions {
        grid-template-columns: 1fr;
    }
    
    .back-btn {
        order: 2;
    }
    
    .submit-order-btn {
        order: 1;
    }
}

/* ============================================
    SCREENSHOT UPLOAD SECTION
    ============================================ */
.screenshot-section {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 2px dashed var(--accent-color);
}

.screenshot-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.screenshot-instruction {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1rem;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.file-upload-label:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.file-upload-label:active {
    transform: translateY(0);
}

.upload-icon {
    font-size: 2.5rem;
}

.upload-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-preview {
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--accent-color);
}

.file-preview .file-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
}

.file-preview .remove-file {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.file-preview .remove-file:hover {
    background: #c0392b;
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .screenshot-section {
        padding: 1rem;
    }
    
    .screenshot-title {
        font-size: 1.1rem;
    }
    
    .file-upload-label {
        padding: 1.5rem 1rem;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .upload-text {
        font-size: 0.95rem;
    }
    
    .upload-hint {
        font-size: 0.8rem;
    }
}

/* ============================================
    MODAL ANIMATIONS
    ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   HIGHLIGHT CLASSES FOR TAKEAWAY CARDS
   ============================================ */
.highlight-green {
    background-color: #d4edda;
    color: #ff0000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-warning {
    background-color: #fff3cd;
    color: #ff0000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-info {
    background-color: #d1ecf1;
    color: #ff0000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.highlight-medical {
    background-color: #e2d9f3;
    color: #ff0000;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: bold;
}
