/* ========================================
   DINESH LAMSAL - PROFESSIONAL WEBSITE
   Modern Political Branding System v2.0
======================================== */

/* ========================================
   THEME SYSTEM - Light & Dark Mode
======================================== */

/* Light Theme (Default) */
:root {
    /* Professional Color System */
    --primary-900: #0f172a;
    --primary-800: #1e293b;
    --primary-700: #334155;
    --primary-600: #475569;
    
    --accent-600: #d97706;
    --accent-500: #f59e0b;
    --accent-400: #fbbf24;
    
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-500: #64748b;
    --neutral-700: #334155;
    --neutral-900: #0f172a;
    
    --success: #10b981;
    --error: #ef4444;
    --white: #ffffff;
    
    /* Theme-specific variables */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --footer-bg: #0f172a;
    --hero-overlay: rgba(15, 23, 42, 0.95);
    
    /* Professional Gradients */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(15,23,42,0.03) 100%);
    
    /* Spacing System (8px base) */
    --space-1: 0.5rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-5: 3rem;     /* 48px */
    --space-6: 4rem;     /* 64px */
    --space-8: 6rem;     /* 96px */
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-full: 9999px;
    
    --container: 1200px;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-900: #f8fafc;
    --primary-800: #e2e8f0;
    --primary-700: #cbd5e1;
    --primary-600: #94a3b8;
    
    --accent-600: #fbbf24;
    --accent-500: #f59e0b;
    --accent-400: #d97706;
    
    --neutral-50: #0f172a;
    --neutral-100: #1e293b;
    --neutral-200: #334155;
    --neutral-300: #475569;
    --neutral-500: #94a3b8;
    --neutral-700: #cbd5e1;
    --neutral-900: #f8fafc;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
    --header-bg: #1e293b;
    --footer-bg: #0a0f1a;
    --hero-overlay: rgba(15, 23, 42, 0.8);
    
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-accent: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(251,191,36,0.05) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

/* ========================================
   BASE RESET & TYPOGRAPHY
======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
    transition: color var(--transition-base);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-2); }

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ========================================
   UTILITY CLASSES
======================================== */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

.section-padding { padding: var(--space-8) 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent-600); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: var(--text-sm); }
.text-small { font-size: var(--text-sm); }

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.grid-sidebar {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: var(--space-5);
}

/* ========================================
   ANIMATIONS & KEYFRAMES
======================================== */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

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

.btn-ghost {
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-600);
}

.btn-ghost:hover {
    background: rgba(217, 119, 6, 0.2);
}

/* ========================================
   TOP BAR
======================================== */

.top-bar {
    background: var(--gradient-primary);
    color: var(--neutral-300);
    padding: var(--space-1) 0;
    font-size: var(--text-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.top-bar-link {
    color: var(--neutral-300);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-link:hover {
    color: var(--accent-400);
}

.top-bar-label {
    font-weight: 600;
    margin-right: var(--space-1);
}

.social-icon {
    color: var(--neutral-300);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--accent-600);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

#main-header,
header {
    background: var(--header-bg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-600);
    animation: slideInDown 0.5s ease-out;
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: var(--space-4);
}

/* Logo */
.logo {
    font-size: var(--text-2xl);
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 10;
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent,
.text-accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    gap: var(--space-1);
    align-items: center;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    position: relative;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.nav-link:hover {
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-600);
}

.nav-link:hover .nav-icon {
    opacity: 1;
}

.nav-link.active {
    background: var(--gradient-accent);
    color: var(--white);
}

.nav-link.active .nav-icon {
    opacity: 1;
}

.nav-cta {
    margin-left: var(--space-2);
    padding: 10px 20px !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* ========================================
   THEME TOGGLE BUTTONS
======================================== */

/* Floating Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all var(--transition-base);
    color: var(--white);
    font-size: 1.5rem;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Header Theme Toggle */
.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
    color: var(--text-primary);
}

.theme-toggle-btn:hover,
.theme-toggle:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--white);
    transform: rotate(180deg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon,
.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    position: absolute;
    transition: all var(--transition-base);
}

.theme-toggle .icon-sun,
.theme-toggle-btn .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon,
.theme-toggle-btn .icon-moon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .icon-sun,
[data-theme="dark"] .theme-toggle-btn .icon-sun {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

[data-theme="dark"] .theme-toggle .icon-moon,
[data-theme="dark"] .theme-toggle-btn .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* ========================================
   MEGA MENU & DROPDOWN NAVIGATION
======================================== */

.nav-item-dropdown {
    position: relative;
}

.dropdown-arrow {
    margin-left: 4px;
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-3);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.mega-dropdown-wide {
    min-width: 450px;
}

.nav-item-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content,
.dropdown-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2);
}

.dropdown-link {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.dropdown-link i {
    font-size: 1.5rem;
    color: var(--accent-600);
    min-width: 35px;
    margin-top: 2px;
}

.dropdown-link strong {
    display: block;
    color: var(--text-primary);
    font-size: var(--text-base);
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

.dropdown-link span {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.4;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    transform: translateX(5px);
}

.dropdown-link:hover strong {
    color: var(--accent-600);
}

/* ========================================
   MOBILE NAVIGATION
======================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--card-bg);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: right var(--transition-base);
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-container {
    padding: var(--space-4);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent-600);
}

.mobile-nav-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--neutral-100);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-nav-close:hover {
    background: var(--accent-600);
    color: var(--white);
}

.mobile-nav-links {
    list-style: none;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    margin-bottom: var(--space-1);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.mobile-nav-link i:first-child {
    width: 24px;
    font-size: 1.1rem;
    color: var(--accent-600);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--gradient-accent);
    color: var(--white);
}

.mobile-nav-link:hover i,
.mobile-nav-link.active i {
    color: var(--white);
}

/* Mobile Dropdown/Accordion */
.mobile-dropdown {
    margin-bottom: var(--space-1);
}

.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--text-base);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
    font-family: inherit;
}

.mobile-dropdown-toggle i:first-child {
    margin-right: var(--space-2);
    color: var(--accent-600);
    font-size: 1.1rem;
}

.mobile-dropdown-toggle i:last-child {
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.mobile-dropdown-toggle:hover {
    background: rgba(217, 119, 6, 0.1);
}

.mobile-dropdown.active .mobile-dropdown-toggle {
    background: var(--gradient-accent);
    color: var(--white);
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
    color: var(--white);
}

.mobile-dropdown.active .mobile-dropdown-toggle i:last-child {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    padding-left: var(--space-4);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
    margin-top: var(--space-1);
}

.mobile-dropdown-menu li {
    margin-bottom: var(--space-1);
}

.mobile-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.mobile-dropdown-menu a i {
    font-size: 0.9rem;
    width: 20px;
    color: var(--accent-600);
}

.mobile-dropdown-menu a:hover {
    background: var(--neutral-100);
    color: var(--text-primary);
    padding-left: var(--space-3);
}

.mobile-nav-footer {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-color);
}

.mobile-nav-social {
    margin-top: var(--space-3);
    text-align: center;
}

.social-icon-mobile {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--neutral-100);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.social-icon-mobile:hover {
    background: var(--gradient-accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   HERO SECTION
======================================== */

.hero-pro {
    position: relative;
    background: var(--gradient-hero), url('https://source.unsplash.com/random/1920x1080/?conference,professional');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: var(--space-8) 0;
    overflow: hidden;
}

.hero-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: var(--text-lg);
    border-left: 4px solid var(--accent-600);
    padding-left: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--neutral-300);
    font-weight: 500;
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-5);
    flex-wrap: wrap;
}

