/* =====================================================
   THEME VARIABLES - Light/Dark Mode
   ===================================================== */

:root,
[data-theme="dark"] {
    /* Dark Theme (Default) */
    --bg-primary: #0f0f14;
    --bg-secondary: #1a1a24;
    --bg-tertiary: #242432;
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-heading: #ffffff;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: rgba(59, 130, 246, 0.15);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --input-bg: rgba(255, 255, 255, 0.08);
    --input-border: rgba(255, 255, 255, 0.2);
    --button-bg: transparent;
    --button-border: rgba(255, 255, 255, 0.25);
    --overlay-dark: rgba(15, 15, 20, 0.95);
    --overlay-light: rgba(15, 15, 20, 0.85);
    --header-bg: rgba(15, 15, 20, 0.9);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

[data-theme="light"] {
    /* Light Theme */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #334155;
    --text-secondary: #64748b;
    --text-heading: #0f172a;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --accent-light: rgba(59, 130, 246, 0.1);
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-color: rgba(0, 0, 0, 0.08);
    --input-bg: #ffffff;
    --input-border: #e2e8f0;
    --button-bg: transparent;
    --button-border: #e2e8f0;
    --overlay-dark: rgba(255, 255, 255, 0.98);
    --overlay-light: rgba(255, 255, 255, 0.95);
    --header-bg: rgba(255, 255, 255, 0.95);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* =====================================================
   GLOBAL LINK STYLES - Override red color
   ===================================================== */

a {
    color: #3b82f6 !important;
    border-bottom-color: rgba(59, 130, 246, 0.3);
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #2563eb !important;
    border-bottom-color: transparent;
}

/* =====================================================
   LOGO TEXT STYLING
   ===================================================== */

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-heading) !important;
    text-decoration: none !important;
    border: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0;
    transition: all 0.3s ease;
}

.logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.logo-text:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

#logo .logo-text {
    font-size: 1.6rem;
}

#logo a {
    border: none !important;
    text-decoration: none !important;
}

#logo a::before,
#logo a::after {
    display: none !important;
}

/* Footer logo text */
.footer-logo .logo-text {
    font-size: 1.8rem;
    color: #ffffff !important;
}

.footer-logo .logo-text span {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .footer-logo .logo-text {
    color: var(--text-heading) !important;
}

[data-theme="light"] .footer-logo .logo-text span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   MODERN REDESIGNED HEADER
   ===================================================== */

#header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.7) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

#header.header-hidden {
    transform: translateY(-100%);
}

#header.header-visible {
    transform: translateY(0);
}

#header.scrolled {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2) !important;
}

/* Header Inner Container */
.header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 3rem !important;
    position: relative;
    min-height: 65px;
    height: 65px;
}

/* Header Logo */
.header-logo {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    background: transparent !important;
    position: relative;
    z-index: 2;
    justify-self: start;
}

.header-logo:hover {
    transform: translateY(-1px);
    border: none !important;
}

.header-logo::before,
.header-logo::after {
    display: none !important;
    content: none !important;
}

/* Logo Icon */
.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.header-logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.header-logo:hover .logo-icon::before {
    transform: rotate(45deg) translateX(100%);
}

.header-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.header-logo .logo-text span {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.125rem;
    font-weight: 800;
}

/* Header Navigation (Right) */
.header-nav {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    justify-self: end;
}

.header-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-nav .nav-link .nav-text {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.header-nav .nav-link .nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav .nav-link::before,
.header-nav .nav-link::after {
    display: none !important;
    content: none !important;
}

.header-nav .nav-link.active {
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.1) !important;
}

.header-nav .nav-link.active .nav-indicator {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions (Center) */
.header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    position: relative;
    z-index: 2;
    justify-self: center;
}

/* Language Switcher */
.lang-switcher {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 0.25rem !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
}

.lang-switcher .lang-btn {
    padding: 0.4rem 0.65rem !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    border-radius: 50px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: inherit;
    line-height: 1;
    letter-spacing: 0.3px;
}

.lang-switcher .lang-btn:hover {
    color: rgba(255, 255, 255, 0.95) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: none !important;
}

.lang-switcher .lang-btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Theme Toggle Button */
.theme-btn {
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.85) !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.theme-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.theme-btn:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15) !important;
}

.theme-btn:hover::before {
    opacity: 1;
}

.theme-btn:hover i {
    color: #ffffff !important;
    transform: rotate(180deg);
}

/* Hamburger Menu Button */
.hamburger-btn {
    display: none;
    width: 38px !important;
    height: 38px !important;
    border: none !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10001;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.hamburger-btn:hover .hamburger-line {
    background: #ffffff;
}

/* Hamburger Active State */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6rem 2rem 3rem;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    padding: 1.25rem 2rem !important;
    text-align: center;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    border: none !important;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 16px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
}

.mobile-menu.active .mobile-nav-link {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu-footer {
    margin-top: 3rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.mobile-menu.active .mobile-menu-footer {
    transform: translateY(0);
    opacity: 1;
}

.mobile-lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.03);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-lang-btn {
    padding: 0.75rem 1.25rem !important;
    border: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mobile-lang-btn:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #475569 !important;
}

.mobile-lang-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Dark Mode Header */
[data-theme="dark"] #header {
    background: transparent !important;
    border-bottom: none !important;
}

[data-theme="dark"] #header::before {
    background: transparent;
}

[data-theme="dark"] #header.scrolled {
    background: transparent !important;
    box-shadow: none;
    border-bottom: none !important;
}

