/* ========================================
   eMitra Helpdesk CSS
   Version: 2.0 PRODUCTION READY
   Last Updated: October 6, 2025
   
   Features:
   ✅ 6 Dynamic Themes
   ✅ Fully Responsive
   ✅ Smooth Animations
   ✅ Accessibility Ready
   ✅ Print Optimized
   ✅ Cross-Browser Compatible
======================================== */

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #FF6B35;
    --secondary: #004E89;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --dark: #2C3E50;
    --light: #f8f9fa;
    --white: #ffffff;
    --border: #dee2e6;
}

/* ========================================
   THEME VARIABLES
======================================== */
body {
    --theme-primary: #667eea;
    --theme-secondary: #764ba2;
    font-family: 'Segoe UI', 'Noto Sans Devanagari', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #e0e3e7 !important;
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

/* Theme Classes - 6 Themes */
body.theme-purple {
    --theme-primary: #667eea;
    --theme-secondary: #764ba2;
}

body.theme-blue {
    --theme-primary: #4facfe;
    --theme-secondary: #00f2fe;
}

body.theme-green {
    --theme-primary: #43e97b;
    --theme-secondary: #38f9d7;
}

body.theme-orange {
    --theme-primary: #fa709a;
    --theme-secondary: #fee140;
}

body.theme-red {
    --theme-primary: #f093fb;
    --theme-secondary: #f5576c;
}

body.theme-black {
    --theme-primary: #232526;
    --theme-secondary: #414345;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--theme-primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--theme-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100000;
}

.skip-to-content:focus {
    top: 0;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 60px;
}

/* Logo */
.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.logo-icon {
    animation: logoFloat 3s ease-in-out infinite;
}

/* Professional Logo Styles */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
}

.logo-container {
    width: 45px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FDC830 100%);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    animation: logoFloat 3s ease-in-out infinite, logoPulse 2s infinite;
}

.logo-icon-main {
    color: white;
    font-size: 24px;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    position: relative;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
}

.logo-primary {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 0%, #FDC830 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.logo-secondary {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Logo hover effect */
.logo-link:hover .logo-bg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-icon-main {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu li a {
    color: white !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.nav-menu li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7) !important;
}

.nav-menu li a i {
    font-size: 16px;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.3));
    transition: transform 0.3s;
}

.nav-menu li a:hover i {
    transform: scale(1.2);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* ========================================
   THEME DROPDOWN
======================================== */
.theme-dropdown {
    position: relative;
}

.theme-toggle-btn {
    cursor: pointer;
    user-select: none;
    display: flex !important;
    align-items: center;
}

.theme-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    padding: 12px;
    min-width: 200px;
    z-index: 10000 !important;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.theme-dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInDown 0.3s ease-out;
}

.theme-option {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    background: white;
    color: #333;
    text-align: left;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    transition: all 0.3s;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-option:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    border-color: #e0e0e0;
}

