/* style.css - COMPLETE STYLES FOR QUOTE WEBSITE */

/* ==================== CSS RESET & BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Defaults */
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #bdc3c7;
    --background: #ffffff;
    --surface: #f8f9fa;
    --text: #2c3e50;
    --text-secondary: #7f8c8d;
    --border: #dfe6e9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}

[data-theme="dark"] {
    --primary: #3498db;
    --secondary: #2ecc71;
    --accent: #e74c3c;
    --background: #1a1a2e;
    --surface: #16213e;
    --text: #ecf0f1;
    --text-secondary: #95a5a6;
    --border: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn i {
    font-size: 1.1em;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--surface);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header {
    background-color: var(--surface);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-link i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle i {
    font-size: 0.8em;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface);
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--background);
    color: var(--secondary);
}

/* Nav Controls */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-input {
    padding: 10px 10px 10px 40px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--text);
    width: 200px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
    width: 250px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--background);
    transform: rotate(15deg);
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface);
    border-radius: 50%;
    color: var(--text);
    transition: var(--transition);
}

.user-icon:hover {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==================== CONTENT SECTION ==================== */
.content-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Type Toggle */
.type-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.type-btn:hover,
.type-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-box input {
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--surface);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Text Quote Card */
.quote-card {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
}

.quote-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.quote-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    position: relative;
    padding-left: 1rem;
}

.quote-text::before {
    content: '"';
    position: absolute;
    left: -10px;
    top: -10px;
    font-size: 3rem;
    color: var(--secondary);
    opacity: 0.3;
    font-family: var(--font-heading);
}

.quote-author-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.quote-author {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1rem;
}

.quote-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.quote-category {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--background);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.quote-stats {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stat-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.like-btn.liked {
    color: var(--accent);
    border-color: var(--accent);
}

.like-btn.liked i {
    color: var(--accent);
}

/* Image Quote Card */
.image-quote-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background-color: var(--surface);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.image-quote-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.image-quote-card:hover .image-quote-img {
    transform: scale(1.05);
}

.image-quote-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    transition: var(--transition);
}

.image-quote-content {
    color: white;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.image-quote-card:hover .image-quote-content {
    transform: translateY(0);
    opacity: 1;
}

.image-quote-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.image-quote-author {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.image-quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.image-quote-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.image-quote-stats {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.image-quote-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Loading State */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.loading-state i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.loading-state p {
    color: var(--text-secondary);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

#loadMoreBtn {
    padding: 12px 32px;
}

/* ==================== MODALS ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    margin: 0;
    color: var(--text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
    background-color: var(--background);
}

.modal-body {
    padding: 2rem;
}

.random-quote {
    text-align: center;
    margin-bottom: 2rem;
}

.random-quote .quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.3;
}

.random-quote p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text);
    margin: 1rem 0;
    font-style: italic;
}

.random-quote-author {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Upload Modal Forms */
.upload-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.upload-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.upload-tab:hover,
.upload-tab.active {
    background-color: var(--surface);
    color: var(--secondary);
}

.upload-form {
    display: none;
}

.upload-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.form-group textarea,
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea:focus,
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--secondary);
    background-color: rgba(52, 152, 219, 0.1);
}

.upload-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.upload-note {
    font-size: 0.9rem;
    color: var(--light-gray);
    margin-top: 1rem;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--background);
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-remove {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    background-color: var(--error);
}

/* ==================== IMAGE MODAL ==================== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-modal-content {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    position: relative;
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.image-modal-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 100%;
}

.image-modal-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.image-modal-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal-main img.loaded {
    opacity: 1;
}

.image-loader {
    position: absolute;
    color: white;
    font-size: 2rem;
}

.image-modal-info {
    padding: 2rem;
    overflow-y: auto;
    background-color: var(--surface);
}

.image-info-header {
    margin-bottom: 1.5rem;
}

.image-info-header h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.image-stats {
    display: flex;
    gap: 1.5rem;
}

.image-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.image-stat i {
    color: var(--secondary);
}

.image-description {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.image-description p {
    color: var(--text);
    line-height: 1.6;
}

.image-quote {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
}

.image-quote i {
    color: var(--secondary);
    opacity: 0.5;
    font-size: 1.5rem;
}

.image-quote p {
    font-style: italic;
    margin: 1rem 0;
    color: var(--text);
}

.quote-author {
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 0.5rem;
}

.image-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.image-tag {
    padding: 6px 12px;
    background-color: var(--background);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.85rem;
    transition: var(--transition);
    cursor: pointer;
}

.image-tag:hover {
    background-color: var(--secondary);
    color: white;
}

.image-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.image-actions .btn {
    flex: 1;
}

.image-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.author-info {
    flex: 1;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.upload-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.image-modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--surface);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.newsletter-text {
    text-align: left;
}

.newsletter-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.newsletter-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    position: relative;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Newsletter Message */
.newsletter-message-standalone {
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-top: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.newsletter-message-standalone.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.newsletter-message-standalone.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

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

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 80px 0;
    background-color: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--surface);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    font-size: 2rem;
    color: var(--secondary);
}