[data-theme="dark"] .logo-icon {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .header-logo .logo-text {
    color: #f1f5f9 !important;
}

[data-theme="dark"] .header-logo .logo-text span {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .header-nav {
    background: transparent;
    border-color: transparent;
}

[data-theme="dark"] .header-nav .nav-link {
    color: #cbd5e1 !important;
    background: transparent !important;
}

[data-theme="dark"] .header-nav .nav-link.active {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.12) !important;
}

[data-theme="dark"] .lang-switcher {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .lang-switcher .lang-btn {
    color: #94a3b8 !important;
}

[data-theme="dark"] .lang-switcher .lang-btn:hover {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .lang-switcher .lang-btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

[data-theme="dark"] .theme-btn {
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .theme-btn:hover {
    border-color: rgba(59, 130, 246, 0.4) !important;
}

[data-theme="dark"] .hamburger-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="dark"] .hamburger-line {
    background: #94a3b8;
}

[data-theme="dark"] .hamburger-btn:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
}

[data-theme="dark"] .hamburger-btn:hover .hamburger-line {
    background: #60a5fa;
}

[data-theme="dark"] .mobile-menu {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .mobile-nav-link {
    color: #f1f5f9 !important;
    background: rgba(59, 130, 246, 0.08);
}

[data-theme="dark"] .mobile-lang-switcher {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .mobile-lang-btn {
    color: #94a3b8 !important;
}

[data-theme="dark"] .mobile-lang-btn:hover {
    color: #cbd5e1 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Responsive Header */
@media screen and (max-width: 1280px) {
    .header-inner {
        padding: 0.5rem 2rem !important;
    }
    
    .header-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
    
    .header-logo .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 1024px) {
    .header-inner {
        padding: 0.5rem 1.5rem !important;
    }
    
    .header-nav {
        gap: 0.25rem !important;
    }
    
    .header-nav .nav-link {
        padding: 0.5rem 0.875rem !important;
        font-size: 0.8rem !important;
    }
    
    .header-logo .logo-text {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 900px) {
    .header-nav {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex !important;
    }
    
    .lang-switcher {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        padding: 0.5rem 1.25rem !important;
    }
    
    .theme-btn,
    .hamburger-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .header-logo .logo-text {
        font-size: 1.15rem;
    }
}

@media screen and (max-width: 480px) {
    .header-inner {
        padding: 0.4rem 1rem !important;
    }
    
    .header-logo .logo-text {
        display: none;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .theme-btn,
    .hamburger-btn {
        width: 38px !important;
        height: 38px !important;
    }
    
    .header-actions {
        gap: 0.375rem !important;
    }
}

/* =====================================================
   MODERN HERO SECTION
   ===================================================== */

#banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    min-height: 100vh;
}

/* Animated gradient background */
#banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
    animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5%, -5%) rotate(120deg); }
    66% { transform: translate(-5%, 5%) rotate(240deg); }
}

/* Grid pattern overlay */
#banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

/* Hide default content element */
#banner > .content {
    display: none !important;
}

/* New Banner Container */
.banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Banner Badge */
.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.3px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    animation: fadeInDown 0.8s ease-out;
}

.banner-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner Title */
#banner h1,
#banner .banner-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner Description */
#banner .banner-content > p {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.75) !important;
    margin: 0 0 3rem 0 !important;
    line-height: 1.7 !important;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Banner Buttons */
.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

/* Floating elements decoration */
.banner-container::before,
.banner-container::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent);
    animation: float 20s ease-in-out infinite;
    z-index: -1;
}

.banner-container::before {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.banner-container::after {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Light Mode Hero */
[data-theme="light"] #banner {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
}

[data-theme="light"] #banner h1,
[data-theme="light"] #banner .banner-content h1 {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #dbeafe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] #banner .banner-content > p {
    color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="light"] .banner-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Banner Responsive */
@media screen and (max-width: 980px) {
    #banner {
        padding-top: 70px;
    }
    
    #banner .banner-content > p {
        font-size: 1.1rem !important;
    }
    
    .banner-container::before,
    .banner-container::after {
        width: 250px;
        height: 250px;
    }
}

@media screen and (max-width: 736px) {
    #banner {
        padding-top: 60px;
        min-height: 100svh;
    }
    
    .banner-container {
        padding: 0 1.5rem;
    }
    
    #banner .banner-content > p {
        font-size: 1rem !important;
        margin-bottom: 2.5rem !important;
    }
    
    .banner-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .banner-badge {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }
    
    .banner-container::before,
    .banner-container::after {
        display: none;
    }
}
}

/* =====================================================
   APPLY THEME VARIABLES TO ELEMENTS
   ===================================================== */

html, body {
    background: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    transition: background 0.3s ease, color 0.3s ease;
}

#page-wrapper {
    background: var(--bg-primary);
    padding-top: 0; /* Header is fixed */
}

/* Navigation Dropdowns */
#nav > ul > li > ul {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 30px var(--shadow-color);
    border-radius: 12px;
    overflow: hidden;
}

#nav > ul > li > ul a {
    color: var(--text-primary) !important;
    padding: 0.75rem 1.25rem;
}

#nav > ul > li > ul a:hover {
    background: var(--accent-color);
    color: #ffffff !important;
}

#nav > ul > li > ul li {
    border-top-color: var(--border-color);
}

/* Banner */
#banner {
    background: var(--bg-primary);
}

#banner .content header h2,
#banner .content header p {
    color: var(--text-heading);
}

/* Spotlight sections */
.spotlight {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.spotlight .content {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.spotlight .content header h2 {
    color: var(--text-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.spotlight .content header p,
.spotlight .content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Section One - Special styling */
#one.spotlight {
    background: var(--bg-primary);
    padding: 3rem 0 6rem !important;
    position: relative;
}

#one.spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

#one.spotlight .image.main {
    display: none !important;
}

#one .content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
}

#one .content .container {
    max-width: 1140px;
    padding: 0 2rem;
}

#one .content .row {
    gap: 4rem;
    display: flex;
    align-items: flex-start;
}

#one .content header {
    margin-bottom: 2.5rem;
    position: relative;
}

#one .content header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-heading) !important;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

#one .content header p {
    font-size: 1.125rem;
    color: var(--text-secondary) !important;
    line-height: 1.7;
    opacity: 0.9;
}

#one .content .col-4 {
    flex: 1;
}

#one .content .col-4 p {
    font-size: 1rem;
    color: var(--text-secondary) !important;
    line-height: 1.8;
    opacity: 0.85;
}

#one .col-4:first-child {
    position: relative;
    padding-left: 2rem;
}

#one .col-4:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

#one .col-4:not(:first-child) {
    padding-top: 0.5rem;
}

/* Responsive spotlight sections */
@media screen and (max-width: 980px) {
    .spotlight {
        padding: 4rem 0;
    }
    
    #one.spotlight {
        padding: 2.5rem 0 4rem !important;
    }
    
    #one .content header h2 {
        font-size: 2.25rem;
    }
    
    #one .content .row {
        gap: 2.5rem;
    }
    
    .spotlight .content {
        padding: 2.5rem;
    }
}

