/**
 * Modernized Main CSS for EEPrep - Navy Blue & Monochrome Theme
 * Core variables, typography, and global layouts
 * 
 * Note: CSS imports should be moved to HTML file instead
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url(responsive.css);
@import url(components.css);

/* ------------ Root Variables ------------ */
:root {
    /* Color palette */
    --primary-color: #1a365d; /* Navy blue primary */
    --primary-hover: #2c4c7c;
    --primary-light: rgba(26, 54, 93, 0.1);
    --secondary-color: #2d3748; /* Dark slate */
    --accent-color: #38b2ac; /* Teal accent */
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #e53e3e;
    
    /* Light theme colors */
    --bg-light: #ffffff;
    --text-light: #2d3748;
    --sidebar-bg-light: #1a365d;
    --sidebar-text-light: #ffffff;
    --card-bg-light: #ffffff;
    --border-light: #e2e8f0;
    --chat-user-bg-light: #ffffff;
    --chat-ai-bg-light: #f7fafc;
    
    /* Dark theme colors - Serene */
    --bg-dark: #1a2030; /* Softer navy-black */
    --text-dark: #e6edf3; /* Softer white text */
    --sidebar-bg-dark: #0f1a2a; /* Deep serene blue */
    --sidebar-text-dark: #f0f4f8; /* Gentle white */
    --card-bg-dark: #232a3b; /* Muted blue-gray */
    --border-dark: #3d4663; /* Softer borders */
    --chat-user-bg-dark: #1e2433; /* Subtle blue tint */
    --chat-ai-bg-dark: #283044; /* Subtle warm blue */
    --title-text-dark: #f0f7ff; /* Soft blue-white */
    
    /* Alternative dark accents - Serene palette */
    --primary-color-dark: #5e9de6; /* Serene blue */
    --accent-color-dark: #68d5ca; /* Calm teal */
    --link-color-dark: #7fb3ec; /* Gentle blue link */
    --muted-text-dark: #a8b9d0; /* Soft blue-gray */
    
    /* Dark mode shadows */
    --shadow-dark: 0 4px 15px rgba(0, 10, 32, 0.15);
    --shadow-lg-dark: 0 8px 30px rgba(0, 10, 32, 0.2);
    
    /* Default theme */
    --bg: var(--bg-light);
    --text: var(--text-light);
    --sidebar-bg: var(--sidebar-bg-light);
    --sidebar-text: var(--sidebar-text-light);
    --card-bg: var(--card-bg-light);
    --border: var(--border-light);
    --chat-user-bg: var(--chat-user-bg-light);
    --chat-ai-bg: var(--chat-ai-bg-light);
    
    /* UI elements */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 6px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Animation settings */
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing variables */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Typography */
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    
    /* Layout */
    --sidebar-width: 20%;
    --sidebar-collapsed-width: 5%;
    --container-max-width: 1400px;
    --content-padding-desktop: 2rem;
    --content-padding-tablet: 1.5rem;
    --content-padding-mobile: 1rem;
}

/* Dark theme settings - Enhanced & Serene */
[data-theme="dark"] {
    --bg: var(--bg-dark);
    --text: var(--text-dark);
    --sidebar-bg: var(--sidebar-bg-dark);
    --sidebar-text: var(--sidebar-text-dark);
    --card-bg: var(--card-bg-dark);
    --border: var(--border-dark);
    --chat-user-bg: var(--chat-user-bg-dark);
    --chat-ai-bg: var(--chat-ai-bg-dark);
    --title-text: var(--title-text-dark);
    --primary-color: var(--primary-color-dark);
    --accent-color: var(--accent-color-dark);
    --shadow: var(--shadow-dark);
    --shadow-lg: var(--shadow-lg-dark);
}

/* Dark mode text treatments */
[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] h5, 
[data-theme="dark"] h6 {
    color: var(--title-text-dark);
}

[data-theme="dark"] p {
    color: var(--text-dark);
}

[data-theme="dark"] a:not(.btn) {
    color: var(--link-color-dark);
}

/* Dark mode UI components - Serene styling */
[data-theme="dark"] .card {
    background: var(--card-bg-dark);
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 20px rgba(0, 10, 32, 0.18);
    backdrop-filter: blur(20px);
}

