/* This file contains the main styles for the website, including layout, typography, and responsive design rules to ensure compatibility with all browsers on PC and mobile. */

:root {
    --primary-color: #cc0000;
    --secondary-color: #1e4d87;
    --accent-color: #5c9ce5;
    --background-gradient: linear-gradient(135deg, #1e4d87 0%, #5c9ce5 50%, #a8d0ff 100%);
    --text-light: #ffffff;
    --text-dark: #333333;
    --border-radius: 8px;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background: url('/assets/images/swimming-pool-beach-view.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
}

/* Add overlay for better text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* Performance optimizations */
img {
    max-width: 100%;
    height: auto;
}

.lazy {
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lazy.loaded {
    opacity: 1;
}

/* Enhanced focus states for accessibility */
*:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.focused {
    box-shadow: 0 0 0 3px var(--accent-color);
}

/* Back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all var(--transition-fast);
    box-shadow: var(--box-shadow);
}

.back-to-top-btn:hover {
    background: #aa0000;
    transform: translateY(-2px);
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1001;
    text-align: center;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: #aa0000;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

/* Form enhancements */
.error {
    border: 2px solid #ff4444 !important;
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.3);
}

.error-message {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

/* Loading states */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Skeleton loading placeholders */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Analytics Dashboard Styles */
.analytics-dashboard {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform var(--transition-fast);
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #ffffff;
    opacity: 0.9;
}

.metric-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0;
}

.metric-change {
    font-size: 0.9em;
    margin-top: 5px;
}

.metric-change.positive {
    color: #4caf50;
}

.metric-change.negative {
    color: #f44336;
}

.metric-change.neutral {
    color: #ffffff;
    opacity: 0.7;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    text-align: center;
}

.chart-container canvas {
    max-height: 300px;
}

.insights-section {
    margin: 40px 0;
}

.insights-section h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8em;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.insight-card {
    background: rgba(204, 0, 0, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.insight-card h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
}

.insight-card p {
    margin: 0;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
}

/* Mobile responsiveness for analytics */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-container canvas {
        max-height: 250px;
    }
    
    .metric-value {
        font-size: 2em;
    }
}

/* Skin Types Page Styles */
.skin-types-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.skin-types-container h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5em;
}

.intro-text {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Quiz Progress */
.quiz-progress {
    margin-bottom: 30px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-dark);
    font-size: 0.9em;
}

/* Questionnaire Styles */
.questionnaire-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.questionnaire-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.skin-quiz-form {
    max-width: 800px;
    margin: 0 auto;
}

.question-group {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.question-group h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.1em;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    color: var(--text-dark);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color var(--transition-fast);
}

.radio-group label:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
    accent-color: var(--primary-color);
}

.quiz-submit-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quiz-submit-btn:hover {
    background: #aa0000;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Results Section */
.results-section {
    margin: 40px 0;
}

.results-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.result-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8em;
}

.risk-badge {
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.session-time {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color) !important;
}

.safety-list {
    color: var(--text-dark);
    padding-left: 20px;
    margin: 0;
}

.safety-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.result-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 25px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.disclaimer {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.disclaimer h4 {
    color: #ffc107;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95em;
}

/* Skin Types Information Cards */
.skin-types-info {
    margin: 50px 0;
}

.skin-types-info h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.skin-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skin-type-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border-left: 5px solid var(--primary-color);
    transition: transform var(--transition-fast);
}

.skin-type-card:hover {
    transform: translateY(-5px);
}