@media screen and (max-width: 736px) {
    .spotlight {
        padding: 3rem 0;
    }
    
    #one.spotlight {
        padding: 2rem 0 3rem !important;
    }
    
    #one .content header h2 {
        font-size: 1.85rem;
    }
    
    #one .content header p {
        font-size: 1rem;
    }
    
    #one .content .row {
        gap: 2rem;
        flex-direction: column;
    }
    
    #one .col-4:first-child {
        padding-left: 1.5rem;
    }
    
    #one .col-4:first-child::before {
        height: 60px;
    }
}    .spotlight .content {
        padding: 2rem;
    }
}

/* Wrapper sections */
.wrapper {
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
    padding-top: 4rem;
}

.wrapper.style1 {
    background: var(--bg-secondary);
}

.wrapper.style2 {
    background: var(--gradient-primary);
}

.wrapper.style2 h2,
.wrapper.style2 p {
    color: #ffffff;
}

.wrapper header h2 {
    color: var(--text-heading);
}

.wrapper header p {
    color: var(--text-secondary);
}

.wrapper section h3 {
    color: var(--text-heading);
}

.wrapper section p {
    color: var(--text-secondary);
}

/* Light mode specific overrides */
[data-theme="light"] .spotlight .content {
    background: var(--overlay-dark);
    box-shadow: 0 8px 40px var(--shadow-color);
}

[data-theme="light"] .spotlight .content header h2 {
    color: var(--text-heading) !important;
}

[data-theme="light"] .spotlight .content header p,
[data-theme="light"] .spotlight .content p {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .wrapper {
    background: var(--bg-tertiary);
}

[data-theme="light"] .wrapper.style1 {
    background: var(--bg-secondary);
}

[data-theme="light"] .wrapper header h2 {
    color: var(--text-heading) !important;
}

[data-theme="light"] .wrapper header p {
    color: var(--text-secondary) !important;
}

/* =====================================================
   BUTTONS - Global Styling
   ===================================================== */

.button,
button,
input[type="submit"],
input[type="button"] {
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-align: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    padding: 0.9em 2em !important;
    box-sizing: border-box !important;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.button.primary,
button.primary,
input[type="submit"].primary,
input[type="submit"].fit.primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.button.primary:hover,
button.primary:hover,
input[type="submit"].primary:hover,
input[type="submit"].fit.primary:hover {
    background: var(--gradient-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

/* Light mode buttons */
[data-theme="light"] .button {
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
    background: transparent !important;
}

[data-theme="light"] .button:hover {
    background: var(--accent-color) !important;
    color: #ffffff !important;
}

[data-theme="light"] .button.primary,
[data-theme="light"] input[type="submit"].primary,
[data-theme="light"] input[type="submit"].fit.primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #ffffff !important;
}

/* Small buttons */
.button.small {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.85rem;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.9rem 1.2rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-light);
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
}

/* Light mode forms */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] input[type="password"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-primary);
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
#footer {
    background: var(--bg-primary);
    color: var(--text-secondary);
}

#footer a {
    color: var(--text-primary);
}

#footer a:hover {
    color: var(--accent-color);
}

#footer .icons li a {
    border-color: var(--button-border);
    color: var(--text-primary);
}

#footer .icons li a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Mobile Navigation */
#titleBar {
    background: var(--bg-secondary);
    color: var(--text-heading);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
}

#titleBar .toggle {
    color: var(--text-heading);
}

#titleBar .title {
    color: var(--text-heading);
}

#titleBar .title .logo-text {
    font-size: 1.2rem;
}

#navPanel {
    background: var(--bg-secondary);
}

#navPanel nav a {
    color: var(--text-primary);
    border-top-color: var(--border-color);
}

/* Light mode mobile */
[data-theme="light"] #titleBar {
    background: var(--bg-secondary);
    box-shadow: 0 2px 20px var(--shadow-color);
}

[data-theme="light"] #titleBar .title {
    color: var(--text-heading) !important;
}

[data-theme="light"] #navPanel {
    background: var(--bg-secondary);
}

[data-theme="light"] #navPanel nav a {
    color: var(--text-primary) !important;
}

/* Icons */
.icon.alt {
    border-color: var(--button-border);
    color: var(--text-heading);
}

.icon.alt:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* =====================================================
   HORIZONTAL SCROLL PORTFOLIO SECTION
   ===================================================== */

#four.wrapper {
    background: var(--bg-primary);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

#four.wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

#four .major {
    text-align: center;
    margin-bottom: 4rem;
}

#four .major h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-heading) !important;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-heading) 0%, rgba(59, 130, 246, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#four .major p {
    font-size: 1.15rem;
    color: var(--text-secondary) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Horizontal scroll container */
.portfolio-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2rem 0;
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.portfolio-grid::-webkit-scrollbar {
    height: 6px;
}

.portfolio-grid::-webkit-scrollbar-track {
    background: transparent;
}

.portfolio-grid::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 10px;
}

.portfolio-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Reset row structure for horizontal layout */
.portfolio-grid .row {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0 !important;
    flex-wrap: nowrap;
}

.portfolio-grid .row > * {
    flex: 0 0 auto;
    width: 280px;
    padding: 0 !important;
}

/* =====================================================
   CLEAN PORTFOLIO CARDS - NO SHADOW/HOVER
   ===================================================== */

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
    position: relative;
}

.portfolio-card .portfolio-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 200px;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card .portfolio-image .portfolio-name {
    color: var(--text-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.portfolio-card .portfolio-image img {
    display: none;
}

.portfolio-card .portfolio-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--bg-secondary);
    position: relative;
}

