
:root {
    --primary-color: #00BFA6;
    --secondary-color: #0077B6;
    --dark-navy: #023E8A;
    --text-color: #222222;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === NAVIGATION BAR === */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

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

/* === BUTTONS === */
.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
}

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

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

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

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-submit {
    background: var(--success);
}

.btn-submit:hover {
    background: #218838;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.9), rgba(0, 119, 182, 0.9)),
                url('../images/hero-bg.jpg') center/cover;
    color: var(--bg-white);
    text-align: center;
    padding: 4rem 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 191, 166, 0.85), rgba(0, 119, 182, 0.85));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

/* Fade-in animation */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

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

/* === SECTIONS === */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* === CATEGORIES SECTION === */
.categories {
    background: var(--bg-white);
}

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

.category-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--bg-white);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === FUNDRAISERS SECTION === */
.fundraiser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.fundraiser-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.fundraiser-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.fundraiser-card:hover .fundraiser-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-white);
}

.category-badge.medical {
    background: #E74C3C;
}

.category-badge.education {
    background: #3498DB;
}

.category-badge.animals {
    background: #F39C12;
}

.category-badge.environment {
    background: #27AE60;
}

.category-badge.memorial {
    background: #9B59B6;
}

.fundraiser-content {
    padding: 1.5rem;
}

.fundraiser-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.fundraiser-creator {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.fundraiser-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

/* === PROGRESS BAR === */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1.5s ease-out;
    width: 0;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* === HOW IT WORKS SECTION === */
.how-it-works {
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 2rem;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 3rem auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-light);
}

/* === FOOTER === */
.footer {
    background: var(--text-color);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

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

.modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 1rem;
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.modal-footer-text {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-light);
}

.modal-footer-text a {
    color: var(--primary-color);
    font-weight: 600;
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

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

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

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* === CREATE FUNDRAISER PAGE === */
.create-fundraiser {
    min-height: 80vh;
    padding: 3rem 0;
}

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

.create-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 100%;
    width: 100px;
    height: 2px;
    background: var(--border-color);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: var(--transition);
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.create-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-step h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.form-navigation {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.file-upload-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    margin-top: 1rem;
    text-align: center;
}

.image-preview img {
    max-width: 300px;
    border-radius: 8px;
    margin: 0 auto;
}

.success-icon {
    text-align: center;
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* === CAMPAIGN PAGE === */
.campaign-banner {
    height: 400px;
    overflow: hidden;
}

.campaign-banner-image {
    width: 100%;
    height: 100%;
}

.campaign-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.campaign-details {
    padding: 3rem 0;
}

.campaign-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.campaign-header {
    margin-bottom: 2rem;
}

.campaign-header h1 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.campaign-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.campaign-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.campaign-story,
.campaign-updates,
.campaign-donors {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.campaign-story h2,
.campaign-updates h2,
.campaign-donors h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.campaign-story p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.campaign-story ul {
    margin: 1rem 0 1rem 2rem;
    list-style: disc;
}

.campaign-story ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.update-item {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 8px;
}

.update-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

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

.donor-list {
    margin-bottom: 1rem;
}

.donor-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.donor-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.donor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.donor-amount {
    color: var(--primary-color);
    font-weight: 600;
}

.donor-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

.campaign-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    margin-bottom: 1.5rem;
}

.campaign-stats-large {
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.progress-bar.large {
    height: 12px;
    margin-bottom: 1.5rem;
}

.campaign-meta-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-stat strong {
    font-size: 1.5rem;
    color: var(--text-color);
}

.meta-stat span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.share-btn {
    padding: 0.75rem;
    border-radius: 8px;
    color: var(--bg-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook {
    background: #1877F2;
}

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

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

.share-btn.linkedin {
    background: #0A66C2;
}

.share-btn.email {
    background: #EA4335;
}

.share-btn.link {
    background: var(--text-color);
}

.organizer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.organizer-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.organizer-details {
    display: flex;
    flex-direction: column;
}

.organizer-details strong {
    font-size: 1.1rem;
}

.organizer-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.verified {
    color: var(--success);
    font-weight: 600;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-white);
}

/* === DASHBOARD PAGE === */
.dashboard-page {
    background: var(--bg-light);
}

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 280px;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.user-info span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.sidebar-link i {
    font-size: 1.2rem;
    width: 24px;
}

.sidebar-link.logout {
    color: var(--danger);
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.dashboard-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: var(--text-light);
}

.btn-mobile-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
}

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

.stat-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--bg-white);
}

.stat-icon.blue {
    background: linear-gradient(135deg, #667EEA, #764BA2);
}

.stat-icon.green {
    background: linear-gradient(135deg, #11998E, #38EF7D);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #F2994A, #F2C94C);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #A770EF, #CF8BF3);
}

.stat-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.neutral {
    color: var(--text-light);
}

.dashboard-section {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.5rem;
}

.campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campaign-item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

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

.campaign-item-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.campaign-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-white);
}

.status-badge.active {
    background: var(--success);
}

.status-badge.completed {
    background: var(--secondary-color);
}

.campaign-item-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.campaign-category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.campaign-item-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.1rem;
    color: var(--text-color);
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.campaign-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-left: 3px solid var(--border-color);
    background: var(--bg-light);
    border-radius: 8px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1rem;
}

.activity-icon.donation {
    background: var(--danger);
}

.activity-icon.share {
    background: var(--secondary-color);
}

.activity-icon.milestone {
    background: var(--warning);
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin-bottom: 0.25rem;
}

.activity-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .campaign-layout {
        grid-template-columns: 1fr;
    }

    .campaign-sidebar {
        position: static;
    }

    .dashboard-sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1000;
        transition: var(--transition);
    }

    .dashboard-sidebar.active {
        transform: translateX(0);
    }

    .btn-mobile-menu {
        display: block;
    }

    .campaign-item {
        grid-template-columns: 1fr;
    }

    .campaign-item-actions {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

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

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

    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-step::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .campaign-banner {
        height: 250px;
    }

    .campaign-header h1 {
        font-size: 1.8rem;
    }

    .share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .create-form {
        padding: 1.5rem;
    }
}


.auth-links {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;             
  align-items: center;
  text-align: center;
}

.link-btn {
  margin-left: 4px;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.link-btn:hover {
  text-decoration: underline;
}

.forgot-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}

.forgot-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}


