/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sağlık Teması (Varsayılan) - Beyaz, Yeşil, Mavi */
:root,
[data-theme="health"] {
    --primary-color: #059669; /* Yeşil */
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary-color: #3b82f6; /* Mavi */
    --accent-color: #06b6d4; /* Cyan */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff; /* Beyaz */
    --bg-secondary: #f0fdf4; /* Açık yeşil */
    --bg-tertiary: #ecfdf5;
    --bg-card: #ffffff;
    --border-color: #d1fae5;
    --shadow-sm: 0 1px 2px 0 rgba(5, 150, 105, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(5, 150, 105, 0.1), 0 2px 4px -1px rgba(5, 150, 105, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(5, 150, 105, 0.1), 0 4px 6px -2px rgba(5, 150, 105, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(5, 150, 105, 0.1), 0 10px 10px -5px rgba(5, 150, 105, 0.04);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --gradient-primary: linear-gradient(135deg, #059669 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

/* Teknoloji Teması - Siyah */
[data-theme="tech"] {
    --primary-color: #000000; /* Siyah */
    --primary-dark: #000000;
    --primary-light: #1f1f1f;
    --secondary-color: #333333;
    --accent-color: #666666;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-light: #999999;
    --bg-primary: #000000; /* Siyah */
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #0a0a0a;
    --border-color: #333333;
    --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.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    margin: 0;
    transition: overflow 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b46c1, #9333ea);
    color: white;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #553c9a, #7e22ce);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    padding: 0.75rem 1.5rem;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-spinner.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    max-height: 100vh;
    overflow: visible;
    min-height: var(--header-height);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

/* Health theme header */
[data-theme="health"] .header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="health"] .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

/* Tech theme header */
[data-theme="tech"] .header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #333333;
}

[data-theme="tech"] .header.scrolled {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow: visible;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.nav-collapsed .mobile-menu-btn {
    display: flex !important;
}

@media (min-width: 1025px) {
    body.nav-collapsed .primary-nav {
        width: 100%;
        justify-content: flex-end;
    }

    body.nav-collapsed .nav-links {
        display: none !important;
    }

    body.nav-collapsed .nav-links.active {
        display: flex !important;
        position: fixed !important;
        top: calc(var(--header-height) + 6px) !important;
        right: 1.5rem !important;
        left: auto !important;
        width: min(420px, 90vw) !important;
        max-height: calc(100vh - var(--header-height) - 20px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1.5rem !important;
        gap: 0 !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255, 255, 255, 0.97) !important;
        border: 1px solid rgba(15, 118, 110, 0.18) !important;
        border-radius: var(--border-radius-lg) !important;
        box-shadow: 0 24px 50px -18px rgba(15, 23, 42, 0.45) !important;
        backdrop-filter: blur(14px) !important;
        overflow-y: auto !important;
        z-index: 1002 !important;
    }

    body.nav-collapsed[data-theme="tech"] .nav-links.active {
        background: rgba(8, 8, 8, 0.96) !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }

    body.nav-collapsed .nav-links li {
        border: none !important;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
    }

    body.nav-collapsed .nav-link {
        margin: 0.35rem 0.25rem !important;
        padding: 1rem 1.25rem !important;
        border-radius: var(--border-radius-lg) !important;
        border: 1px solid transparent !important;
        text-align: left !important;
    }

    body.nav-collapsed .nav-link:hover,
    body.nav-collapsed .nav-link:focus-visible,
    body.nav-collapsed .nav-link.active {
        background: rgba(59, 130, 246, 0.12) !important;
        border-color: rgba(59, 130, 246, 0.28) !important;
        color: var(--primary-color) !important;
    }

    body.nav-collapsed[data-theme="health"] .nav-link:hover,
    body.nav-collapsed[data-theme="health"] .nav-link:focus-visible,
    body.nav-collapsed[data-theme="health"] .nav-link.active {
        background: rgba(5, 150, 105, 0.14) !important;
        border-color: rgba(5, 150, 105, 0.32) !important;
        color: #047857 !important;
    }

    body.nav-collapsed[data-theme="tech"] .nav-link:hover,
    body.nav-collapsed[data-theme="tech"] .nav-link:focus-visible,
    body.nav-collapsed[data-theme="tech"] .nav-link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
    }

    body.nav-collapsed .nav-link.nav-link-cta {
        margin-top: 1.25rem !important;
        text-align: center !important;
        box-shadow: 0 20px 46px -18px rgba(37, 99, 235, 0.45) !important;
        color: #ffffff !important;
        border-color: transparent !important;
    }

    body.nav-collapsed .nav-link.nav-link-cta:hover,
    body.nav-collapsed .nav-link.nav-link-cta:focus-visible,
    body.nav-collapsed .nav-link.nav-link-cta.active {
        color: #ffffff !important;
        border-color: transparent !important;
    }

    body.nav-collapsed .mobile-lang-selector {
        margin-top: 1.75rem;
        padding-top: 1.5rem;
    }
}

/* Desktop language selector - Always visible on desktop */
.desktop-lang-selector {
    display: flex;
    align-items: center;
}

/* Mobile language item - Hidden by default */
.mobile-lang-item {
    display: none !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

@media (min-width: 1025px) {
    /* Desktop: Normal navbar görünümü */
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        padding: 0.35rem 0.5rem !important;
        background: rgba(255, 255, 255, 0.78) !important;
        backdrop-filter: blur(18px) !important;
        border: 1px solid rgba(15, 118, 110, 0.12) !important;
        box-shadow: 0 20px 45px -20px rgba(15, 23, 42, 0.35) !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        justify-content: center;
    }
}

@media (max-width: 1200px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    /* Tablet ve mobil: Hamburger menü görünümü */
    .nav-links {
        display: none; /* Başlangıçta gizli */
    }
    
    .nav-links.active {
        display: flex !important; /* Açıldığında göster */
    }
}

@media (max-width: 992px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.65rem 1.1rem;
    white-space: nowrap;
    border-radius: 999px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.45);
}

.nav-link:focus-visible {
    outline: none;
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.18);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 14px 34px -18px rgba(37, 99, 235, 0.35);
}

[data-theme="health"] .nav-link:hover,
[data-theme="health"] .nav-link:focus-visible {
    background: rgba(5, 150, 105, 0.16);
    border-color: rgba(5, 150, 105, 0.32);
    color: #047857;
}

[data-theme="health"] .nav-link.active {
    background: rgba(5, 150, 105, 0.22);
    border-color: rgba(5, 150, 105, 0.42);
    color: #047857;
}

[data-theme="tech"] .nav-links {
    background: rgba(12, 12, 12, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 22px 46px -24px rgba(0, 0, 0, 0.8) !important;
}

[data-theme="tech"] .nav-link {
    color: var(--text-primary);
}

[data-theme="tech"] .nav-link:hover,
[data-theme="tech"] .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.9);
}

[data-theme="tech"] .nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

/* Language Selector */
.nav-item-dropdown {
    position: relative;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.language-selector:hover {
    background: var(--border-color);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.flag-icon {
    font-size: 1.25rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Desktop'ta gizli */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    z-index: 1002;
    box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.4);
    gap: 4px;
}

.mobile-menu-btn span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:not(.sr-only):nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:not(.sr-only):nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:not(.sr-only):nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    /* Tablet ve mobil: Hamburger butonu göster */
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
    }
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    box-shadow: 0 14px 36px -18px rgba(15, 23, 42, 0.5);
    transform: translateY(-1px);
}