.portfolio-card .portfolio-content h3 {
    color: var(--text-heading);
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.portfolio-card .portfolio-content p {
    color: var(--text-secondary);
    margin: 0 0 1.25rem 0;
    line-height: 1.6;
    font-size: 0.875rem;
    flex-grow: 1;
}

.portfolio-card .portfolio-content .button {
    align-self: center;
    font-size: 0.85rem;
    padding: 0.7rem 1.5rem !important;
    border-radius: 10px !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: auto;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

/* Light mode portfolio cards */
[data-theme="light"] .portfolio-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="light"] .portfolio-card .portfolio-content {
    background: var(--bg-secondary);
}

[data-theme="light"] .portfolio-card .portfolio-content h3 {
    color: var(--text-heading);
}

[data-theme="light"] .portfolio-card .portfolio-content p {
    color: var(--text-secondary);
}

/* Portfolio responsive */
@media screen and (max-width: 980px) {
    #four.wrapper {
        padding: 5rem 0;
    }
    
    #four .major h2 {
        font-size: 2.25rem;
    }
    
    .portfolio-grid .row > * {
        width: 260px;
    }
    
    .portfolio-card .portfolio-image {
        height: 180px;
    }
    
    .portfolio-card .portfolio-image .portfolio-name {
        font-size: 2.25rem;
    }
    
    .portfolio-card .portfolio-content {
        padding: 1.5rem;
    }
    
    .portfolio-card .portfolio-content h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 736px) {
    #four.wrapper {
        padding: 4rem 0;
    }
    
    #four .major {
        margin-bottom: 3rem;
    }
    
    #four .major h2 {
        font-size: 1.85rem;
    }
    
    #four .major p {
        font-size: 1rem;
    }
    
    .portfolio-grid {
        gap: 1.5rem;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .portfolio-grid .row {
        gap: 1.5rem;
    }
    
    .portfolio-grid .row > * {
        width: 240px;
    }
    
    .portfolio-card .portfolio-image {
        height: 160px;
    }
    
    .portfolio-card .portfolio-image .portfolio-name {
        font-size: 2rem;
    }
    
    .portfolio-card .portfolio-image img {
        padding: 1.5rem 1rem;
    }
    
    .portfolio-card .portfolio-content {
        padding: 1.25rem;
    }
    
    .portfolio-card .portfolio-content h3 {
        font-size: 1.15rem;
    }
    
    .portfolio-card .portfolio-content p {
        font-size: 0.825rem;
    }
    
    .portfolio-card .portfolio-content .button {
        padding: 0.65rem 1.5rem !important;
        font-size: 0.8rem;
    }
}
}

@media screen and (max-width: 736px) {
    .portfolio-card .portfolio-image {
        height: 180px;
    }
    
    .portfolio-card .portfolio-content {
        padding: 1.25rem;
    }
    
    .portfolio-card .portfolio-content h3 {
        font-size: 1.2rem;
    }
    
    .portfolio-card .portfolio-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .portfolio-card .portfolio-content .button {
        padding: 0.65rem 1.75rem !important;
        font-size: 0.85rem;
    }
}

/* =====================================================
   FOOTER IMPROVEMENTS
   ===================================================== */

#footer {
    text-align: center;
    padding: 4rem 0 3rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

#footer .icons {
    margin-bottom: 2rem;
}

#footer .icons li {
    display: inline-block;
    margin: 0 0.75rem;
}

#footer .icons li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-heading) !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

#footer .icons li a:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
    color: #ffffff !important;
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#footer .icons li a .label {
    display: none;
}

#footer .copyright {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

#footer .copyright li {
    display: inline;
}

/* Dark mode footer */
[data-theme="dark"] #footer {
    background: #1a1b23;
}

[data-theme="dark"] #footer .icons li a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Light mode footer */
[data-theme="light"] #footer {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

[data-theme="light"] #footer .icons li a {
    background: #ffffff;
    color: #374151 !important;
    border-color: #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] #footer .icons li a:hover {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
}

[data-theme="light"] #footer .copyright {
    color: #666666;
}

/* =====================================================
   CONTACT SECTION IMPROVEMENTS
   ===================================================== */

/* =====================================================
   CONTACT SECTION - SIMPLE EMAIL ONLY
   ===================================================== */

.contact-section {
    padding: 6rem 0 !important;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.contact-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-header h2 {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
    letter-spacing: -0.5px;
}

.contact-header p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    max-width: 600px;
    margin: 0 auto !important;
}

.contact-email {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-email a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    padding: 1.5rem 3rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-email a:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

/* Mobile adjustments for contact section */
@media screen and (max-width: 980px) {
    .contact-section {
        padding: 5rem 0 !important;
    }
    
    .contact-header h2 {
        font-size: 2.25rem !important;
    }
    
    .contact-email a {
        font-size: 1.25rem;
        padding: 1.25rem 2.5rem;
    }
}

@media screen and (max-width: 736px) {
    .contact-section {
        padding: 4rem 0 !important;
    }
    
    .contact-header h2 {
        font-size: 1.85rem !important;
    }
    
    .contact-header p {
        font-size: 1rem !important;
    }
    
    .contact-email a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
}

/* =====================================================
   LEGACY SITE CONTROLS (Floating - for fallback)
   ===================================================== */

#site-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--button-border);
    background: var(--bg-secondary);
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.control-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

#lang-switcher {
    display: flex;
    gap: 5px;
    background: var(--bg-secondary);
    padding: 5px;
    border-radius: 25px;
    box-shadow: 0 2px 10px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-btn:hover {
    background: var(--accent-color);
    color: #fff;
}

.lang-btn.active {
    background: var(--accent-color);
    color: #fff;
}

/* =====================================================
   RTL SUPPORT (Arabic)
   ===================================================== */

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] #header nav {
    float: left;
}

html[dir="rtl"] #header h1 {
    float: right;
}

html[dir="rtl"] #nav > ul > li {
    float: right;
}

html[dir="rtl"] #nav > ul > li > ul {
    left: auto;
    right: 0;
}

html[dir="rtl"] #nav > ul > li > ul li > ul {
    left: auto;
    right: 100%;
}

html[dir="rtl"] #site-controls {
    right: auto;
    left: 20px;
    align-items: flex-start;
}

html[dir="rtl"] .spotlight.left .content {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .spotlight.right .content {
    margin-right: 0;
    margin-left: auto;
}

html[dir="rtl"] #titleBar .toggle {
    float: right;
    left: auto;
    right: 0;
}

html[dir="rtl"] #titleBar .title {
    text-align: left;
}

html[dir="rtl"] #navPanel {
    right: auto;
    left: -275px;
    transform: translateX(0);
}

html[dir="rtl"] body.navPanel-visible #navPanel {
    transform: translateX(275px);
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */

@media screen and (max-width: 980px) {
    #site-controls {
        top: 10px;
        right: 60px;
        flex-direction: row;
        align-items: center;
    }
    
    html[dir="rtl"] #site-controls {
        right: auto;
        left: 60px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Portfolio cards responsive */
    .portfolio-card .portfolio-image img {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    #site-controls {
        top: 8px;
        right: 55px;
    }
    
    html[dir="rtl"] #site-controls {
        right: auto;
        left: 55px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    #lang-switcher {
        padding: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
}