[data-theme="dark"] .feature-card {
    background: linear-gradient(145deg, rgba(35, 42, 59, 0.8), rgba(30, 36, 51, 1));
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .feature-card::before {
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
}

[data-theme="dark"] .site-header {
    background: rgba(26, 32, 48, 0.75);
    border-bottom: 1px solid rgba(61, 70, 99, 0.7);
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .section-header h2 {
    color: var(--title-text-dark);
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .section-header h2::after {
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
}

[data-theme="dark"] .hero-title .accent {
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .hero-title .accent::after {
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
}

[data-theme="dark"] .hero-section::before {
    background: 
        radial-gradient(circle at 10% 20%, rgba(94, 157, 230, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 90% 80%, rgba(104, 213, 202, 0.08) 0%, transparent 60%);
}

[data-theme="dark"] .alt-section {
    background: linear-gradient(to right, rgba(94, 157, 230, 0.03), rgba(26, 32, 48, 0));
}

/* New serene styles for dark mode */
[data-theme="dark"] body {
    background-image: radial-gradient(circle at 80% 20%, rgba(94, 157, 230, 0.03) 0%, transparent 25%),
                      radial-gradient(circle at 20% 80%, rgba(104, 213, 202, 0.03) 0%, transparent 25%);
}

[data-theme="dark"] .footer-nav a {
    color: rgba(240, 244, 248, 0.7);
}

[data-theme="dark"] .footer-nav a:hover {
    color: var(--accent-color-dark);
}

[data-theme="dark"] .footer-social a {
    background: rgba(240, 244, 248, 0.08);
}

[data-theme="dark"] .footer-social a:hover {
    background: rgba(94, 157, 230, 0.3);
}

[data-theme="dark"] .modern-logo {
    box-shadow: 0 2px 15px rgba(94, 157, 230, 0.2);
}

[data-theme="dark"] .card-icon {
    background: linear-gradient(135deg, var(--primary-color-dark), rgba(94, 157, 230, 0.8));
}

[data-theme="dark"] .btn-primary {
    background: linear-gradient(to right, var(--primary-color-dark), rgba(104, 213, 202, 0.9));
}

[data-theme="dark"] .btn-primary:hover {
    background: linear-gradient(to right, rgba(94, 157, 230, 0.9), var(--accent-color-dark));
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(94, 157, 230, 0.6);
    color: var(--primary-color-dark);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a2642, #1a3449);
}

[data-theme="dark"] .cta-section::before {
    background: radial-gradient(circle, rgba(94, 157, 230, 0.15), transparent 70%);
}

[data-theme="dark"] .hero-image::after {
    background: linear-gradient(to right, rgba(94, 157, 230, 0.15), rgba(104, 213, 202, 0.15));
}

/* Subtle text effect for dark mode */
[data-theme="dark"] .hero-subtitle {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Add subtle frost effect to certain containers in dark mode */
[data-theme="dark"] .content-container {
    background: linear-gradient(180deg, rgba(35, 42, 59, 0.01), rgba(26, 32, 48, 0));
}

/* Dark mode refinements - Additional polish */
[data-theme="dark"] .view-all {
    color: var(--primary-color-dark);
}

[data-theme="dark"] .view-all:hover {
    color: var(--accent-color-dark);
}

[data-theme="dark"] .card-link {
    color: var(--primary-color-dark);
}

[data-theme="dark"] .card-link:hover {
    color: var(--accent-color-dark);
}

/* Enhance dark mode header navigation */
[data-theme="dark"] .header-nav-item::after {
    background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark));
}

[data-theme="dark"] .header-nav-item:hover {
    color: var(--primary-color-dark);
}

/* Dark mode specific scrollbar */
[data-theme="dark"] {
    scrollbar-color: var(--border-dark) var(--bg-dark);
}

[data-theme="dark"]::-webkit-scrollbar {
    width: 14px;
}

[data-theme="dark"]::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

[data-theme="dark"]::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border: 3px solid var(--bg-dark);
    border-radius: 10px;
}

[data-theme="dark"]::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-dark);
}

/* Dark mode form elements */
[data-theme="dark"] input, 
[data-theme="dark"] textarea, 
[data-theme="dark"] select {
    background-color: rgba(35, 42, 59, 0.8);
    border-color: var(--border-dark);
    color: var(--text-dark);
}

[data-theme="dark"] input:focus, 
[data-theme="dark"] textarea:focus, 
[data-theme="dark"] select:focus {
    border-color: var(--primary-color-dark);
    box-shadow: 0 0 0 2px rgba(94, 157, 230, 0.2);
}

/* Dark mode code snippets */
[data-theme="dark"] pre, 
[data-theme="dark"] code {
    background-color: #1d2433;
    border-color: #2c3547;
    color: #e2e8f0;
}

/* Ensure animations work well in dark mode */
[data-theme="dark"] .hero-image img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

/* ------------ Content Layout ------------ */
.content-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 1rem var(--content-padding-desktop);
    width: 100%;
    box-sizing: border-box;
}

