:root {
    --primary-red: #e60012;
    --dark-red: #cc0010;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Header Improvements */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(0,0,0,0.98);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.logo::before {
    content: "";
    width: 40px;
    height: 40px;
    background-image: url('./userpage/Pics/327336510_1387372982079733_4073025529741406796_n-removebg-preview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 8px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-red);
}

nav a:hover::after {
    width: 100%;
}

/* Active page indicator */
nav a.active {
    color: var(--primary-red);
}

nav a.active::after {
    width: 100%;
    background: var(--primary-red);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Enhanced Slideshow */
.slideshow-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(230,0,18,0.3));
}

.slide-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    animation: slideUp 1s ease-out;
}

.slide-overlay h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-overlay p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

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

/* Navigation Dots */
.slideshow-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.slideshow-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slideshow-nav button.active {
    background: var(--primary-red);
    transform: scale(1.2);
}

.slideshow-nav button:hover {
    background: rgba(255,255,255,0.8);
}

/* Slide Arrows */
.slide-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 100;
}

.slide-arrows button {
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-arrows button:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

/* Hero Section Improvements */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0fe 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(230,0,18,0.1)"/><circle cx="80" cy="80" r="3" fill="rgba(230,0,18,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(230,0,18,0.1)"/></svg>') repeat;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-dark), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn i {
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(5px);
}

/* Services Preview */
.services-preview {
    padding: 80px 20px;
    background: var(--white);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(230,0,18,0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer Improvements */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-red);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
button:focus,
a:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.auth-status {
    position: relative;
}

.auth-status.logged-in {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-status.logged-out {
    display: block;
}

.user-greeting {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-greeting .user-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.login-link {
    background: var(--primary-red, #e60012);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-link:hover {
    background: var(--dark-red, #cc0010);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}

.auth-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-red, #e60012);
    transform: translateX(5px);
}

.dropdown-menu .divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

.dashboard-header-updated {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(51, 51, 51, 0.8));
    backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dashboard-header-updated .header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header-updated .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-red, #e60012), #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: capitalize;
}

.logout-btn {
    background: var(--primary-red, #e60012);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    background: var(--dark-red, #cc0010);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.login-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--primary-red);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.login-options {
    display: grid;
    gap: 1rem;
}

.login-option {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.login-option:hover {
    border-color: var(--primary-red);
    background: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.login-option-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.login-option:hover .login-option-icon {
    transform: scale(1.1);
}

.login-option h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.login-option p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Override any auth-status styling */
.auth-status {
    position: relative;
    display: block;
}

/* Style for the permanent login link */
nav .login-link {
    background: var(--primary-red);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

nav .login-link:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
    color: white !important;
}

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

/* Hide any dropdown menus */
.dropdown-menu {
    display: none !important;
}

/* Hide user greeting */
.user-greeting {
    display: none !important;
}

/* ============================================ */
/* ENHANCED MOBILE RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet and Mobile - 768px and below */
@media (max-width: 768px) {
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Navigation Menu */
    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.98);
        flex-direction: column;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav a {
        display: block;
        padding: 1rem;
    }

    /* Header adjustments */
    .header-content {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo::before {
        width: 32px;
        height: 32px;
    }

    /* Slideshow optimizations */
    .slideshow-container {
        height: 60vh;
        min-height: 400px;
    }

    .slide-overlay {
        padding: 1rem;
    }

    .slide-overlay h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

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

    .slide-arrows {
        padding: 0 10px;
    }

    .slide-arrows button {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slideshow-nav {
        bottom: 15px;
        gap: 10px;
    }

    .slideshow-nav button {
        width: 10px;
        height: 10px;
    }

    /* Hero section */
    .hero {
        padding: 60px 15px 50px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    /* Button */
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Services section */
    .services-preview {
        padding: 50px 15px;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .copyright {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }

    /* Auth Status Mobile */
    .auth-status.logged-in {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .user-greeting {
        justify-content: center;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .user-greeting .user-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .dashboard-header-updated .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .user-controls {
        width: 100%;
        justify-content: space-between;
    }

    .login-link {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }

    .dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 90%;
        max-width: 280px;
    }

    .dropdown-menu.show {
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-menu a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Login Modal Mobile */
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: 95%;
        max-width: none;
    }

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

    .modal-header p {
        font-size: 0.8rem;
    }

    .login-options {
        gap: 0.75rem;
    }

    .login-option {
        padding: 1.25rem;
    }

    .login-option-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .login-option h3 {
        font-size: 1rem;
    }

    .login-option p {
        font-size: 0.8rem;
    }

    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
        top: 0.75rem;
        right: 0.75rem;
    }

    /* Login Nav Link Mobile */
    nav .login-link {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        margin: 0.5rem 0;
    }

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

/* Small Mobile Devices - 480px and below */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    .logo::before {
        width: 28px;
        height: 28px;
    }

    .slideshow-container {
        height: 50vh;
        min-height: 350px;
    }

    .slide-overlay h2 {
        font-size: 1.25rem;
    }

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

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

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

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .login-option {
        padding: 1rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .slideshow-container {
        height: 80vh;
    }

    .slide-overlay h2 {
        font-size: 1.3rem;
    }

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

    .hero {
        padding: 50px 15px 40px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap targets for better mobile UX */
    nav a {
        padding: 1.2rem;
    }

    .slideshow-nav button {
        width: 14px;
        height: 14px;
    }

    .slide-arrows button {
        width: 44px;
        height: 44px;
    }

    .btn {
        min-height: 44px;
    }

    .login-link {
        min-height: 44px;
    }

    .modal-close {
        min-width: 44px;
        min-height: 44px;
    }
}