/* =====================================================
   MOBILE CONTROLS (Floating on small screens)
   ===================================================== */

#mobile-controls {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100000;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

@media screen and (max-width: 980px) {
    #mobile-controls {
        display: flex;
    }
}

.mobile-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--button-border);
    background: var(--bg-secondary);
    color: var(--text-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.mobile-control-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

#mobile-lang-switcher {
    display: flex;
    gap: 5px;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: 25px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.mobile-lang-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: inherit;
}

.mobile-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-lang-btn.active {
    background: var(--accent-color);
    color: #fff;
}

/* Light mode mobile controls */
[data-theme="light"] .mobile-control-btn {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #374151;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-control-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

[data-theme="light"] #mobile-lang-switcher {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-lang-btn {
    color: #374151;
}

[data-theme="light"] .mobile-lang-btn:hover {
    background: #f3f4f6;
}

[data-theme="light"] .mobile-lang-btn.active {
    background: #2563eb;
    color: #fff;
}

/* RTL mobile controls */
html[dir="rtl"] #mobile-controls {
    right: auto;
    left: 20px;
    align-items: flex-start;
}

/* =====================================================
   SMOOTH TRANSITIONS
   ===================================================== */

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Exclude specific elements from transition that might cause issues */
.image img,
video {
    transition: none;
}

/* =====================================================
   SVG IMAGE DISPLAY FOR SPOTLIGHT SECTIONS
   ===================================================== */

.spotlight .image.main {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.spotlight .image.main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.spotlight .image.main img[src$=".svg"] {
    object-fit: contain !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    padding: 2rem !important;
}

/* Position content properly with visible images */
.spotlight.style2 .image.main,
.spotlight.style3 .image.main {
    width: 50% !important;
}

.spotlight.style2.right .image.main {
    left: 0 !important;
    right: auto !important;
}

.spotlight.style3.left .image.main {
    left: auto !important;
    right: 0 !important;
}

/* Dark mode SVG backgrounds */
[data-theme="dark"] .spotlight .image.main img[src$=".svg"] {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

/* =====================================================
   SCROLL CHEVRON / GOTO-NEXT STYLING
   ===================================================== */

.goto-next {
    display: block !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 60px !important;
    text-indent: -9999px !important;
    background: transparent !important;
    z-index: 100 !important;
    border: none !important;
}

.goto-next::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    border-left: 3px solid rgba(255, 255, 255, 0.9) !important;
    border-bottom: 3px solid rgba(255, 255, 255, 0.9) !important;
    transform: translate(-50%, -70%) rotate(-45deg) !important;
    background: none !important;
    animation: bounceChevron 2s ease-in-out infinite !important;
}

@keyframes bounceChevron {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -70%) rotate(-45deg);
    }
    40% {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    60% {
        transform: translate(-50%, -60%) rotate(-45deg);
    }
}

#banner .goto-next {
    bottom: 40px !important;
}

#banner .goto-next::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.spotlight .goto-next {
    bottom: 20px !important;
}

/* Light mode scroll chevron */
[data-theme="light"] .goto-next::before {
    border-color: rgba(26, 26, 46, 0.8) !important;
}

[data-theme="light"] #banner .goto-next::before {
    border-color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .spotlight.style1 .goto-next::before,
[data-theme="light"] .spotlight.style2 .goto-next::before,
[data-theme="light"] .spotlight.style3 .goto-next::before {
    border-color: rgba(26, 26, 46, 0.8) !important;
}

/* =====================================================
   LIGHT MODE - COMPREHENSIVE OVERRIDES
   ===================================================== */

/* Base elements */
html[data-theme="light"],
html[data-theme="light"] body,
[data-theme="light"] body {
    background: #f0f2f5 !important;
    background-color: #f0f2f5 !important;
    color: #333333 !important;
}

[data-theme="light"] #page-wrapper {
    background: #f0f2f5 !important;
    background-color: #f0f2f5 !important;
}

/* All text elements */
[data-theme="light"] body,
[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] li,
[data-theme="light"] td,
[data-theme="light"] th,
[data-theme="light"] label,
[data-theme="light"] div {
    color: #333333 !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] strong,
[data-theme="light"] b {
    color: #1a1a2e !important;
}

[data-theme="light"] a {
    color: #2563eb !important;
}

[data-theme="light"] a:hover {
    color: #1d4ed8 !important;
}

/* Header - ALWAYS visible in light mode */
[data-theme="light"] #header,
[data-theme="light"] #header.alt,
[data-theme="light"] body.landing #header,
[data-theme="light"] body.is-preload #header {
    background: rgba(255, 255, 255, 0.75) !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
    position: fixed !important;
}

[data-theme="light"] #header.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15) !important;
}

[data-theme="light"] #header h1 a,
[data-theme="light"] #header #logo a,
[data-theme="light"] #header nav a,
[data-theme="light"] #header nav ul li a {
    color: #1a1a2e !important;
}

[data-theme="light"] #header nav a:hover,
[data-theme="light"] #header nav ul li a:hover {
    color: #2563eb !important;
}

[data-theme="light"] #header .button.primary {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] #header .button.primary:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

/* Navigation dropdowns */
[data-theme="light"] #nav > ul > li > ul {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] #nav > ul > li > ul a {
    color: #333333 !important;
}

[data-theme="light"] #nav > ul > li > ul li {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #nav > ul > li > ul a:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Banner - Light gradient background */
[data-theme="light"] #banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

[data-theme="light"] #banner .content header h2 {
    color: #ffffff !important;
}

[data-theme="light"] #banner .content header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Banner image circle */
[data-theme="light"] #banner .image img {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Scroll arrow in banner */
[data-theme="light"] #banner .goto-next:before {
    border-color: #ffffff !important;
}

/* Spotlight sections */
[data-theme="light"] .spotlight {
    background: #f0f2f5 !important;
}

[data-theme="light"] .spotlight .content {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .spotlight .content header h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] .spotlight .content header p {
    color: #555555 !important;
}

[data-theme="light"] .spotlight .content p {
    color: #444444 !important;
}

/* Wrapper sections */
[data-theme="light"] .wrapper {
    background: #f0f2f5 !important;
    background-color: #f0f2f5 !important;
}