/* Health theme mobile menu */
[data-theme="health"] .mobile-menu-btn {
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="health"] .mobile-menu-btn:hover {
    color: #059669;
}

/* Tech theme mobile menu */
[data-theme="tech"] .mobile-menu-btn {
    color: #ffffff;
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="tech"] .mobile-menu-btn:hover {
    color: #cccccc;
}

.mobile-lang-selector {
    display: none;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(37, 99, 235, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-video {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Video Container */
.video-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--bg-dark);
}

.hero-video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section:nth-child(odd) {
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--gradient-secondary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Enhanced Founders Section */
.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.founder-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

/* Main Founder Card (Center - Bigger) */
.founder-card.main-card {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.founder-card.main-card:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.4);
}

/* Secondary Cards (Smaller) */
.founder-card.secondary-card {
    transform: scale(0.9);
    opacity: 0.95;
}

.founder-card.secondary-card:hover {
    transform: scale(0.9) translateY(-10px);
    opacity: 1;
}

/* Avatar Styles */
.founder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.founder-avatar.main-avatar {
    width: 150px;
    height: 150px;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.founder-avatar.secondary-avatar {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.founder-avatar:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
}

/* Text Styles */
.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.founder-name.main-name {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-title.main-title {
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--accent-color), #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.9;
}

.founder-bio.main-bio {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: white;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Tech theme service cards */
[data-theme="tech"] .service-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="tech"] .service-title {
    color: var(--text-primary) !important;
}

[data-theme="tech"] .service-card p {
    color: var(--text-secondary) !important;
}

/* Tech theme comprehensive text fixes */
[data-theme="tech"] .news-title,
[data-theme="tech"] .section-title,
[data-theme="tech"] .feature-title,
[data-theme="tech"] .hero-title,
[data-theme="tech"] .hero-subtitle,
[data-theme="tech"] .about-text h3,
[data-theme="tech"] .about-text p,
[data-theme="tech"] .founder-name,
[data-theme="tech"] .founder-title,
[data-theme="tech"] .founder-bio,
[data-theme="tech"] .video-title,
[data-theme="tech"] .video-description,
[data-theme="tech"] .video-meta span,
[data-theme="tech"] .contact-details h4,
[data-theme="tech"] .contact-details p,
[data-theme="tech"] .footer-description,
[data-theme="tech"] .footer-stat .stat-label,
[data-theme="tech"] .footer-links a span,
[data-theme="tech"] .footer-contact-info span,
[data-theme="tech"] .form-label,
[data-theme="tech"] .news-summary,
[data-theme="tech"] .news-category,
[data-theme="tech"] .news-scroll-hint,
[data-theme="tech"] .nav-link,
[data-theme="tech"] .current-lang,
[data-theme="tech"] .mobile-lang-title,
[data-theme="tech"] .lang-option span,
[data-theme="tech"] .mobile-lang-option span,
[data-theme="tech"] h1, [data-theme="tech"] h2, [data-theme="tech"] h3, [data-theme="tech"] h4, [data-theme="tech"] h5, [data-theme="tech"] h6,
[data-theme="tech"] p, [data-theme="tech"] span, [data-theme="tech"] div, [data-theme="tech"] a, [data-theme="tech"] li {
    color: var(--text-primary) !important;
}

/* Tech theme additional specific fixes */
[data-theme="tech"] .footer-bottom p,
[data-theme="tech"] .footer-bottom span,
[data-theme="tech"] .copyright,
[data-theme="tech"] .footer-logo-text,
[data-theme="tech"] .video-views,
[data-theme="tech"] .video-date,
[data-theme="tech"] .video-category {
    color: var(--text-primary) !important;
}

[data-theme="tech"] .form-control {
    color: var(--text-primary) !important;
    background: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="tech"] .form-control::placeholder {
    color: var(--text-light) !important;
}

/* Tech theme stats visibility fix */
[data-theme="tech"] .footer-stats .stat-number {
    color: var(--text-primary) !important;
}

[data-theme="tech"] .footer-stats .stat-label {
    color: var(--text-secondary) !important;
}

/* Health theme text fixes */
[data-theme="health"] .news-title {
    color: var(--text-primary);
}

[data-theme="health"] .section-title {
    color: var(--text-primary);
}

[data-theme="health"] .feature-title {
    color: var(--text-primary);
}

[data-theme="health"] .form-control {
    color: var(--text-primary);
    background: var(--bg-primary);
}

[data-theme="health"] .form-control::placeholder {
    color: var(--text-light);
}

/* Tech theme button fixes */
[data-theme="tech"] .btn-primary {
    background: linear-gradient(135deg, #000000, #1a1a1a) !important;
    color: #ffffff !important;
    border: 2px solid #333333 !important;
}

[data-theme="tech"] .btn-primary:hover {
    background: linear-gradient(135deg, #1a1a1a, #333333) !important;
    color: #ffffff !important;
    border: 2px solid #555555 !important;
}

[data-theme="tech"] .btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

[data-theme="tech"] .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

[data-theme="tech"] .btn-secondary {
    background: linear-gradient(135deg, #6b46c1, #9333ea);
    color: #ffffff;
    border: 2px solid transparent;
}

[data-theme="tech"] .btn-secondary:hover {
    background: linear-gradient(135deg, #553c9a, #7e22ce);
}

/* News Section */
.news-section {
    background: var(--bg-secondary);
}

.news-slider-container {
    position: relative;
    overflow: hidden;
}

.news-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.news-slider::-webkit-scrollbar {
    height: 8px;
}

.news-slider::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.news-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.news-card {
    flex: 0 0 350px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.news-summary {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-category {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: block;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: scale(1.1);
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

/* Health theme footer */
[data-theme="health"] .footer {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

/* Tech theme footer */
[data-theme="tech"] .footer {
    background: #000000;
    border-top: 1px solid #333333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col-company {
    max-width: 350px;
}

.footer-stats {
    display: flex;
    gap: 2rem;
    margin: 1.5rem 0;
}

.footer-stat {
    text-align: center;
}

.footer-stat .stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.footer-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #d1d5db;
    margin-top: 0.25rem;
}

/* Tech theme footer stats */
[data-theme="tech"] .footer-stat .stat-number {
    color: #ffffff !important;
    font-weight: 700;
}

[data-theme="tech"] .footer-stat .stat-label {
    color: #d1d5db !important;
}

/* Health theme footer stats */
[data-theme="health"] .footer-stat .stat-number {
    color: var(--primary-color) !important;
    font-weight: 700;
}

[data-theme="health"] .footer-stat .stat-label {
    color: #d1d5db !important;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

/* Footer Contact Header with Admin Access */
.footer-contact-header {
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.footer-contact-header:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

.footer-contact-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-contact-header:hover::after {
    width: 100%;
}

/* Tech theme footer contact header */
[data-theme="tech"] .footer-contact-header:hover {
    color: #ffffff !important;
}

[data-theme="tech"] .footer-contact-header::after {
    background: #ffffff;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link a:hover {
    color: white;
    transform: translateX(5px);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-info {
    flex: 1;
    line-height: 1.5;
}

.footer-contact-info .contact-link {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-contact-info .contact-link:hover {
    color: var(--primary-color);
}

.footer-contact-info span {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Health theme footer contact */
[data-theme="health"] .footer-contact-icon {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Tech theme footer contact */
[data-theme="tech"] .footer-contact-icon {
    background: linear-gradient(135deg, #333333, #000000);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
    z-index: 10;
    font-size: 1rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

.footer-legal-links .separator {
    color: #64748b;
}

.footer-bottom p {
    margin: 0;
    font-weight: 500;
    color: #ffffff;
}

/* Tech theme footer bottom */
[data-theme="tech"] .footer-bottom {
    color: #ffffff;
    border-top: 1px solid #555;
}

[data-theme="tech"] .footer-bottom p {
    color: #ffffff;
}

/* Health theme footer bottom */
[data-theme="health"] .footer-bottom {
    color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

[data-theme="health"] .footer-bottom p {
    color: #ffffff;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 20%; right: 10%; animation-delay: 1s; }
.floating-icon:nth-child(3) { top: 40%; left: 15%; animation-delay: 2s; }
.floating-icon:nth-child(4) { top: 60%; right: 5%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 80%; left: 10%; animation-delay: 4s; }
.floating-icon:nth-child(6) { top: 30%; right: 20%; animation-delay: 5s; }
.floating-icon:nth-child(7) { top: 70%; left: 20%; animation-delay: 6s; }
.floating-icon:nth-child(8) { top: 50%; right: 15%; animation-delay: 7s; }
.floating-icon:nth-child(9) { top: 90%; right: 25%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* News Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 2rem;
}

.news-modal.show {
    opacity: 1;
    visibility: visible;
}

.news-modal-content {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.news-modal-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.news-modal-header {
    height: 300px;
    overflow: hidden;
}

.news-modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-modal-body {
    padding: 2rem;
}

.news-modal-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-modal-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-modal-category {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.news-modal-content {
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-weight: 500;
}

.notification-success {
    border-left: 4px solid var(--secondary-color);
}

.notification-success .notification-content i {
    color: var(--secondary-color);
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error .notification-content i {
    color: #ef4444;
}

.notification-warning {
    border-left: 4px solid #f59e0b;
}

.notification-warning .notification-content i {
    color: #f59e0b;
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-info .notification-content i {
    color: var(--primary-color);
}

/* Dark theme notification adjustments */
[data-theme="dark"] .notification {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .notification-content {
    color: var(--text-primary);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-color);
    margin-right: 1rem;
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: var(--transition);
}

/* Health theme specific styles */
[data-theme="health"] .theme-toggle {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

[data-theme="health"] .theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* Tech theme specific styles */
[data-theme="tech"] .theme-toggle {
    border-color: #666666;
    color: #ffffff;
}

[data-theme="tech"] .theme-toggle:hover {
    background: #666666;
    color: #000000;
}

/* VitaxTV Section */
.vitax-tv {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.vitax-tv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    pointer-events: none;
}

.vitax-tv .container {
    position: relative;
    z-index: 1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Single Video Container */
.single-video-container {
    max-width: 800px;
    margin: 0 auto;
}

.featured-video {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.featured-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.featured-video .video-thumbnail {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.featured-video .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-video:hover .video-thumbnail img {
    transform: scale(1.05);
}

.featured-video .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.featured-video:hover .play-overlay {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.featured-video .play-overlay i {
    font-size: 2rem;
    margin-left: 5px;
}

.featured-video .video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.featured-video .video-info {
    padding: 2rem;
}

.featured-video .video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-video .video-description {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.featured-video .video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.featured-video .video-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-video .video-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.stat-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.stat-item i {
    font-size: 1.1rem;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    z-index: 10;
    transition: var(--transition);
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav-item {
    list-style: none;
}

.nav-cta {
    margin-left: 0.25rem;
}

.nav-link.nav-link-cta {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px -18px rgba(59, 130, 246, 0.55);
    font-weight: 600;
}

.nav-link.nav-link-cta:hover,
.nav-link.nav-link-cta:focus-visible {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 20px 44px -16px rgba(37, 99, 235, 0.65);
}

.nav-link.nav-link-cta.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 22px 48px -18px rgba(37, 99, 235, 0.6);
}

[data-theme="tech"] .nav-link.nav-link-cta {
    background: linear-gradient(135deg, #6366f1, #14b8a6);
    box-shadow: 0 20px 42px -18px rgba(76, 29, 149, 0.65);
}

[data-theme="tech"] .nav-link.nav-link-cta.active,
[data-theme="tech"] .nav-link.nav-link-cta:hover,
[data-theme="tech"] .nav-link.nav-link-cta:focus-visible {
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}