.theme-option.active {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.theme-option.active::after {
    content: '✓';
    margin-left: auto;
    color: #2196f3;
    font-weight: bold;
    font-size: 16px;
}

.theme-preview {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    border: 2px solid white;
    flex-shrink: 0;
}

/* ========================================
   HERO SECTION - FIXED
======================================== */
.hero {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    padding: 35px 20px 50px; /* ✅ Bottom padding बढ़ाया */
    text-align: center;
    color: white;
    position: relative;
    overflow: visible; /* ✅ hidden से visible */
    margin-bottom: -50px; /* ✅ 50px से 0 */
    border: none !important;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath fill='%23e3e4e5' d='M0,0 Q300,80 600,50 T1200,40 L1200,120 L0,120 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    z-index: 1; /* ✅ Add kiya */
}

.hero h1 {
    font-size: 30px;
    margin-top:-25px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative; /* ✅ Add kiya */
    z-index: 2; /* ✅ Add kiya */
}

.hero p {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.95;
    position: relative; /* ✅ Add kiya */
    z-index: 2; /* ✅ Add kiya */
}

/* Search Box - Smaller & Compact */
.search-box {
    max-width: 480px; /* ✅ 550px se 480px */
    margin: 0 auto;
    display: flex !important;
    gap: 6px; /* ✅ 8px se 6px */
    background: #ffffff !important;
    padding: 4px; /* ✅ 6px se 4px */
    border-radius: 40px; /* ✅ 50px se 40px */
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* ✅ Shadow kam */
    position: relative;
    z-index: 100;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 15px; /* ✅ 10px 18px se 8px 15px */
    font-size: 13px; /* ✅ 14px se 13px *//
    border-radius: 40px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: #333 !important;
    background: #ffffff !important;
}

.search-box input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.search-box button {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: gold !important;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(250, 112, 154, 0.4);
}

.search-box button i {
    font-size: 14px;
}

/* Theme-Specific Hero Colors */
body.theme-purple .hero,
body.theme-blue .hero,
body.theme-red .hero,
body.theme-black .hero {
    color: #ffffff !important;
}

body.theme-purple .hero h1,
body.theme-blue .hero h1,
body.theme-red .hero h1,
body.theme-black .hero h1,
body.theme-purple .hero p,
body.theme-blue .hero p,
body.theme-red .hero p,
body.theme-black .hero p {
    color: #ffffff !important;
}

body.theme-green .hero,
body.theme-orange .hero {
    color: #1a1a1a !important;
}

body.theme-green .hero h1,
body.theme-orange .hero h1,
body.theme-green .hero p,
body.theme-orange .hero p {
    color: #2d2d2d !important;
}

/* Mobile Responsive - FIXED */
@media (max-width: 768px) {
    .hero {
        padding: 25px 15px 60px;
    }

    .hero h1 {
        font-size: 24px;
        flex-direction: column;
        gap: 8px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    /* ✅ Search box ko horizontal रखा */
    .search-box {
        flex-direction: row !important; /* ✅ column से row */
        max-width: 95%;
        padding: 5px;
        border-radius: 25px;
        gap: 5px;
    }
    
    .search-box input {
        flex: 1; /* ✅ Auto width */
        width: auto !important; /* ✅ 70% हटाया */
        border-radius: 25px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .search-box button {
        width: auto !important; /* ✅ 20% हटाया */
        flex-shrink: 0; /* ✅ Button compress नहीं होगा */
        border-radius: 25px;
        padding: 10px 18px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .search-box button i {
        display: none; /* ✅ Mobile पर icon hide */
    }
}

/* Extra Small Mobile (320px-480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 12px;
    }
    
    .search-box {
        max-width: 98%;
        padding: 4px;
    }
    
    .search-box input {
        padding: 9px 12px;
        font-size: 12px;
    }
    
    .search-box button {
        padding: 9px 15px;
        font-size: 12px;
    }
}


/* Theme-Specific Hero Colors */
body.theme-purple .hero,
body.theme-purple .hero h1,
body.theme-purple .hero p {
    color: #ffffff !important;
}

body.theme-blue .hero,
body.theme-blue .hero h1,
body.theme-blue .hero p {
    color: #ffffff !important;
}

body.theme-green .hero,
body.theme-green .hero h1,
body.theme-green .hero p {
    color: #1a1a1a !important;
}

body.theme-orange .hero,
body.theme-orange .hero h1,
body.theme-orange .hero p {
    color: #2d2d2d !important;
}

body.theme-red .hero,
body.theme-red .hero h1,
body.theme-red .hero p {
    color: #ffffff !important;
}

body.theme-black .hero,
body.theme-black .hero h1,
body.theme-black .hero p {
    color: #ffffff !important;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    background: white;
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 50px;
    outline: none;
    color: #333 !important;
    background: white !important;
}

.search-box input::placeholder {
    color: #999 !important;
    opacity: 1;
}

.search-box button {
    background: linear-gradient(135deg, var(--primary), #F7931E);
    color: white !important;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    padding: 50px 20px;
    background: #e3e4e5 !important;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--dark);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    will-change: transform;
}

.service-card i {
    font-size: 45px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Colorful Gradient Icons */
.service-card:nth-child(1) i { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(2) i { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(3) i { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(4) i { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(5) i { 
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card:nth-child(6) i { 
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    font-size: 19px;
    margin: 12px 0;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 500;
}

.service-card .btn {
    background: linear-gradient(135deg, var(--primary), #F7931E);
    color: white;
    padding: 9px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.service-card .btn i {
    font-size: 12px;
    margin-left: 5px;
    background: none;
    -webkit-text-fill-color: white;
}

.service-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* ========================================
   BLOG SECTION
======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    padding: 20px;
    will-change: transform;
}

.blog-card h3 {
    font-size: 18px;
    margin: 10px 0;
    color: var(--dark);
}

.blog-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-card .btn {
    padding: 8px 18px;
    font-size: 13px;
}

.blog-card .btn i {
    font-size: 11px;
}

/* ========================================
   VISITOR COUNTER
======================================== */
.fixed-visitor-counter {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)) !important;
    color: white !important;
    padding: 15px 25px !important;
    border-radius: 35px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3) !important;
    z-index: 9998 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    animation: slideInUp 0.5s ease-out !important;
    transition: background 0.5s ease !important;
}

.fixed-visitor-counter i {
    font-size: 18px !important;
    animation: pulse 2s infinite !important;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: #2C3E50;
    color: white;
    padding: 40px 20px 20px;
    transition: background 0.5s ease !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff !important;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-section ul li a:hover {
    color: #FF6B35 !important;
    transform: translateX(3px);
}

.footer-section ul li a i {
    color: rgba(255,255,255,0.85) !important;
}

/* Social Media Icons */
.footer-section a[href*="facebook"],
.footer-section a[href*="twitter"],
.footer-section a[href*="instagram"],
.footer-section a[href*="youtube"] {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s;
}

.footer-section a[href*="facebook"]:hover { background: #1877f2; }
.footer-section a[href*="twitter"]:hover { background: #1da1f2; }
.footer-section a[href*="instagram"]:hover { background: #e4405f; }
.footer-section a[href*="youtube"]:hover { background: #ff0000; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 30px;
}

.footer-bottom p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 14px;
    margin: 5px 0;
}

.footer-bottom a {
    color: #FF6B35 !important;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-section i.fas,
.footer-section i.fa {
    color: #FF6B35 !important;
    margin-right: 8px;
    font-size: 16px;
}

/* Theme-Based Footer Colors */
body.theme-purple .footer { background: #2C3E50 !important; }
body.theme-blue .footer { background: #1e3a8a !important; }
body.theme-green .footer { background: #065f46 !important; }
body.theme-orange .footer { background: #9a3412 !important; }
body.theme-red .footer { background: #991b1b !important; }
body.theme-black .footer { background: #000000 !important; }

/* ========================================
   ANIMATIONS
======================================== */
@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(2deg); 
    }
}

@keyframes logoPulse {
    0%, 100% { 
        box-shadow: 0 5px 20px rgba(255,107,53,0.4);
    }
    50% { 
        box-shadow: 0 8px 30px rgba(255,107,53,0.6);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100px);
        opacity: 0;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

button:active,
.btn:active {
    transform: scale(0.98);
}

/* ========================================
   CONTENT PROTECTION
======================================== */
img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.navbar,
.mobile-toggle,
.logo,
button {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.service-card p,
.blog-card p,
.hero p,
.footer p {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--theme-primary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-dropdown-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 220px;
    }
    
    .theme-dropdown-menu.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .fixed-visitor-counter {
        bottom: 10px !important;
        right: 10px !important;
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
    
    .fixed-visitor-counter i {
        font-size: 14px !important;
    }
}

/* ========================================
   HOVER STATES (Desktop only)
======================================== */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover,
    .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .service-card:hover {
        border-color: var(--primary);
    }
}

/* Touch Devices */
@media (hover: none) {
    .service-card:hover,
    .blog-card:hover {
        transform: none;
    }
    
    .service-card:active,
    .blog-card:active {
        transform: scale(0.98);
    }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .navbar,
    .mobile-toggle,
    .search-box,
    .fixed-visitor-counter,
    .theme-dropdown {
        display: none !important;
    }
    
    .service-card,
    .blog-card {
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}

/* ========================================
   END OF CSS
======================================== */