/* ========================================
   CARDS & CONTENT BLOCKS
======================================== */

.news-card-pro {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.news-card-pro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.news-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-600);
}

.news-card-pro:hover::after {
    opacity: 1;
}

.news-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card-pro:hover .news-img {
    transform: scale(1.05);
}

.news-body {
    padding: var(--space-3);
    position: relative;
    z-index: 1;
}

.news-cat {
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--accent-600);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-1);
    display: inline-block;
    background: rgba(217, 119, 6, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.news-title {
    font-size: var(--text-lg);
    line-height: 1.4;
    margin: var(--space-2) 0;
    font-weight: 700;
    transition: color var(--transition-fast);
}

.news-card-pro:hover .news-title {
    color: var(--accent-600);
}

/* ========================================
   SIDEBAR
======================================== */

.sidebar-box {
    background: var(--card-bg);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.sidebar-box:hover {
    box-shadow: var(--shadow-md);
}

.list-item-pro {
    display: flex;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--neutral-100);
    transition: transform var(--transition-fast);
}

.list-item-pro:hover {
    transform: translateX(4px);
}

.list-item-pro:last-child {
    border: none;
    margin: 0;
    padding-bottom: 0;
}

.date-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-1) var(--space-2);
    text-align: center;
    border-radius: var(--radius-md);
    min-width: 60px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.date-day {
    font-size: var(--text-xl);
    font-weight: 700;
    display: block;
    line-height: 1;
}

.date-month {
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--neutral-300);
    margin-top: 2px;
    display: block;
}

/* ========================================
   FORMS
======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: var(--space-2);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-base);
    background: var(--card-bg);
    color: var(--text-primary);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-600);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

label {
    display: block;
    margin-bottom: var(--space-1);
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   FOOTER
======================================== */

footer {
    background: var(--footer-bg);
    color: var(--neutral-300);
    padding: var(--space-8) 0 var(--space-3);
    border-top: 5px solid var(--accent-600);
    transition: background-color var(--transition-base);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

footer h4 {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-400);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-3);
    text-align: center;
    font-size: var(--text-sm);
}

/* ========================================
   LOADING SPINNER
======================================== */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1024px) {
    .grid-sidebar { 
        grid-template-columns: 1fr; 
    }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .theme-toggle-btn {
        display: none;
    }
    
    .mega-dropdown-wide {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --space-8: 4rem;
    }
    
    .grid-2, 
    .grid-3 { 
        grid-template-columns: 1fr; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
    }
    
    .section-padding { 
        padding: var(--space-5) 0; 
    }
    
    .top-bar-text {
        display: none;
    }
    
    .top-bar-label {
        display: none;
    }
    
    .top-bar-content {
        justify-content: center;
        gap: var(--space-2);
    }
    
    .mobile-nav-overlay {
        width: 100%;
    }
    
    .theme-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .logo {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    :root {
        --space-8: 3rem;
    }
    
    .hero-pro {
        padding: var(--space-6) 0;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--accent-600);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .news-card-pro {
        border: 2px solid var(--border-color);
    }
}

/* Print styles */
@media print {
    .theme-toggle,
    .theme-toggle-btn,
    .mobile-menu-toggle,
    .top-bar,
    header,
    .hero-buttons,
    .btn {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}




/* ========================================
   HERO ANIMATIONS - PERMANENT
======================================== */

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease-out forwards;
}

.hero-tagline {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-content h1 {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.hero-content p {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.7s;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
}

.hero-content > div:last-child {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.1s;
}

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