.skin-type-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.skin-type-card.type-1 { border-left-color: #ff4444; }
.skin-type-card.type-2 { border-left-color: #ff8800; }
.skin-type-card.type-3 { border-left-color: #ffaa00; }
.skin-type-card.type-4 { border-left-color: #88cc00; }
.skin-type-card.type-5 { border-left-color: #44aa44; }
.skin-type-card.type-6 { border-left-color: #228844; }

.characteristics p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 10px;
}

.characteristics strong {
    color: var(--accent-color);
}

/* Safety Section */
.safety-section {
    margin: 50px 0;
}

.safety-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.safety-warnings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.warning-box i {
    font-size: 2em;
    color: #ffc107;
    margin-bottom: 15px;
}

.warning-box h3 {
    color: #ffc107;
    margin-bottom: 10px;
}

.warning-box p {
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    background: rgba(204, 0, 0, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 40px 0;
    border: 1px solid var(--primary-color);
}

.contact-cta h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-cta p {
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .skin-types-container {
        padding: 15px;
    }
    
    .skin-types-container h1 {
        font-size: 2em;
    }
    
    .questionnaire-section {
        padding: 20px;
    }
    
    .question-group {
        padding: 15px;
    }
    
    .result-header {
        flex-direction: column;
        text-align: center;
    }
    
    .skin-type-cards {
        grid-template-columns: 1fr;
    }
    
    .safety-warnings {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

header {
    color: white;
    padding: 10px 0;
    text-align: center;
}

.site-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    /* Remove or comment out any background-color property */
    border-radius: 8px;
}

.banner {
    flex: 1;
    text-align: right;
}

.banner img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(250, 235, 215, 0.85); /* Match nav background */
    backdrop-filter: blur(3px); /* Match nav blur effect */
    padding: 10px; /* Add some padding around the image */
    cursor: pointer; /* Indicate it's clickable */
    transition: all 0.3s ease; /* Smooth hover effect */
}

.banner img:hover {
    transform: scale(1.05); /* Slight scale on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.main-content {
    padding: 20px;
    text-align: center;
}

.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu-item {
    margin: 10px;
    padding: 15px;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background 0.3s;
}

.menu-item:hover {
    background: #e2e2e2;
}

.logo {
    position: relative;
    padding: 20px;
    border-radius: 15px;
    overflow: hidden;  /* This ensures the background respects the border-radius */
}

.logo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/swimming-pool-beach-view.jpg');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
    border-radius: 15px;  /* Match parent's border-radius */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);  /* Optional: adds subtle shadow */
}

.logo-content {
    position: relative;
    z-index: 2;
}

.logo-text {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000;
}

.logo-tagline {
    font-size: 1.2em;
    color: #ffffff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.contact-info {
    flex: 1;
    text-align: center;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    color: #ffffff;
    margin: 10px 0;
    font-size: 1.1em;
}

.contact-info a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #a8d0ff;
}

.main-text {
    padding: 30px;
    margin: 20px auto;
    background-color: rgba(250, 235, 215, 0.85);  /* FAEBD7 with 85% opacity - more transparent */
    border-radius: 8px;
    max-width: 1500px;
    line-height: 1.5;
    backdrop-filter: blur(3px); /* Slightly more blur effect */
}

.main-text p {
    color: #333;
    text-align: left;
    margin-bottom: 20px;
    font-size: 0.95em;  /* Reduced from default */
}

.service-area, h2 {
    color: #cc0000;
    text-align: center;
    font-weight: 600;
}

.service-area {
    font-size: 1.6em;  /* Reduced from 1.8em */
    margin-bottom: 25px;
}

.sunbed-hire-area, h2 {
    color: #cc0000;
    text-align: center;
    font-weight: 600;
}

.sunbed-hire-area {
    font-size: 1.6em;  /* Reduced from 1.8em */
    margin-bottom: 25px;
}

h2 {
    font-size: 1.3em;  /* Reduced from 1.5em */
    margin: 20px 0;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.image-gallery img {
    width: calc(33.333% - 14px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.therapy-footer {
    background-color: rgba(250, 235, 215, 0.85);  /* FAEBD7 with 85% opacity - more transparent */
    padding: 20px;
    margin: 40px auto 20px auto;
    max-width: 1200px;
    border-radius: 8px;
    backdrop-filter: blur(3px); /* Slightly more blur effect */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.therapy-footer p {
    color: #cc0000;  /* Changed to red */
    font-size: 1.1em;  /* Reduced from 1.2em */
    margin: 0;
    flex: 1;
    text-align: center;
}

.terms-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9em;
    margin-left: 20px;
    white-space: nowrap;
}

.terms-link:hover {
    text-decoration: underline;
}

/* For mobile devices */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .therapy-footer p {
        text-align: center;
    }
    
    .terms-link {
        margin-left: 0;
    }
}

/* CSS for terms page */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.terms-content h1 {
    color: #cc0000;
    text-align: center;
    margin-bottom: 30px;
}

.terms-content h2 {
    color: #cc0000;
    border-bottom: 2px solid #cc0000;
    padding-bottom: 5px;
    margin-top: 30px;
}

.terms-content h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 10px;
}

.terms-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-details {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 1;
    padding-right: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin: 15px 0;
    font-size: 0.95em;  /* Reduced from 1.1em */
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details i {
    color: #cc0000;
    width: 20px;
}

/* WhatsApp link in contact details - make text green */
.contact-details .whatsapp-float {
    color: #25D366 !important;
    text-decoration: none;
}

.contact-details .whatsapp-float:hover {
    color: #128C7E !important;
    text-decoration: underline;
}

/* Navigation WhatsApp link styling */
.contact-info .whatsapp-float {
    color: #25D366 !important;
    text-decoration: none;
}

.contact-info .whatsapp-float:hover {
    color: #128C7E !important;
    text-decoration: underline;
}

/* Enquire Now Button Styling */
.enquire-button {
    display: inline-block;
    background-color: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
    font-size: 0.9rem;
}

.enquire-button:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white !important;
    text-decoration: none;
}

.enquire-button i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.contact-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-gallery img {
    width: 100%;  /* Reduced from 100% to 80% */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;  /* Center the images */
}

.contact-gallery img:hover {
    transform: scale(1.0);
}
.three-photo-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.three-photo-gallery  img {
    width: 60%;  /* Reduced from 100% to 60% */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0 auto;  /* Center the images */
}

.three-photo-gallery  img:hover {
    transform: scale(1.02);
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000; /* Higher than navigation (1003) to ensure modal appears above everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

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

/* Animation */
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* Add dropdown indicator */
    .dropdown-toggle:after {
        content: '▼';
        margin-left: 5px;
        display: inline-block;
        transition: transform 0.3s;
    }

    .dropdown.active .dropdown-toggle:after {
        transform: rotate(180deg);
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo, .contact-info, .banner {
        margin: 10px 0;
    }

    .banner img {
        max-width: 100%;
    }

    .service-area {
        font-size: 1.3em;  /* Reduced from 1.4em */
    }
    
    .sunbed-hire-area {
        font-size: 1.3em;  /* Reduced from 1.4em */
    }  
    
    h2 {
        font-size: 1.1em;  /* Reduced from 1.2em */
    }

    .main-text p {
        font-size: 0.9em;  /* Slightly smaller on mobile */
    }

    .image-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .image-gallery img {
        width: 100%;
    }

    .site-wrapper {
        padding: 0 20px;
    }

    .contact-layout {
        flex-direction: column;
    }

    .contact-info {
        padding-right: 0;
    }

    .contact-gallery {
        margin-top: 30px;
    }

    .logo {
        min-height: 150px;
        border-radius: 12px;  /* Slightly smaller radius on mobile */
    }

    .logo-background {
        border-radius: 12px;
    }
}

@media (max-width: 600px) {
    .menu {
        flex-direction: column;
    }

    .menu-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .site-wrapper {
        padding: 0 10px;
    }
}

.home-sunbed-hire-service-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
    text-align: left;
}

.home-sunbed-hire-service-list li {
    color: #333;
    margin: 10px 0;
    font-size: 0.95em;
    text-align: left;
}

.sunbed-hire-product-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.sunbed-hire-product-container {
    display: flex;
    background: #FAEBD7;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1450px;
    margin: 0 auto;
}

.sunbed-hire-product-content {
    flex: 1;
    padding-right: 30px;
}

.sunbed-hire-product-content h2 {
    color: #cc0000;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.sunbed-hire-product-content h3 {
    color: #000000;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.sunbed-hire-feature-list {
    list-style-type: disc !important;
    padding-left: 20px;
    margin-left: 0;
}

.sunbed-hire-feature-list li {
    margin: 10px 0;
    color: #333;
    font-size: 0.95em;  /* Match paragraph text size */
    list-style: disc !important;
}

.sunbed-hire-product-images {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    padding-bottom: 50px; /* Space for button */
}

.sunbed-hire-product-images img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.sunbed-hire-order-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #cc0000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.sunbed-hire-order-btn:hover {
    background: #990000;
}

.sunbed-hire-product-divider {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sunbed-hire-product-container {
        flex-direction: column;
    }

    .sunbed-hire-product-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .sunbed-hire-product-images {
        width: 100%;
        padding-bottom: 60px;
    }

    .sunbed-hire-product-images img {
        max-height: 200px;
    }
}

/* Price comparison table styles */
.price-comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.sunbed-price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sunbed-price-table th {
    background: #cc0000;
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
}

.sunbed-price-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #333;
}

.sunbed-price-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.sunbed-price-table tr:hover {
    background-color: #f0f0f0;
}

.sunbed-price-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.price-order-btn {
    background: #cc0000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.3s;
}

.price-order-btn:hover {
    background: #990000;
}

.price-notes {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 4px solid #cc0000;
}

.price-notes h3 {
    color: #cc0000;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.price-notes ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.price-notes li {
    color: #333;
    margin: 8px 0;
    font-size: 0.9em;
}

.price-error-message {
    margin: 20px 0;
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}

.price-error-message p {
    margin: 0;
    font-size: 0.9em;
}

.development-notice {
    margin: 20px 0;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
}

.development-notice p {
    margin: 0;
    font-size: 0.9em;
}

/* Mobile responsive for price table */
@media (max-width: 768px) {
    .sunbed-price-table {
        font-size: 0.8em;
    }
    
    .sunbed-price-table th,
    .sunbed-price-table td {
        padding: 8px 5px;
    }
    
    .price-order-btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }
}

/* Admin Panel Styles */
.admin-login {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form label {
    color: #333;
    font-weight: 500;
}

.login-form input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.login-form input:focus {
    outline: none;
    border-color: #cc0000;
}

.admin-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* Admin Tab Styles */
.admin-tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #666;
}

.tab-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.tab-btn.active {
    color: #cc0000;
    border-bottom-color: #cc0000;
    background: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s;
}

.logout-btn {
    background: #666;
    color: white;
}

.logout-btn:hover {
    background: #555;
}

.save-btn {
    background: #28a745;
    color: white;
    margin-right: 10px;
}

.save-btn:hover {
    background: #218838;
}

.reset-btn {
    background: #dc3545;
    color: white;
}

.reset-btn:hover {
    background: #c82333;
}

.price-editor {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.price-editor h3 {
    color: #cc0000;
    margin-bottom: 25px;
    font-size: 1.3em;
}

.sunbed-editor {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    background: #f9f9f9;
}

.sunbed-editor h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.sunbed-details {
    margin-bottom: 15px;
}

.detail-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.detail-group label {
    min-width: 120px;
    color: #555;
    font-weight: 500;
}

.tanning-time {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 150px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-item label {
    color: #555;
    font-weight: 500;
    font-size: 0.9em;
}

.price-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.price-input:focus {
    outline: none;
    border-color: #cc0000;
}

/* Sales Price Editor Specific Styles */
.sales-detail-group {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.sales-detail-group label {
    color: #555;
    font-weight: 500;
}

.sales-detail-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.sales-detail-input:focus {
    outline: none;
    border-color: #cc0000;
}

.sales-price-input {
    font-weight: bold;
    color: #cc0000;
}

.save-controls {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.error-message {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 10px;
}

.success-message {
    color: #28a745;
    font-size: 0.9em;
    font-weight: 500;
}

/* Admin Message Styles */
#message-container {
    margin: 20px 0;
    min-height: 30px;
}

.message {
    padding: 12px 20px;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

/* Admin Table Styles */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tbody tr:hover {
    background-color: #f5f5f5;
}

.admin-table input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.admin-table input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

/* Make Sunbed Type text black in admin tables */
.admin-table tbody tr td:first-child {
    color: #000 !important;
    font-weight: 600;
}

#hire-prices-table tbody tr td:first-child,
#sales-prices-table tbody tr td:first-child {
    color: #000 !important;
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Mobile responsive for admin panel */
@media (max-width: 768px) {
    .admin-login {
        margin: 20px auto;
        padding: 20px;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
        text-align: left;
    }
    
    .tab-btn.active {
        border-right-color: #cc0000;
        border-bottom: none;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
    
    .sales-detail-group {
        grid-template-columns: 1fr;
    }
    
    .save-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Order Page Styles */
.order-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #eee;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    margin: 0 10px;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.step.active {
    background: #cc0000;
    color: white;
}

.step.completed {
    background: #28a745;
    color: white;
}

.step i {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.step span {
    font-size: 0.9em;
    font-weight: 500;
}

.order-form {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-step {
    display: none;
}

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

.order-step h3 {
    color: #cc0000;
    margin-bottom: 25px;
    font-size: 1.4em;
}

/* Step 1: Sunbed Selection */
.sunbed-selection {
    margin-bottom: 25px;
}

.sunbed-selection label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.sunbed-selection select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    background: white;
}

.sunbed-selection select:focus {
    outline: none;
    border-color: #cc0000;
}

.selected-sunbed-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #cc0000;
    margin-top: 20px;
}

.selected-sunbed-info h4 {
    color: #cc0000;
    margin-bottom: 15px;
}

.selected-sunbed-info p {
    margin: 8px 0;
    color: #333;
}

/* Step 2: Duration Selection */
.duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.duration-option {
    border: 2px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
    cursor: pointer;
}

.duration-option:hover {
    border-color: #cc0000;
}

.duration-option.selected {
    border-color: #cc0000;
    background: #fff5f5;
}

.duration-option input[type="radio"] {
    display: none;
}

.duration-option label {
    display: block;
    padding: 20px;
    cursor: pointer;
    text-align: center;
}

.duration-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.duration-price {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #cc0000;
}

.price-display {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
}

.price-display h4 {
    color: #cc0000;
    font-size: 1.3em;
    margin: 0;
}

/* Step 3: Customer Form */
.customer-form {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #cc0000;
}

.form-group input.error {
    border-color: #dc3545;
    background: #fff5f5;
}

/* Step 4: Order Summary */
.order-summary {
    margin-bottom: 25px;
}

.summary-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.summary-section h4 {
    color: #cc0000;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.summary-section p {
    margin: 8px 0;
    color: #333;
}

.terms-section {
    padding: 20px;
    background: #fff3cd;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.2);
}

/* Order Buttons */
.order-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-btn, .confirm-btn {
    background: #cc0000;
    color: white;
}

.next-btn:hover, .confirm-btn:hover {
    background: #990000;
}

.prev-btn {
    background: #6c757d;
    color: white;
    margin-right: 15px;
}

.prev-btn:hover {
    background: #545b62;
}

.order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.step-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Loading Message */
.loading-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loading-message i {
    font-size: 3em;
    color: #cc0000;
    margin-bottom: 20px;
}

.loading-message p {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

/* Mobile Responsive for Order Page */
@media (max-width: 768px) {
    .order-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .step {
        margin: 5px;
        padding: 10px 15px;
    }
    
    .step i {
        font-size: 1.2em;
        margin-bottom: 5px;
    }
    
    .step span {
        font-size: 0.8em;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .duration-options {
        grid-template-columns: 1fr;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-btn {
        width: 100%;
        margin-right: 0 !important;
    }
    
    .prev-btn {
        order: 2;
    }
}

@media (max-width: 480px) {
    .order-container {
        margin: 0 10px;
    }
    
    .order-form {
        padding: 15px;
    }
    
    .order-step h3 {
        font-size: 1.2em;
    }
}

/* Tanning Products Page Styles */
.tanning-product-container {
    display: flex;
    background: #FAEBD7;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1450px;
    margin: 0 auto 20px auto;
    align-items: center;
}

.tanning-product-image {
    flex: 0 0 120px;
    margin-right: 25px;
    width: 120px;
}

.tanning-product-image img {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: transparent;
    display: block;
}

.tanning-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tanning-product-content h3 {
    color: #000000;
    margin: 0 0 15px 0;
    font-size: 1.1em;
    font-weight: 700;
}

.tanning-product-content p {
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 0.95em;
}

.product-price {
    color: #cc0000 !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    margin-top: auto !important;
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.contact-cta p {
    margin: 10px 0;
    font-size: 1.1em;
}

/* Mobile responsive for tanning products */
@media (max-width: 768px) {
    .tanning-product-container {
        flex-direction: column;
        padding: 20px;
    }

    .tanning-product-image {
        flex: none;
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    .tanning-product-image img {
        width: 100px;
        height: 100px;
    }

    .tanning-product-content h3 {
        font-size: 1.1em;
    }

    .tanning-product-content p {
        font-size: 0.95em;
    }

    .product-price {
        font-size: 1.1em !important;
    }
}

@media (max-width: 480px) {
    .tanning-product-container {
        padding: 15px;
        margin: 0 0 15px 0;
    }

    .tanning-product-image img {
        width: 90px;
        height: 90px;
    }

    .contact-cta {
        padding: 20px;
    }
}

/* Red Light Uses Page Styles */
.redlight-uses-layout {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    align-items: flex-start;
}

.redlight-uses-content {
    flex: 1;
    padding-right: 20px;
}

.redlight-slideshow {
    flex: 1;
    max-width: 500px;
}

.slideshow-container {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 500;
}

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

.slide-nav:hover {
    background: rgba(0,0,0,0.8);
}

.slide-nav.prev {
    left: 10px;
}

.slide-nav.next {
    right: 10px;
}

.slide-indicators {
    text-align: center;
    padding: 15px;
    background: white;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #cc0000;
}

.redlight-middle-content {
    margin: 40px 0;
    text-align: center;
}

.redlight-middle-content p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1em;
    line-height: 1.6;
}

.redlight-bottom-image {
    text-align: center;
    margin: 40px 0;
}

.redlight-bottom-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Mobile responsive for red light uses page */
@media (max-width: 768px) {
    .redlight-uses-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .redlight-uses-content {
        padding-right: 0;
    }
    
    .redlight-slideshow {
        max-width: 100%;
    }
    
    .slide img {
        height: 250px;
    }
    
    .redlight-middle-content p {
        font-size: 0.95em;
        padding: 0 10px;
    }
}

/* How It Works Page Styles */
.how-it-works-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
}

.how-it-works-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.how-it-works-image img:hover {
    transform: scale(1.02);
}

/* Mobile responsive for how it works page */
@media (max-width: 768px) {
    .how-it-works-image {
        margin-top: 30px;
        order: 2;
    }
    
    .how-it-works-image img {
        max-width: 100%;
    }
}