[data-theme="light"] .wrapper.style1 {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

[data-theme="light"] .wrapper.style1.special {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

[data-theme="light"] .wrapper.style2 {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    background-color: #4a90d9 !important;
}

[data-theme="light"] .wrapper.style2 h2,
[data-theme="light"] .wrapper.style2 p,
[data-theme="light"] .wrapper.style2 header h2,
[data-theme="light"] .wrapper.style2 header p {
    color: #ffffff !important;
}

[data-theme="light"] .wrapper header h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] .wrapper header p {
    color: #555555 !important;
}

[data-theme="light"] .wrapper section h3 {
    color: #1a1a2e !important;
}

[data-theme="light"] .wrapper section p {
    color: #444444 !important;
}

/* Feature boxes/icons - Modern style */
[data-theme="light"] .icon.solid.alt.major,
[data-theme="light"] .icon.alt.major {
    border-color: #e0e0e0 !important;
    color: #2563eb !important;
    background: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .icon.solid.alt.major:before,
[data-theme="light"] .icon.alt.major:before {
    color: #2563eb !important;
}

[data-theme="light"] .icon.alt {
    border-color: #e0e0e0 !important;
    color: #2563eb !important;
}

[data-theme="light"] .icon.alt:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

/* Buttons - Modern style */
[data-theme="light"] .button {
    background: transparent !important;
    border: 2px solid #2563eb !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
}

[data-theme="light"] .button:hover {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .button.primary {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

[data-theme="light"] .button.primary:hover {
    background: #1d4ed8 !important;
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
}

[data-theme="light"] input[type="submit"],
[data-theme="light"] input[type="button"] {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

/* Forms - Modern style */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="search"],
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    color: #333333 !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #999999 !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    outline: none !important;
}

/* Footer - Clean modern style */
[data-theme="light"] #footer {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
}

[data-theme="light"] #footer .icons li a {
    border: 2px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 50% !important;
}

[data-theme="light"] #footer .icons li a:hover {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] #footer .copyright {
    color: #6b7280 !important;
}

[data-theme="light"] #footer .copyright li {
    color: #6b7280 !important;
}

[data-theme="light"] #footer .copyright a {
    color: #2563eb !important;
}

/* Mobile navigation - Modern style */
[data-theme="light"] #titleBar {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #titleBar .title {
    color: #1a1a2e !important;
}

[data-theme="light"] #titleBar .toggle {
    color: #374151 !important;
}

[data-theme="light"] #titleBar .toggle:before {
    background: #f3f4f6 !important;
}

[data-theme="light"] #navPanel {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] #navPanel nav a {
    color: #374151 !important;
    border-top-color: #f3f4f6 !important;
}

[data-theme="light"] #navPanel nav a:hover {
    color: #2563eb !important;
    background: #f3f4f6 !important;
}

/* Scrolly arrows */
[data-theme="light"] .goto-next:before {
    border-color: #1a1a2e !important;
}

/* =====================================================
   ADDITIONAL LIGHT MODE FIXES - ICONS & TEXT
   ===================================================== */

/* All FontAwesome icons in light mode */
[data-theme="light"] .fa,
[data-theme="light"] .fas,
[data-theme="light"] .far,
[data-theme="light"] .fab,
[data-theme="light"] .icon:before,
[data-theme="light"] [class*="fa-"]:before {
    color: inherit;
}

/* Major icons in feature sections */
[data-theme="light"] .icon.solid.alt.major,
[data-theme="light"] .icon.alt.major {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #1a1a2e !important;
}

[data-theme="light"] .icon.solid.alt.major:before,
[data-theme="light"] .icon.alt.major:before {
    color: #1a1a2e !important;
}

/* Labels and spans */
[data-theme="light"] .label,
[data-theme="light"] span.label {
    color: #333333 !important;
}

/* Lists */
[data-theme="light"] ul,
[data-theme="light"] ol,
[data-theme="light"] li {
    color: #333333 !important;
}

/* Blockquotes */
[data-theme="light"] blockquote {
    border-left: 4px solid #2563eb !important;
    color: #555555 !important;
    background: #f8fafc !important;
    padding: 1em !important;
    border-radius: 0 8px 8px 0 !important;
}

/* Code blocks */
[data-theme="light"] code,
[data-theme="light"] pre {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-radius: 6px !important;
}

/* Tables */
[data-theme="light"] table {
    color: #333333 !important;
}

[data-theme="light"] table th {
    color: #1a1a2e !important;
    background: #f8fafc !important;
}

[data-theme="light"] table td {
    color: #333333 !important;
}

[data-theme="light"] table tbody tr {
    border-color: #e5e7eb !important;
}

[data-theme="light"] table tbody tr:hover {
    background: #f8fafc !important;
}

/* HR lines */
[data-theme="light"] hr {
    border-color: #e5e7eb !important;
}

/* Definition lists */
[data-theme="light"] dt {
    color: #1a1a2e !important;
}

[data-theme="light"] dd {
    color: #333333 !important;
}

/* Actions section */
[data-theme="light"] .actions li {
    color: #333333 !important;
}

