/* Dark Mode Stylesheet - Enhanced for Complete Website */
html[data-theme="dark"] {
    color-scheme: dark;
}

html[data-theme="dark"] body {
    background: #0f172a;
    color: #e2e8f0;
}

/* ===== TYPOGRAPHY ===== */
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, 
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 {
    color: #e2e8f0;
}

html[data-theme="dark"] p, html[data-theme="dark"] span, html[data-theme="dark"] li, 
html[data-theme="dark"] label, html[data-theme="dark"] div {
    color: #cbd5e1;
}

/* ===== NAVIGATION ===== */
html[data-theme="dark"] nav {
    background: rgba(15, 23, 42, 0.98);
    border-bottom-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .nav-logo-text {
    color: #06b6d4;
}

html[data-theme="dark"] .nav-links a {
    color: #cbd5e1;
}

html[data-theme="dark"] .nav-links a:hover {
    color: #06b6d4;
}

html[data-theme="dark"] .nav-btn {
    color: #06b6d4;
    border-color: #06b6d4;
}

html[data-theme="dark"] .nav-btn:hover {
    background: rgba(6, 182, 212, 0.1);
}

html[data-theme="dark"] .nav-location {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}

html[data-theme="dark"] .nav-links {
    background: rgba(15, 23, 42, 0.98);
}

html[data-theme="dark"] .nav-links a {
    color: #cbd5e1;
}

html[data-theme="dark"] .nav-links a:hover {
    color: #06b6d4;
}

/* ===== HERO SECTION ===== */
html[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0a3d4d 100%);
}