.content-section {
    padding: 3rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
}

.content-section:last-child {
    border-bottom: none;
    padding-bottom: 4rem;
}

/* ------------ Footer Styles ------------ */
.site-footer {
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding: var(--space-12) 0 var(--space-8);
    position: relative;
    overflow: hidden;
    transition: margin-left 0.3s var(--bounce), width 0.3s var(--bounce);
    z-index: 50;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    box-sizing: border-box;
}

body.sidebar-collapsed .site-footer {
    margin-left: var(--sidebar-collapsed-width);
    width: calc(100% - var(--sidebar-collapsed-width));
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-8);
    max-width: 100%;
    box-sizing: border-box;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-title {
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
    position: relative;
    display: inline-block;
    color: var(--footer-heading, #ffffff);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 0;
}

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-sm);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ------------ Modern Logo Styles ------------ */
.modern-logo {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.3), 0 0 0 1px rgba(26, 54, 93, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--bounce), box-shadow 0.3s ease;
}

.modern-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.modern-logo:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.4), 0 0 0 1px rgba(26, 54, 93, 0.5);
}

.modern-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(45deg) translateX(-150%);
    transition: 0.5s;
}

.modern-logo:hover::after {
    transform: skewX(45deg) translateX(150%);
}

.header-logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
}

.logo-text {
    font-weight: 600;
    font-size: 1.125rem;
}

/* ------------ Card Components ------------ */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card h2, .card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.card p {
    margin-bottom: 1.25rem;
    color: var(--text);
    opacity: 0.9;
}

/* ------------ Section Styling ------------ */
.alt-section {
    background: linear-gradient(to right, var(--primary-light), rgba(26, 54, 93, 0.05));
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.section-header h2 {
    font-size: var(--font-3xl);
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: var(--radius-full);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.section-header.centered h2::after {
    left: 50%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s var(--bounce);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    background: var(--primary-color);
    position: relative;
    transition: transform 0.3s var(--bounce);
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.25rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.card-link:hover {
    color: var(--primary-hover);
    transform: translateX(3px);
}

/* ------------ Button Styles ------------ */
button, .btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button::after, .btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.5s;
    z-index: -1;
}

button:hover::after, .btn:hover::after {
    left: 100%;
}

button:hover, .btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

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

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

/* ------------ CTA Section ------------ */
.cta-section {
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #2b6cb0);
    color: white;
    text-align: center;
    margin-bottom: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    left: -150px;
    border-radius: 50%;
    filter: blur(30px);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

/* ------------ Header Styles ------------ */
.site-header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(229, 231, 235, 0.7);
    transition: all 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(52, 53, 65, 0.8);
    border-bottom: 1px solid rgba(86, 88, 105, 0.7);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav-item {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.header-nav-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.header-nav-item:hover {
    color: var(--primary-color);
}

.header-nav-item:hover::after,
.header-nav-item.active::after {
    width: 100%;
}

/* ------------ Animations ------------ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* Apply animations */
.content-section {
    animation: fadeIn 0.8s var(--ease) forwards;
}

.hero-content {
    animation: slideIn 0.8s var(--ease) forwards;

/* Ensure responsive images */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}
}