/* Box sections */
[data-theme="light"] .box {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .box.alt {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Special text colors for wrapper style2 (accent color background) */
[data-theme="light"] .wrapper.style2 .icon:before,
[data-theme="light"] .wrapper.style2 .icon {
    color: #ffffff !important;
}

/* Site controls in light mode - Modern floating style */
[data-theme="light"] #site-controls .control-btn {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    color: #374151 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] #site-controls .control-btn:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] #lang-switcher {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .lang-btn {
    color: #374151 !important;
}

[data-theme="light"] .lang-btn:hover,
[data-theme="light"] .lang-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Spotlight image overlay text */
[data-theme="light"] .spotlight .image.main img {
    opacity: 1;
}

/* Social icons in footer */
[data-theme="light"] .icons li a .label {
    color: #1a1a2e !important;
}

/* Ensure all inner text elements are dark */
[data-theme="light"] .content,
[data-theme="light"] .content * {
    color: #333333;
}

[data-theme="light"] .content h1,
[data-theme="light"] .content h2,
[data-theme="light"] .content h3,
[data-theme="light"] .content h4,
[data-theme="light"] .content h5,
[data-theme="light"] .content h6 {
    color: #1a1a2e !important;
}

/* Special sections that need white text (on colored backgrounds) */
[data-theme="light"] .wrapper.style2 *,
[data-theme="light"] .wrapper.style2 h1,
[data-theme="light"] .wrapper.style2 h2,
[data-theme="light"] .wrapper.style2 h3,
[data-theme="light"] .wrapper.style2 p,
[data-theme="light"] .wrapper.style2 span,
[data-theme="light"] .wrapper.style2 a:not(.button),
[data-theme="light"] .wrapper.style2 li {
    color: #ffffff !important;
}

[data-theme="light"] .wrapper.style2 input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-theme="light"] .wrapper.style2 input[type="email"],
[data-theme="light"] .wrapper.style2 input[type="text"] {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* Style2 submit button override */
.wrapper.style2 input[type="submit"],
.wrapper.style2 .button.primary,
.contact-section input[type="submit"] {
    background: #ffffff !important;
    color: #2563eb !important;
    border: none !important;
}

.wrapper.style2 input[type="submit"]:hover,
.wrapper.style2 .button.primary:hover,
.contact-section input[type="submit"]:hover {
    background: #f0f0f0 !important;
    color: #1d4ed8 !important;
}

/* =====================================================
   MOBILE RESPONSIVE - Light Mode
   ===================================================== */

@media screen and (max-width: 980px) {
    [data-theme="light"] #titleBar {
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    }
    
    [data-theme="light"] #titleBar .toggle {
        color: #333333 !important;
    }
    
    [data-theme="light"] #titleBar .toggle:before {
        background: rgba(0, 0, 0, 0.05) !important;
    }
    
    [data-theme="light"] #titleBar .title {
        color: #1a1a2e !important;
    }
    
    [data-theme="light"] #navPanel {
        background: #ffffff !important;
    }
    
    [data-theme="light"] #navPanel .link {
        color: #333333 !important;
        border-color: rgba(0, 0, 0, 0.08) !important;
    }
    
    [data-theme="light"] #navPanel .link:hover {
        background: #f0f2f5 !important;
        color: #2563eb !important;
    }
    
    [data-theme="light"] #navPanel .indent-1 {
        border-left-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Move controls for mobile */
    [data-theme="light"] #site-controls {
        top: 70px;
    }
}

@media screen and (max-width: 736px) {
    [data-theme="light"] #banner .content header h2 {
        font-size: 1.75em !important;
    }
    
    [data-theme="light"] .spotlight .content {
        padding: 1.5rem !important;
    }
    
    [data-theme="light"] #site-controls {
        right: 10px;
        top: 60px;
    }
    
    [data-theme="light"] #site-controls .control-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

/* =====================================================
   IMPROVED FOOTER STYLES
   ===================================================== */

#footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    padding: 4rem 3rem 2rem !important;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 300% 100%;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: inline-block;
    width: fit-content;
}

.footer-logo .logo-img {
    width: 150px;
    height: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.footer-logo:hover .logo-img {
    transform: scale(1.05);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1rem !important;
    margin: 0 !important;
    font-style: italic;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
    font-weight: 600 !important;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-social h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
    display: inline-block;
    border: none !important;
}

.footer-links ul li a:hover {
    color: #667eea !important;
    transform: translateX(5px);
}

.footer-social .icons {
    display: flex;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.footer-social .icons li {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none !important;
}

.footer-social .icons li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 50% !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 18px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-social .icons li a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
}

.footer-contact .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem !important;
}

.footer-contact .contact-info li i {
    color: #667eea !important;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-contact .contact-info li a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    border: none !important;
}

.footer-contact .contact-info li a:hover {
    color: #667eea !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom .copyright {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.9rem !important;
    margin: 0;
}

/* Footer Light Mode */
[data-theme="light"] #footer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%) !important;
}