html[data-theme="dark"] .hero::before {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

html[data-theme="dark"] .hero::after {
    background: radial-gradient(circle, rgba(165, 139, 250, 0.12) 0%, transparent 70%);
}

html[data-theme="dark"] .hero h1 {
    color: #06b6d4;
}

html[data-theme="dark"] .hero-subtitle {
    color: #cbd5e1;
}

/* ===== BUTTONS ===== */
html[data-theme="dark"] .btn-primary {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

html[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
}

html[data-theme="dark"] .btn-secondary {
    color: #06b6d4;
    border-color: #06b6d4;
}

html[data-theme="dark"] .btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
}

/* ===== TRUST BADGES ===== */
html[data-theme="dark"] .trust-badge {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
}

/* ===== STATS ===== */
html[data-theme="dark"] .stat-number {
    color: #06b6d4;
}

html[data-theme="dark"] .stat-label {
    color: #cbd5e1;
}

/* ===== CARDS ===== */
html[data-theme="dark"] .card, html[data-theme="dark"] .info-card, 
html[data-theme="dark"] .office-card, html[data-theme="dark"] .blog-card, 
html[data-theme="dark"] .feature-card, html[data-theme="dark"] .pricing-card,
html[data-theme="dark"] .stat-card, html[data-theme="dark"] .faq-item {
    background: #1e293b;
    border-color: rgba(6, 182, 212, 0.2);
    color: #e2e8f0;
}

html[data-theme="dark"] .card:hover, html[data-theme="dark"] .info-card:hover,
html[data-theme="dark"] .office-card:hover, html[data-theme="dark"] .blog-card:hover,
html[data-theme="dark"] .feature-card:hover, html[data-theme="dark"] .pricing-card:hover,
html[data-theme="dark"] .stat-card:hover, html[data-theme="dark"] .faq-item:hover {
    border-color: #06b6d4;
    background: #334155;
}

html[data-theme="dark"] .info-card {
    background: linear-gradient(135deg, #1e293b, #0f4a6d);
}

html[data-theme="dark"] .info-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

html[data-theme="dark"] .info-card h3 {
    color: #06b6d4;
}

html[data-theme="dark"] .info-card p {
    color: #cbd5e1;
}

/* ===== FEATURE CARDS ===== */
html[data-theme="dark"] .feature-card {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(30, 64, 175, 0.1));
    border: 2px solid rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] .feature-card h3 {
    color: #06b6d4;
}

html[data-theme="dark"] .feature-card p {
    color: #cbd5e1;
}

/* ===== PRICING CARDS ===== */
html[data-theme="dark"] .pricing-card {
    background: #1e293b;
    border: 2px solid rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] .pricing-card h3 {
    color: #06b6d4;
}

html[data-theme="dark"] .pricing-card .price {
    color: #22d3ee;
}

html[data-theme="dark"] .pricing-card p {
    color: #cbd5e1;
}

html[data-theme="dark"] .pricing-card ul {
    border-color: rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] .pricing-card li {
    color: #cbd5e1;
}

html[data-theme="dark"] .pricing-btn {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

html[data-theme="dark"] .pricing-btn:hover {
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
}

/* ===== FAQ SECTION ===== */
html[data-theme="dark"] .faq-item {
    background: #1e293b;
    border: 2px solid rgba(6, 182, 212, 0.1);
}

html[data-theme="dark"] .faq-item h4 {
    color: #06b6d4;
}

html[data-theme="dark"] .faq-item p {
    color: #cbd5e1;
}

html[data-theme="dark"] .faq-item button {
    color: #06b6d4;
}

/* ===== FORMS ===== */
html[data-theme="dark"] .form-group label {
    color: #06b6d4;
}

html[data-theme="dark"] .form-group input, html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .form-group select {
    background: #1e293b;
    color: #e2e8f0;
    border-color: rgba(6, 182, 212, 0.3);
}

html[data-theme="dark"] .form-group input:focus, html[data-theme="dark"] .form-group textarea:focus,
html[data-theme="dark"] .form-group select:focus {
    background: #0f172a;
    border-color: #06b6d4;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

/* ===== MESSAGES ===== */
html[data-theme="dark"] .success-message {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

html[data-theme="dark"] .success-message h3 {
    color: #10b981;
}

html[data-theme="dark"] .success-message p {
    color: #6ee7b7;
}

html[data-theme="dark"] .form-error {
    color: #fca5a5;
}

html[data-theme="dark"] .form-group.error input, html[data-theme="dark"] .form-group.error textarea,
html[data-theme="dark"] .form-group.error select {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ===== BLOG ELEMENTS ===== */
html[data-theme="dark"] .blog-category {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

html[data-theme="dark"] .blog-card h3 {
    color: #06b6d4;
}

html[data-theme="dark"] .blog-card p {
    color: #cbd5e1;
}

/* ===== PAGINATION ===== */
html[data-theme="dark"] .pagination-btn, html[data-theme="dark"] .pagination-num {
    background: #1e293b;
    color: #06b6d4;
    border-color: #0f4a6d;
}

html[data-theme="dark"] .pagination-btn:hover, html[data-theme="dark"] .pagination-num:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: #06b6d4;
}

html[data-theme="dark"] .pagination-num.active {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    color: white;
    border-color: #06b6d4;
}

/* ===== TESTIMONIALS ===== */
html[data-theme="dark"] .testimonial-card {
    background: #1e293b;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .testimonial-card:hover {
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.25);
    border-color: rgba(6, 182, 212, 0.4);
    background: #334155;
}

html[data-theme="dark"] .testimonial-text {
    color: #cbd5e1;
}

html[data-theme="dark"] .testimonial-author {
    border-top-color: rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] .author-avatar {
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

html[data-theme="dark"] .author-info h4 {
    color: #e2e8f0;
}

html[data-theme="dark"] .author-info p {
    color: #94a3b8;
}

/* ===== FOOTER ===== */
html[data-theme="dark"] footer {
    background: linear-gradient(135deg, #030712 0%, #0f172a 100%);
    border-top-color: rgba(6, 182, 212, 0.2);
}

html[data-theme="dark"] footer h4 {
    color: #06b6d4;
}

html[data-theme="dark"] footer p {
    color: #cbd5e1;
}

html[data-theme="dark"] footer a {
    color: #94a3b8;
}

html[data-theme="dark"] footer a:hover {
    color: #06b6d4;
}

html[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(6, 182, 212, 0.2);
    color: #94a3b8;
}

/* ===== DARK MODE TOGGLE BUTTON ===== */
#darkModeToggle {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #06b6d4;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    width: auto;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#darkModeToggle i {
    display: flex;
    align-items: center;
    justify-content: center;
}

#darkModeToggle:hover {
    background: rgba(6, 182, 212, 0.15);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

html[data-theme="dark"] #darkModeToggle {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    color: #06b6d4;
}

html[data-theme="dark"] #darkModeToggle:hover {
    background: rgba(6, 182, 212, 0.25);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

/* ===== SCROLLBAR ===== */
html[data-theme="dark"] ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #0f172a;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #06b6d4;
    border-radius: 6px;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #22d3ee;
}

/* ===== FORM ELEMENTS DARK MODE ===== */
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: #94a3b8;
}

html[data-theme="dark"] button:not(.nav-btn):not(#darkModeToggle) {
    transition: all 0.3s ease;
}

/* ===== NAVIGATION DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(30, 64, 175, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    margin-top: 0.5rem;
    padding: 0.8rem 0;
    display: none;
    z-index: 100;
}

html[data-theme="dark"] .dropdown-menu {
    background: #1e293b;
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

html[data-theme="dark"] .dropdown-menu a {
    color: #cbd5e1;
}

.dropdown-menu a:hover {
    background: rgba(30, 64, 175, 0.05);
    color: #1e40af;
    border-left-color: #1e40af;
}

html[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border-left-color: #06b6d4;
}

/* Mobile menu toggle */
.nav-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #1e40af;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-menu-toggle:hover {
    transform: scale(1.1);
    color: #06b6d4;
}

html[data-theme="dark"] .nav-menu-toggle {
    color: #06b6d4;
}

html[data-theme="dark"] .nav-menu-toggle:hover {
    color: #0891b2;
}

@media (max-width: 768px) {
    .nav-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid rgba(30, 64, 175, 0.1);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        margin: 0;
    }
    
    html[data-theme="dark"] .nav-links {
        background: #1e293b;
        border-bottom-color: rgba(6, 182, 212, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a, .nav-btn {
        padding: 0.8rem 1.5rem;
        border: none;
        font-size: 0.9rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(30, 64, 175, 0.05);
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0.5rem 0 0.5rem 1.5rem;
    }
    
    html[data-theme="dark"] .dropdown-menu {
        background: rgba(6, 182, 212, 0.05);
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* ===== SMOOTH TRANSITIONS ===== */
html[data-theme="dark"],
html[data-theme="dark"] * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}