.footer-brand .logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom i {
    margin: 0 5px;
}

/* ==================== NOTIFICATION SYSTEM ==================== */
.notification-system {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.notification-item {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: slideInRight 0.3s ease;
    transition: var(--transition);
}

.notification-item.hiding {
    animation: slideOutRight 0.3s ease;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-item.success {
    border-left-color: var(--success);
}

.notification-item.error {
    border-left-color: var(--error);
}

.notification-item.warning {
    border-left-color: var(--warning);
}

.notification-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.notification-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.notification-btn.secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.notification-close:hover {
    background-color: var(--background);
    color: var(--text);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* ==================== READING PROGRESS ==================== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-link.active::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: var(--background);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .search-input {
        width: 150px;
    }

    .search-input:focus {
        width: 180px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-modal-container {
        grid-template-columns: 1fr;
    }
    
    .image-modal-main {
        height: 60vh;
    }
    
    .image-modal-info {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem;
        min-width: calc(50% - 0.5rem);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal-content {
        margin: 20px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .image-actions {
        flex-direction: column;
    }
    
    .image-actions .btn {
        width: 100%;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .type-toggle {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stat-item {
        min-width: 100%;
    }

    .input-group {
        flex-direction: column;
    }

    .search-input {
        width: 120px;
    }

    .search-input:focus {
        width: 150px;
    }

    .notification-system {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .image-modal {
        padding: 10px;
    }
    
    .image-modal-content {
        height: 95vh;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

/* Content card animations */
.quote-card,
.image-quote-card {
    animation: slideInUp 0.5s ease forwards;
    animation-delay: calc(var(--item-index) * 0.1s);
    opacity: 0;
}

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

/* Fix for animation black screen issue */
.quote-card,
.image-quote-card {
    animation: none !important;
    will-change: transform, opacity;
}

/* Override any problematic animations */
@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card.show,
.image-quote-card.show {
    animation: simpleFadeIn 0.3s ease forwards;
}

/* Ensure images load properly */
.image-quote-img {
    background-color: var(--surface);
    min-height: 200px;
}

/* Fix for loading states */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-state i {
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Like button animation */
.like-btn.liked i {
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
/* SIMPLE FIXES - Add at the end of style.css */

/* Remove all problematic animations */
.quote-card,
.image-quote-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Simple like button */
.like-btn {
    background: none;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 5px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.like-btn.liked {
    border-color: var(--accent);
    color: var(--accent);
}

.like-btn.liked i {
    color: var(--accent);
}

/* Remove complex animations */
.fade-in-up,
.slideInUp {
    animation: none !important;
}

/* Simple loading */
.loading-state {
    padding: 50px;
    text-align: center;
    color: var(--secondary);
}

/* Simple error */
.error {
    padding: 50px;
    text-align: center;
    color: var(--error);
    border: 2px solid var(--error);
    border-radius: 10px;
    margin: 20px;
}

/* Simple empty */
.empty {
    padding: 50px;
    text-align: center;
    color: var(--text-secondary);
}
/* ==================== FIXES FOR WORKING SYSTEM ==================== */

/* Prevent double-clicking on like buttons */
.like-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Smooth like button transitions */
.like-btn i {
    transition: all 0.2s ease;
}

.like-btn.liked {
    border-color: var(--accent) !important;
}

.like-btn.liked i {
    color: var(--accent) !important;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Remove problematic animations */
.quote-card,
.image-quote-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Ensure images load properly */
.image-quote-img {
    background-color: var(--surface);
    min-height: 200px;
    object-fit: cover;
}

/* Loading state */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-state i {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Error state */
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--error);
}

.error-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Empty state */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray);
}

/* Simple fade-in for cards */
@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-card,
.image-quote-card {
    animation: simpleFadeIn 0.3s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.05s);
    opacity: 0;
}
/* ==================== UPLOAD STYLES ==================== */

.upload-form {
    max-width: 600px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--surface);
    margin-bottom: 1.5rem;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--secondary);
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-remove {
    background: var(--error);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Upload tabs */
.upload-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
}

.upload-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upload-tab:hover {
    background: var(--surface);
    color: var(--text);
}

.upload-tab.active {
    background: var(--secondary);
    color: white;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Required field indicator */
.form-group label::after {
    content: ' *';
    color: var(--accent);
    opacity: 0.7;
}

/* Upload button in hero */
#uploadButton {
    display: inline-flex !important;
}
/* ==================== UPLOAD PAGE STYLES ==================== */

/* Upload tabs container */
.upload-tabs-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Upload tabs */
.upload-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 1rem;
}

.upload-tab {
    flex: 1;
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.upload-tab:hover {
    background: var(--background);
    color: var(--text);
}

.upload-tab.active {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Upload forms */
.upload-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.upload-form.active {
    display: block;
}

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

/* Form actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.form-actions .btn {
    min-width: 150px;
}

/* Admin alert */
.admin-alert {
    background: linear-gradient(135deg, var(--surface), var(--background));
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.2); }
    70% { box-shadow: 0 0 0 10px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.alert-content i {
    font-size: 3rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.alert-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.alert-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Upload guidelines */
.upload-guidelines {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid var(--border);
}

.upload-guidelines h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guideline {
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}

.guideline:hover {
    transform: translateY(-5px);
}

.guideline i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.guideline h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.guideline p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Success modal */
.success-message {
    text-align: center;
    padding: 1rem;
}

.success-message i {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Upload area enhancements */
.upload-area {
    text-align: center;
    padding: 3rem 2rem;
    border: 3px dashed var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--secondary);
    background: rgba(52, 152, 219, 0.05);
    transform: translateY(-2px);
}

.upload-area h3 {
    margin: 1rem 0 0.5rem;
    color: var(--text);
}

.upload-area p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.upload-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    opacity: 0.7;
}

/* Preview grid */
.upload-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--background);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-5px);
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

.preview-remove {
    background: var(--error);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Responsive design for upload page */
@media (max-width: 768px) {
    .upload-tabs-container {
        padding: 1.5rem;
    }
    
    .upload-tabs {
        flex-direction: column;
    }
    
    .upload-tab {
        padding: 12px 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .alert-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}
/* ==================== ENHANCED NAVIGATION STYLES ==================== */

/* User Dropdown Menu */
.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--surface);
    min-width: 280px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 10px;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* User Info in Dropdown */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.5rem;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-details {
    flex: 1;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.user-status {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Dropdown items in user menu */
.user-dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.user-dropdown-menu .dropdown-item:hover {
    background-color: var(--background);
    color: var(--secondary);
    border-left-color: var(--secondary);
    padding-left: 1.7rem;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.user-dropdown-menu .dropdown-item:hover i {
    color: var(--secondary);
}

.logout-item {
    color: var(--error) !important;
}

.logout-item:hover {
    background-color: rgba(231, 76, 60, 0.1) !important;
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background-color: var(--border);
    margin: 0.5rem 0;
}

/* Enhanced dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: var(--background);
    color: var(--secondary);
    border-left-color: var(--secondary);
    padding-left: 19px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.dropdown-item:hover i {
    color: var(--secondary);
}

/* Enhanced nav links with icons */
.nav-link i {
    margin-right: 8px;
    font-size: 0.95em;
    width: 20px;
    text-align: center;
}

/* Active state for nav items */
.nav-link.active {
    color: var(--text);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 3px 3px 0 0;
}

/* Search input enhancement */
.search-input {
    padding: 10px 10px 10px 40px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background-color: var(--background);
    color: var(--text);
    width: 200px;
    transition: var(--transition);
    font-size: 0.95rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary);
    width: 250px;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Theme toggle enhancement */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background-color: var(--background);
    transform: rotate(15deg);
}

/* User icon enhancement */
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--surface);
    border-radius: 50%;
    color: var(--text);
    transition: var(--transition);
    text-decoration: none;
}

.user-icon:hover {
    background-color: var(--secondary);
    color: white;
    transform: scale(1.1);
}

/* Admin badge in user icon */
.user-icon.admin {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    position: relative;
}

.user-icon.admin::after {
    content: '👑';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;
    background: var(--surface);
    border-radius: 50%;
    padding: 2px;
    box-shadow: var(--shadow);
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        box-shadow: var(--shadow);
        padding: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-link.active::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: var(--background);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 1.5rem;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .user-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin-top: 0;
        transform: translateY(100%);
    }

    .user-dropdown.active .user-dropdown-menu {
        transform: translateY(0);
    }

    .search-input {
        width: 150px;
    }

    .search-input:focus {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .search-input {
        width: 120px;
    }

    .search-input:focus {
        width: 150px;
    }

    .nav-logo .logo-text {
        font-size: 1.2rem;
    }

    .user-dropdown-menu {
        min-width: auto;
    }
}

/* Animation for dropdown items */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-item {
    animation: slideInRight 0.2s ease forwards;
    opacity: 0;
}

.dropdown-item:nth-child(1) { animation-delay: 0.05s; }
.dropdown-item:nth-child(2) { animation-delay: 0.1s; }
.dropdown-item:nth-child(3) { animation-delay: 0.15s; }
.dropdown-item:nth-child(4) { animation-delay: 0.2s; }
.dropdown-item:nth-child(5) { animation-delay: 0.25s; }
.dropdown-item:nth-child(6) { animation-delay: 0.3s; }
.dropdown-item:nth-child(7) { animation-delay: 0.35s; }
.dropdown-item:nth-child(8) { animation-delay: 0.4s; }

/* Navbar scroll effect */
.header.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: var(--surface);
    backdrop-filter: blur(10px);
}

/* Logo animation */
.logo-link {
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-link i {
    transition: var(--transition);
}

.logo-link:hover i {
    transform: rotate(-15deg);
    color: var(--accent);
}
/* QUICK FIX FOR SMALL IMAGES */
.image-quote-img {
    height: 300px !important;
    min-height: 300px !important;
    object-fit: cover !important;
    width: 100% !important;
}

.image-quote-card {
    min-height: 400px !important;
    overflow: hidden !important;
}

.image-quote-overlay {
    height: 120px !important;
    display: flex !important;
    align-items: flex-end !important;
}
:root {
    /* Gift Kapokola Brand Colors */
    --primary: #F86D2A; /* Orange - Primary brand color */
    --secondary: #2C3E50; /* Dark Blue - Secondary color */
    --accent: #E74C3C; /* Red - Accent color */
    --success: #27AE60; /* Green */
    --warning: #F39C12; /* Yellow */
    --error: #E74C3C; /* Red */
    --light: #ECF0F1;
    --dark: #2C3E50;
    --gray: #7F8C8D;
    --light-gray: #BDC3C7;
    --background: #FFFFFF;
    --surface: #F8F9FA;
    --text: #2C3E50;
    --text-secondary: #7F8C8D;
    --border: #DFE6E9;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}

[data-theme="dark"] {
    --primary: #F86D2A;
    --secondary: #3498DB;
    --accent: #E74C3C;
    --background: #1A1A2E;
    --surface: #16213E;
    --text: #ECF0F1;
    --text-secondary: #95A5A6;
    --border: #2C3E50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}
/* Share Modal Styles */
.share-preview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.share-url-input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.input-group {
    display: flex;
    gap: 10px;
}

.social-share-buttons {
    margin: 25px 0;
}

.social-share-buttons h4 {
    margin-bottom: 15px;
    color: var(--text);
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-share-btn {
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-share-btn.facebook {
    background: #4267B2;
    color: white;
}

.social-share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.social-share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-share-btn.pinterest {
    background: #E60023;
    color: white;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Image Share Button */
.image-share-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    opacity: 0;
}

.image-quote-card:hover .image-share-btn {
    opacity: 1;
}

.image-share-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Text Quote Share Button */
.quote-stats .share-btn {
    background: none;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 5px 15px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.quote-stats .share-btn:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: var(--background);
}
/* ==================== UPDATED HERO SECTION ==================== */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #2C3E50 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.hero-badge i {
    color: #FFD700;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title-main {
    display: block;
    font-weight: 700;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.btn-hero.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.feature i {
    color: #2ecc71;
}

/* ==================== REAL-TIME STATISTICS GRID ==================== */
.hero-stats-grid {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-header h3 {
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.stats-update {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-card-primary {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.2));
    border-color: rgba(52, 152, 219, 0.3);
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.2));
    border-color: rgba(46, 204, 113, 0.3);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-card-primary .stat-icon {
    background: rgba(52, 152, 219, 0.3);
}

.stat-card-highlight .stat-icon {
    background: rgba(46, 204, 113, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-up {
    color: #2ecc71;
}

.trend-down {
    color: #e74c3c;
}

.trend-neutral {
    color: rgba(255, 255, 255, 0.6);
}

.stat-breakdown {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.stats-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.stats-countries {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-label {
    color: rgba(255, 255, 255, 0.7);
}

.country-flag {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.country-flag:hover {
    transform: scale(1.2);
}

.more-countries {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.stats-update-time {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== HERO BACKGROUND ELEMENTS ==================== */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-quote {
    position: absolute;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

.bg-quote:nth-child(1) {
    top: 10%;
    left: 5%;
    transform: rotate(-15deg);
}

.bg-quote:nth-child(2) {
    bottom: 10%;
    right: 5%;
    transform: rotate(15deg);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    z-index: 1;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title-sub {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-sub {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-title-sub {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-stats-grid {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title-sub {
        font-size: 1.4rem;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}