[data-theme="light"] .footer-tagline {
    color: rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-social h4,
[data-theme="light"] .footer-contact h4 {
    color: #1a1a2e !important;
}

[data-theme="light"] .footer-links ul li a {
    color: #555555 !important;
}

[data-theme="light"] .footer-links ul li a:hover {
    color: #2563eb !important;
}

[data-theme="light"] .footer-social .icons li a {
    background: rgba(0, 0, 0, 0.05) !important;
    color: #555555 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .footer-social .icons li a:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
}

[data-theme="light"] .footer-contact .contact-info li {
    color: #555555 !important;
}

[data-theme="light"] .footer-contact .contact-info li i {
    color: #2563eb !important;
}

[data-theme="light"] .footer-contact .contact-info li a {
    color: #555555 !important;
}

[data-theme="light"] .footer-contact .contact-info li a:hover {
    color: #2563eb !important;
}

[data-theme="light"] .footer-content {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-bottom .copyright {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .footer-logo .logo-img {
    filter: brightness(0.9) contrast(1.1);
}

/* Footer Responsive */
@media screen and (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }
}

@media screen and (max-width: 736px) {
    #footer {
        padding: 3rem 1.5rem 1.5rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links h4::after,
    .footer-social h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links ul li a:hover {
        transform: translateX(0);
    }
    
    .footer-social .icons {
        justify-content: center;
    }
    
    .footer-contact .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact .contact-info li {
        justify-content: center;
    }
}

/* =====================================================
   COMPREHENSIVE LIGHT MODE FIXES
   ===================================================== */

/* Ensure spotlight sections have proper light mode styling */
[data-theme="light"] .spotlight.style1 .content,
[data-theme="light"] .spotlight.style2 .content,
[data-theme="light"] .spotlight.style3 .content {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Light mode spotlight text */
[data-theme="light"] .spotlight .content header h2,
[data-theme="light"] .spotlight .content h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] .spotlight .content header p,
[data-theme="light"] .spotlight .content p {
    color: #444444 !important;
}

/* Light mode buttons in spotlights */
[data-theme="light"] .spotlight .button {
    background: transparent !important;
    border: 2px solid #2563eb !important;
    color: #2563eb !important;
}

[data-theme="light"] .spotlight .button:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Light mode wrapper style1 (Portfolio section) */
[data-theme="light"] .wrapper.style1 {
    background: #f8fafc !important;
}

[data-theme="light"] .wrapper.style1 header.major h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] .wrapper.style1 header.major p {
    color: #555555 !important;
}

/* Light mode major section headers */
[data-theme="light"] header.major h2,
[data-theme="light"] .major h2 {
    color: #1a1a2e !important;
}

[data-theme="light"] header.major p,
[data-theme="light"] .major p {
    color: #555555 !important;
}

/* Light mode contact section (style2) - keep white text on gradient */
[data-theme="light"] .contact-section h2,
[data-theme="light"] .contact-section p,
[data-theme="light"] .contact-section .contact-header h2,
[data-theme="light"] .contact-section .contact-header p,
[data-theme="light"] .contact-section .contact-note {
    color: #ffffff !important;
}

[data-theme="light"] .contact-section .contact-icon {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Light mode input focus states */
[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Light mode scrollbar */
[data-theme="light"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f5f9;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Light mode selection */
[data-theme="light"] ::selection {
    background: rgba(37, 99, 235, 0.2);
    color: #1a1a2e;
}

/* Light mode links in content areas */
[data-theme="light"] .content a:not(.button),
[data-theme="light"] p a:not(.button) {
    color: #2563eb !important;
    text-decoration: none;
    border-bottom: 1px dotted #2563eb;
}

[data-theme="light"] .content a:not(.button):hover,
[data-theme="light"] p a:not(.button):hover {
    color: #1d4ed8 !important;
    border-bottom-style: solid;
}

/* Light mode row separator for spotlight sections */
[data-theme="light"] .spotlight.style1 {
    background: linear-gradient(135deg, #f0f2f5 0%, #e8e9f0 100%) !important;
}

/* Light mode image backgrounds for spotlights */
[data-theme="light"] .spotlight .image.main img[src$=".svg"] {
    background: linear-gradient(135deg, #f0f2f5 0%, #dfe1e6 100%) !important;
}

/* Ensure mobile controls work in light mode */
[data-theme="light"] #mobile-controls .mobile-control-btn {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #374151 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] #mobile-controls .mobile-control-btn:hover {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="light"] #mobile-lang-switcher {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .mobile-lang-btn {
    color: #374151 !important;
}

[data-theme="light"] .mobile-lang-btn:hover {
    background: #f3f4f6 !important;
}

[data-theme="light"] .mobile-lang-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Light mode special transition for smooth theme switching */
[data-theme="light"] * {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Exclude specific elements from transition */
[data-theme="light"] img,
[data-theme="light"] video,
[data-theme="light"] .image img {
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Light mode header when scrolled */
[data-theme="light"] #header:not(.alt) {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Light mode navigation active states */
[data-theme="light"] #nav > ul > li.active > a {
    color: #2563eb !important;
}

/* Light mode dropdown active/hover */
[data-theme="light"] #nav > ul > li > ul li.active > a,
[data-theme="light"] #nav > ul > li > ul li > a:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* Ensure banner keeps proper colors in light mode */
[data-theme="light"] #banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

[data-theme="light"] #banner h1,
[data-theme="light"] #banner .banner-content h1 {
    color: #ffffff !important;
}

[data-theme="light"] #banner p,
[data-theme="light"] #banner .banner-content > p {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="light"] #banner .banner-badge {
    background: rgba(140, 201, 240, 0.15) !important;
    border-color: rgba(140, 201, 240, 0.4) !important;
    color: #8cc9f0 !important;
}

/* Fix banner buttons in light mode */
[data-theme="light"] #banner .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4) !important;
}

[data-theme="light"] #banner .btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

[data-theme="light"] #banner .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

/* =====================================================
   DROPDOWN NAVIGATION MENUS
   ===================================================== */

.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    cursor: pointer;
}

.nav-dropdown > .nav-link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 250px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 0.5rem 0;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    padding-left: 1.5rem !important;
}

[data-theme="dark"] .dropdown-menu {
    background: rgba(26, 26, 36, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .dropdown-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dropdown-menu a {
    color: #334155 !important;
}

[data-theme="light"] .dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.08) !important;
    color: #2563eb !important;
}

/* Mobile Dropdown Styles */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-title {
    display: block;
    width: 100%;
    padding: 1rem 2rem !important;
    text-align: center;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

[data-theme="dark"] .mobile-dropdown-title {
    color: #94a3b8 !important;
}

.mobile-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.mobile-dropdown-content .mobile-nav-link {
    font-size: 1rem !important;
    padding: 0.875rem 1.5rem !important;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 12px !important;
}

/* =====================================================
   SERVICE PAGE STYLES
   ===================================================== */

#main.wrapper.style1 {
    padding-top: 120px;
    padding-bottom: 5rem;
}

.content-box {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.content-box h3 {
    color: var(--text-heading) !important;
    margin-bottom: 1.5rem;
}

.content-box p {
    color: var(--text-secondary) !important;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-box,
.value-box,
.service-card,
.tech-box {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-box:hover,
.value-box:hover,
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-box .icon,
.value-box .icon,
.service-card .icon,
.tech-box .icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    display: block;
}

.feature-box h4,
.value-box h4,
.service-card h4,
.tech-box h5 {
    color: var(--text-heading) !important;
    margin-bottom: 0.75rem;
}

.feature-box p,
.value-box p,
.service-card p {
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team page styles */
.team-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    height: 100%;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-avatar .icon {
    font-size: 2.5rem;
    color: #ffffff;
}

.team-card h3 {
    color: var(--text-heading) !important;
    margin-bottom: 0.5rem;
}

.team-role {
    color: #3b82f6 !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-secondary) !important;
    line-height: 1.7;
}

/* Service section styles */
.service-section h3 {
    color: var(--text-heading) !important;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-section h3 .icon {
    color: #3b82f6;
}

.service-section p {
    color: var(--text-secondary) !important;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-list,
.training-list,
.security-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-list li,
.training-list li,
.security-benefits li {
    padding: 0.75rem 0;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.service-list li i,
.training-list li i,
.security-benefits li i {
    color: #22c55e;
    font-size: 1.1rem;
}

.features-grid h3,
.tech-section h3,
.team-values h3 {
    color: var(--text-heading) !important;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.why-section {
    background: var(--bg-tertiary);
}

.why-section h3 {
    color: var(--text-heading) !important;
    margin-bottom: 1.5rem;
}

.cta-section .button {
    font-size: 1rem;
    padding: 1rem 2.5rem !important;
}

/* Tech box */
.tech-box {
    padding: 1.5rem;
}

.tech-box .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.tech-box h5 {
    font-size: 0.9rem;
    margin: 0;
}

/* Major header for service pages */
#main .major h2 {
    color: var(--text-heading) !important;
    font-size: 2.5rem;
    font-weight: 800;
}

#main .major p {
    color: var(--text-secondary) !important;
    font-size: 1.15rem;
}
